Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jul 22:41
· 31 commits to master since this release
163f121

2.0.0 (2022-07-18)

Bug Fixes

  • improve error handling in loader callback (9ae0ec6)

chore

  • drop support for node@<12.0.0 (fc7f450)
  • update to protobufjs@^7.0.0 (6f5a290)

Features

  • remove json config key in favor of generic target string (8344a47)

BREAKING CHANGES

  • The json config option is no longer recognized. The pbjs --target value can now be specified explicitly using the target config option. If you were using the json option, you can migrate your config by replacing json: true with target: 'json-module', and json: false with target: 'static-module'. The default behavior has also been preserved, so if you weren't using the json option, no changes are necessary.
  • Drop support for node v10 and earlier. Note that protobufjs has also dropped support for these node versions upstream.
  • Update to protobufjs@^7.0.0 from protobufjs@^6.8.0. See https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.0.0 for upstream breaking changes.