protobuf v7.0.0 Release Notes

Release Date: 2022-07-08 // 7 months ago
  • โš  BREAKING CHANGES

    • โฌ‡๏ธ drop support for Node 4, 6, 8, 10 (#1764)
    • ๐Ÿ“ฆ move command line tool to a new package named protobufjs-cli (#1234)
    • encoding of empty Buffers (#1514)

    ๐Ÿ”‹ Features

    • โž• add --no-service option for pbjs static target (#1577) (d01394a)
    • โž• add alt-comment CLI option (#1692) (7558ef0)
    • โž• add configurable Root.prototype.fetch (ad3cffd)
    • โž• add getTypeUrl method to generated code (#1463) (d13d5d5)
    • โž• add null-defaults option (#1611) (6e713ba)
    • โž• add support for buffer configuration (#1372) (101aa1a)
    • ๐Ÿ‘ allow message.getTypeUrl provide custom typeUrlPrefix (#1762) (8aad1dd)
    • ๐Ÿ‘ better comment parse (#1419) (7fd2e18)
    • ๐Ÿ“ฆ move command line tool to a new package named protobufjs-cli (#1234) (da34f43)
    • ๐Ÿ“œ parsed options (#1256) (7a25398)
    • prepare initial publication of cli (#1752) (64811d5)
    • ๐Ÿ‘ proto3 optional support (#1584) (6c4d307)
    • ๐Ÿ‘Œ support parsing of complex options (#1744) (b1746a8)
    • โšก๏ธ update dependencies / general cleanup (#1356) (42f49b4)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ‘ allow for an optional semicolon where there is an optional comma in parseOptionValue (#1571) (af1b449)
    • ๐Ÿ‘ allow Windows unc paths to be resolved and normalized (#1351) (cd4aeda)
    • deps: patch minimatch vulnerability (#1704) (bac61b8)
    • deps: update dependency long to v5 (#1751) (dadc65e)
    • deps: use eslint 8.x (#1728) (fa01883)
    • do not fail if no process (#1440) (f2faa8c)
    • do not let setProperty change the prototype (#1731) (3357ef7)
    • ๐Ÿ“„ docs: update CHANGELOG to match format of release-please (#1376) (15ed8a0)
    • โฌ‡๏ธ drop support for Node 4, 6, 8, 10 (#1764) (50370dd)
    • encoding of empty Buffers (#1514) (b4cae07), closes #1500 #885
    • es6 export enum (#1446) (9f33784)
    • ๐Ÿ›  fix util.global (#1441) (742b8dc)
    • fromObject should not initialize oneof members (#1597) (90afe44)
    • ๐Ÿ›  google.protobuf.Any type_url fixes (#1068) (192f5f1)
    • handling of map entries with omitted key or value (#1348) (b950877)
    • handling properly fields with leading and trailing comments after field with trailing comment (#1593) (9011aac)
    • ๐Ÿ‘‰ make node detection a bit more forgiving (#1445) (4e75f6d)
    • ๐Ÿ“œ make parsedOptions appear in method JSON representation (#1506) (3d29969)
    • proper relative path to protobufjs in cli (#1753) (a1d6029)
    • ๐Ÿ“œ properly parse empty messages in options (#1429) (7fbc79f)
    • 0๏ธโƒฃ proto3 optional scalars should default to null in reflection API (#1693) (d9144de)
    • ๐Ÿ—„ replace deprecated String.prototype.substr() (#1701) (e33a84a)
    • scope variable for map field to avoid redeclaration (#1717) (#1718) (1d3c02a)
    • ๐Ÿ‘Œ support for options with repeated_value: [ "foo", "bar" ] (#1574) (f5b893c)
    • typo in pbjs help text (#1552) (7f46dbe)
    • โšก๏ธ update minimal.js to evade override mistake (#1742) (e2f33a0)
    • โšก๏ธ updated isNode check (#1221) (#1363) (5564e7b)
    • utf8 -> utf16 decoding bug on surrogate pairs (#1486) (75172cd)