protobuf-ts

Protobuf and RPC for TypeScript

APACHE-2.0 License

Downloads
5.7M
Stars
1.1K
Committers
38

Bot releases are hidden (Show)

protobuf-ts - v2.9.4 Latest Release

Published by timostamm 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/timostamm/protobuf-ts/compare/v2.9.3...v2.9.4

protobuf-ts - v2.9.3

Published by timostamm 11 months ago

What's Changed

Full Changelog: https://github.com/timostamm/protobuf-ts/compare/v2.9.2...v2.9.3

protobuf-ts - v2.9.2

Published by timostamm 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/timostamm/protobuf-ts/compare/v2.9.1...v2.9.2

protobuf-ts -

Published by timostamm about 1 year ago

What's Changed

Repository and documentation cleanup 🧹

New Contributors

Full Changelog: https://github.com/timostamm/protobuf-ts/compare/v2.9.0...v2.9.1

protobuf-ts - v2.9.0

Published by timostamm over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/timostamm/protobuf-ts/compare/v2.8.3...v2.9.0

protobuf-ts - v2.8.3

Published by timostamm over 1 year ago

Bug fixes:

  • plugin: fix generated fromJson for google.protobuf.Value #500
    Thanks to @hugebdu for the contribution!
protobuf-ts -

Published by timostamm almost 2 years ago

Bug fixes:

  • Avoid overwriting a set oneof field in target with an unset oneof field in source #395
    Thanks to @jcready for the contribution!

This release is available on the BSR.

protobuf-ts -

Published by timostamm about 2 years ago

Bug fixes:

  • fix for int64toString #367
    Thanks to @tpcstld and @ajpalkovic for the investigation and contributing a fix!

This release is available on the BSR.

protobuf-ts - v2.8.0

Published by timostamm about 2 years ago

Bug fixes:

  • grpcweb-transport: fix handling responses with empty body and status in headers #331
    Thanks to @eKazim for the contribution!

  • Make repeated field merging consistent #335
    Thanks to @jcready for the contribution!

New features and improvements:

  • Relax constraints on runtime-angular to include Angular 14 #358
    Thanks to @ColinLaws for the contribution!

  • Clarify mergePartial() behavior in the documentation #361

  • Do not strip byte-order mark when decoding text from binary #362
    Thanks to @kivancguckiran and @jcready for the investigation!

This release is available on the BSR.

protobuf-ts -

Published by timostamm over 2 years ago

New Features:

  • Added force_disable_services option to protobuf-ts/plugin for disabling service metadata generation, see #268
    Thanks to @ColinLaws for the contribution!

Bug fixes:

  • Guard access of response.type to support Cloudflare Workers, see #321
    Thanks to @mikeylemmon for the fix!

  • find protoc in path also in windows, see #334
    Thanks to @tannera for the fix!

  • Update baseURL in example, see #333
    Thanks to @GRB3NW for the fix!

This release is available on the BSR.

protobuf-ts -

Published by timostamm over 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.

protobuf-ts -

Published by timostamm over 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.

protobuf-ts -

Published by timostamm over 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.

protobuf-ts -

Published by timostamm over 2 years ago

New Features:

This release is available on the BSR.

protobuf-ts -

Published by timostamm over 2 years ago

New Features:

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

This release is available on the BSR.

protobuf-ts -

Published by timostamm over 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.

protobuf-ts -

Published by timostamm over 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.

protobuf-ts -

Published by timostamm almost 3 years ago

Bug fixes:

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

This release is available on the BSR.

protobuf-ts -

Published by timostamm almost 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.

protobuf-ts -

Published by timostamm almost 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.
Package Rankings
Top 1.36% on Npmjs.org
Top 4.94% on Proxy.golang.org
Badges
Extracted from project README
npm