thesayyn / protoc-gen-ts

Compile protocol buffer messages to TypeScript.
MIT License
362 stars 75 forks source link

[1.0] Moving away from JavaScript implementation #255

Open thesayyn opened 9 months ago

thesayyn commented 9 months ago

What is happening with Rust implementation

In summary, protoc-gen-ts continues to generate TypeScript code from proto files. However, there has been a shift from TypeScript to Rust in the project. This change is explained in more detail in the accompanying issue for the switch, citing reasons for the transition.

Implementation of protoc-gen-ts in JavaScript

Implementation of protoc-gen-ts in Rust

[!CAUTION] However, the protoc-gen-ts using Rust as its programming language should not affect the users, they will continue installing the plugin protoc-gen-ts. But beware that protoc-gen-ts switching to Rust changed the emitted code in number of ways, please try the new plugin and report the issues back.

thesayyn commented 9 months ago

Rolling releases of protoc-gen-ts with Rust can be found here: https://github.com/thesayyn/protoc-gen-ts/pkgs/npm/protoc-gen-ts