Protobuf Ts Versions Save

Protobuf and RPC for TypeScript

v2.6.0

2 years ago

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

2 years ago

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 option generate_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

2 years ago

New Features:

  • Add option eslint_disable, which generates a comment /* eslint-disable */ at the top of each file, see #256

Bug fixes:

  • Make sure to add non-default longtype to map field info, see #260

This release is available on the BSR.

v2.3.0

2 years ago

New Features:

This release is available on the BSR.

v2.2.4

2 years ago

New Features:

  • Relax angular version constraints in runtime-angular, see #246

This release is available on the BSR.

v2.2.3

2 years ago

Bug fixes:

  • Improved compatibility of grpcweb-transport with TypeScript >= 4.1.5 and skipLibCheck=false, see #248

This release is available on the BSR.

v2.2.2

2 years ago

New Features:

  • For generic servers, support custom contexts, see #201.
    Thanks to @be9 for the contribution.

This release is available on the BSR.

v2.2.1

2 years ago

Bug fixes:

  • server_generic option stopped working, see #202.
    Thanks to @sessfeld for the contribution.

This release is available on the BSR.

v2.2.0

2 years ago

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

2 years ago

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.