protobuf v6.1.1 Release Notes
-
๐ Fixed
๐ :hash: Properly encode/decode map kv pairs as repeated messages (codegen and fallback), see #547 ๐ :hash: Make genVerifyKey actually generate conditions for 32bit values and bool, fixes #546 :hash: Fix to generation of verify methods for bytes ๐ :hash: Take special care of oneofs when encoding (i.e. when explicitly set to defaults), see #542
๐ New
:hash: Added Message#asJSON option for bytes conversion ๐ :hash: Added Namespace#lookupType and Namespace#lookupService (throw instead of returning null), see #544 ๐ป :hash: Provide prebuilt browser versions of the static runtime
CLI
๐ :hash: Initial pbts CLI for generating TypeScript definitions, see #550 ๐จ :hash: Refactored json/static-module targets to use common wrappers ๐จ :hash: Refactor cli to support multiple built-in wrappers, added named roots instead of always using global.root and added additionally necessary eslint comments, see #540 ๐ :hash: Annotate namespaces generated by static target, see #550 ๐ :hash: static target: Basic support for oneof fields, see #542
๐ Docs
๐ :hash: Fix to reflection documentation :hash: README on minimal runtime / available downloads :hash: Notes on descriptors vs static modules
Other
๐ :hash: A lot of minor optimizations to performance and gzip ratio :hash: Minimized base64 tables