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