Releases: timostamm/protobuf-ts
v2.6.0
New Features:
-
Add ability to pass grpc-js MetadataOptions to GrpcOptions in @protobuf-ts/grpc-transport #261
Thanks to @kskalski for the contribution! -
export createDefinition from @protobuf-ts/grpc-backend #307
Thanks to @eyalpost for the contribution! -
Treat null values the same as undefined when generating protobuf messages #299
Thanks to @markh123 for the contribution! -
Use Promise as return type for call.then() #308
This release is available on the BSR.
v2.5.0
New Features:
-
Added disable_service_types option for disabling service metadata generation, see #268
Thanks to @ColinLaws for the contribution! -
Change dependency behavior for well-known types.
If you have been using the optiongenerate_dependencies
, you can probably remove it now!
See #258 for details.
Bug fixes:
- Fix line breaks in header comments, see #289
Thanks to @RyotaSugawara for the fix! - Avoid cyclic import in binary format contract, see #271
- Use type import in grpc server, see #264
Project maintenance:
- Support go 1.18 in build #263
This release is available on the BSR.
v2.4.0
v2.3.0
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
New features:
- Add the plugin option
ts_nocheck
to support most strict compiler options in userspace, see #152. - The new plugin option
add_pb_suffix
adds the suffix_pb
to all file names, see #186. - Add service/method name to RpcError, see #197
Thanks to @jcready for the contribution. - Support JavaScript output via plugin option
output_javascript
, see #200.
Bug fixes:
- Use TextDecoder API for decoding UTF-8 from binary data, see #184.
We have been using protobuf.js' algorithm to decode UTF-8, but it has had bugs
in the past. For best possible compatibility, we have switched to the TextDecoder API.
See MANUAL for details.
This release is available on the BSR.
v2.2.0-alpha.0
New features:
- Add the plugin option
ts_nocheck
to support most strict compiler options in userspace, see #152. - The new plugin option
add_pb_suffix
adds the suffix_pb
to all file names, see #186. - Add service/method name to RpcError, see #197
Thanks to @jcready for the contribution. - Support JavaScript output via plugin option
output_javascript
, see #200.
Bug fixes: