github bufbuild/protobuf-es v0.2.0

latest releases: v2.10.2, v2.10.1, v2.10.0...
pre-release3 years ago

This release includes the following:

🚨 Breaking Changes 🚨

  • #233 - If you have been inspecting fields (DescField) from createDescriptorSet(), you will need to update your code to use the new fieldKind discriminator. The kind property no longer contains values such as map_field and message_field for their respective types of DescField. Instead, a new type has been added named fieldKind, which allows you to further identify the kind of field a DescField represents (map, enum, message, etc.)

  • #228 - If you have been using createEcmaScriptPlugin to create your own plugin, the signature has changed. Previously, the function accepted a single generator function for generating your output files. This has been split up into separate functions for TypeScript (generateTs), JavaScript (generateJs), and declaration files (generateDts). See the plugin docs for more information on usage.

Enhancements

Bugfixes

New Contributors

@fubhy made their first contributions in #254 and #255.

Don't miss a new protobuf-es release

NewReleases is sending notifications on new releases.