protobuf.js is a standalone JavaScript and TypeScript implementation of Protocol Buffers for Node.js and the browser. It helps you work with .proto files, serialize and deserialize structured data with efficient binary I/O, and supports runtime reflection as well as reflection-free static code generation with TypeScript declarations.
Project status
- Actively maintained: The upstream repo shows recent activity (last push on 2026-06-02), and there have been multiple related updates across both the core library and the CLI in late May 2026.
- Update cadence: Notable updates landed on 2026-05-29 (v8.5.0), and again on 2026-05-30 (protobufjs v7.6.2 and protobufjs-cli v1.3.2), suggesting an active, short-term release rhythm.
AI summary generated Today
Recent updates
protobufjs-v7.6.2
3 days agoprotobufjs v7.6.2 is a patch release focused on backported consistency and correctness fixes. The release notes do not detail specific user-facing issues, but it indicates improvements that may affect correctness of existing behavior.
protobufjs-cli-v1.3.2
3 days agoprotobufjs-cli v1.3.2 release notes only mention a backport bug fix for consistency and correctness. The actual diff is much larger and includes multiple runtime behavior changes across protobuf descriptor parsing, recursion/depth handling, UTF-8 decoding, event emitter internals, and TypeScript definition updates for new optional parameters.
BreakingFeaturesprotobufjs-v8.5.0
4 days agoprotobufjs v8.5.0 adds two notable capabilities: an option to discard unknown fields during decoding, and exposing RPC metadata on service methods. The release also includes several bug fixes affecting CLI name handling, input validation in fromObject, and type resolution behavior.
Featuresprotobufjs-cli-v2.5.0
4 days agoprotobufjs-cli v2.5.0 updates the bundled protobufjs runtime to 8.5.0 and includes a CLI-related fix for handling derived names. It also exposes RPC metadata on service methods, such as method name and path.
Featuresprotobufjs-v7.6.1
1 week agoprotobufjs v7.6.1 is presented as a small bug fix release (backports utility hardening and changes fixed64 conversion). The diff, however, shows multiple internal behavior and validation changes around descriptor parsing, UTF-8 decoding, event emitter hardening, and code generation safety that are not explicitly called out in the release notes.
BreakingFeaturesprotobufjs-cli-v1.3.1
1 week agoprotobufjs-cli v1.3.1 release notes only mention one bug fix: fixed64 is now treated as unsigned in converters. However, the actual code diff includes many protobufjs core changes related to descriptor recursion control, stricter descriptor validation, UTF-8 decoding behavior, and safer internals (event emitter and code generation).
BreakingSecurityFeaturesprotobufjs-v8.4.2
1 week agoprotobufjs v8.4.2 is described as a small bug fix release. The release notes only mention two behavioral fixes related to reserved range semantics and int32 handling for writer sizing.
protobufjs-cli-v2.4.2
1 week agoprotobufjs-cli v2.4.2 is documented as a small patch release that fixes protobuf reserved range semantics and bumps the protobufjs dependency to 8.4.2. The provided code diff, however, shows additional substantial CLI-side changes around JSDoc parsing and the tsd-jsdoc type-definition generation pipeline, plus new TypeScript declaration surface area.
Featuresprotobufjs-v8.4.1
1 week agoprotobufjs v8.4.1 is a focused bugfix release with multiple fixes around decoding behavior, generated typing accuracy, and converter correctness. No breaking changes or security updates are mentioned in the release notes.
protobufjs-cli-v2.4.1
1 week agoprotobufjs-cli v2.4.1 primarily bumps protobufjs to 8.4.1 and includes a few small bug fixes. The release notes mention fixes to static encodeDelimited writer state preservation and converter handling for fixed64, but the code diff shows additional behavioral and type-definition changes not described.