Releases: protobufjs/protobuf.js
Releases · protobufjs/protobuf.js
protobufjs: v8.2.1
protobufjs-cli: v2.2.1
protobufjs: v7.5.8
protobufjs: v8.2.0
8.2.0 (2026-05-09)
Features
- Add finishInto() for zero-copy serialization into existing buffers (#2196) (657d6f1)
- Add textformat extension (#2233) (4639e29)
- cli: Add optional protoc-gen-pbjs plugin (#2231) (c9b6a2d)
- cli: Align json-module with static-module output (#2227) (a015091)
- Roundtrip unknown fields (#2209) (76fa03c)
Bug Fixes
- Accept URL-safe base64 input (#2207) (57a3821)
- Also resolve common definitions by file name (#2218) (e533950)
- Apply oneof last-value wins during decode (#2193) (cf35cdc)
- Consistently handle scalar map keys (#2186) (29b1183)
- Consistently reject truncated strings (#2205) (689e911)
- Correct parsedOptions TypeScript types (#2217) (dbe8d77)
- Decode bool values from full varints (#2192) (7b8d5c1)
- Decode fields by full wire tag (#2197) (f6264b1)
- Decode missing map message values as empty messages (#2206) (51c1a4f)
- Generate TypeScript class properties for extensions (#2187) (ec04bee)
- Harden parser input handling (#2240) (53a27fc)
- Improve Deno and Bun compatibility (#2228) (6034af8)
- Improve descriptor extension interoperability (#2232) (effbbc4)
- Make optional Node module lookups bundler-safe (#2237) (366030b)
- Merge singular message fields while decoding (#2195) (14d9df7)
- Omit proto3 implicit scalar defaults (#2208) (ea1b003)
- Read non-minimal 32-bit varints correctly (#2198) (5650a07)
- Reject malformed field tag varints (#2224) (1904533)
- Restore first-match namespace lookup (#2235) (4fb8900)
- Support proto2 extension groups (#2181) (1039194)
- Tighten key2Re regex with non-capturing group (#2225) (c87b149)
- Validate field and group tags while decoding (#2200) (c09d4f7)
Performance Improvements
protobufjs: v7.5.7
protobufjs-cli: v2.2.0
2.2.0 (2026-05-09)
Features
- cli: Add optional protoc-gen-pbjs plugin (#2231) (c9b6a2d)
- cli: Align json-module with static-module output (#2227) (a015091)
- Roundtrip unknown fields (#2209) (76fa03c)
Bug Fixes
- Add eslint-disable default-case to generated files (#2095) (8723f3f)
- Consistently handle scalar map keys (#2186) (29b1183)
- Correct parsedOptions TypeScript types (#2217) (dbe8d77)
- Decode missing map message values as empty messages (#2206) (51c1a4f)
- Generate TypeScript class properties for extensions (#2187) (ec04bee)
- Harden parser input handling (#2240) (53a27fc)
- Improve Deno and Bun compatibility (#2228) (6034af8)
- Merge singular message fields while decoding (#2195) (14d9df7)
Performance Improvements
v6.11.6
What's Changed
- [protobufjs-v6.11.x] Backport CVE-2026-41242: fix: filter invalid characters from the type name (#2127) by @vulgraph in #2221
New Contributors
Full Changelog: v6.11.5...v6.11.6