github timostamm/protobuf-ts v2.2.0

latest releases: v2.11.1, v2.11.0, v2.10.0...
3 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.

Don't miss a new protobuf-ts release

NewReleases is sending notifications on new releases.