v2.0.0-alpha.2
Pre-release
Pre-release
What's Changed
This is the second alpha release for version 2. See v2.0.0-alpha.1 for an introduction.
Breaking
- Change default value of plugin option
import_extension
tonone
by @srikrsna-buf in #832 - Bump supported version of TypeScript to 4.9.5 by @timostamm in #805
- Remove Node10 subpath fallbacks by @timostamm in #804
- Remove DescField.optional by @timostamm in #808
- Mark all exports from codegenv1 private by @timostamm in #806
Fixes
- Strip only last .proto suffix for DescFile.name by @timostamm in #807
- Fix wrapper extension JSON serialization by @timostamm in #821
- Check for matching field numbers in StartGroup / EndGroup tags by @timostamm in #810
- For deprecated elements, generate a
@deprecated
tag on descriptors by @timostamm in #818
New Features
- Add option accessors by @timostamm in #828
- Support option retention by @timostamm in #827
- Introduce DescMessage.field by @timostamm in #839
- Add function parentTypes() to reflect by @timostamm in #817
- Make DescField.presence available for all fields by @timostamm in #822
- Generate comments for feature options by @timostamm in #809
- Return zero values from ReflectMessage.get by @timostamm in #813
- Rely on ReflectMessage for jstype=JS_STRING by @timostamm in #823
Performance improvements
- Add localName property to DescField and others by @timostamm in #834
- Avoid JIT deoptimizations by @timostamm in #836
- Speed up reflect with classes by @timostamm in #837
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2