protobufjs: v7.0.0
7.0.0 (2022-07-08)
⚠ 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)
- 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)