protobuf v6.0.2 Release Notes

  • ๐Ÿ›  Fixed

    ๐Ÿ‘€ :hash: Fix packable float/double see #513

    ๐Ÿ†• New

    โœ… :hash: Handle oneofs in prototype ctor, add non-ES5 fallbacks, test case :hash: Be nice to AMD, allow reconfiguration of Reader/Writer interface

    CLI

    :hash: Initial static codegen target for reference ๐Ÿ‘ :hash: pbjs static target services support :hash: pbjs static target progress, uses customizable wrapper template ๐Ÿ‘€ :hash: Static pbjs target progress, now generates usable CommonJS code, see #512

    ๐Ÿ“„ Docs

    :hash: TypeScript example ๐Ÿ’ป :hash: Adjectives, notes on browserify

    Other

    ๐Ÿ”จ :hash: Refactor runtime util into separate file, reader/writer uses runtime util โšก๏ธ :hash: Also optimize reader with what we have learned :hash: More (shameless) writer over-optimization ๐Ÿ“ฆ :hash: Trading package size for float speed :hash: Skip defining getters and setters on IE8 entirely, automate defining fallbacks :hash: Unified proto/reflection/classes/static encoding API to always return a writer :hash: plain js utf8 is faster for short strings โœ… :hash: improve TypeScript support. add simple test script. ๐Ÿ‘€ :hash: Use long.js dependency in tests, reference types instead of paths in .d.ts see #503 ๐Ÿ‘ :hash: Restructured encoder / decoder to better support static code gen