Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@smaye81 smaye81 released this 25 Oct 13:57
· 358 commits to main since this release
906105a

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.