NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4087 most downloaded on npm
Protocol Buffers for JavaScript
Latest stable
4.0.3
Last release 2 months ago
17 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 1.8 years
Rarely documented
notes for 8 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
95 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix unbounded recursion during binary deserialization (GHSA-5h29-r2cp-hfmr) .
Fix unbounded recursion during binary deserialization (GHSA-5h29-r2cp-hfmr) .
We now use a depth limit of 200. Previously, overruns trigger RangeErrors from the VM. We are now catching these and swapping them to SyntaxError.
Fix bug in @protocolbuffers/protoc-gen-js package that causes it to erroneously download an older version (v4.0.0) of the plugin.
Fix bug in @protocolbuffers/protoc-gen-js package that causes it to
erroneously download an older version (v4.0.0) of the plugin.
Full Changelog: https://github.com/protocolbuffers/protobuf-javascript/compare/v4.0.1...v4.0.2
EDIT: Feb. 27, 2026: macos and windows releases were mistakenly double-zipped, causing further problems for the @protocolbuffers/protoc-gen-js's download script. Re-uploading the inner zip files to fix.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add support for protobuf edition 2024
--version argument to protoc-gen-js binary for easier version checking. E.g. running ./protoc-gen-js will yield 4.0.1.Update 2026-09-10:
We originally failed to publish a *-win64.zip package. However, the *-win32.zip is actually a 64-bit binary (file yields protoc-gen-js.exe: PE32+ executable for MS Windows 6.00 (console), x86-64, 6 sections). Re-uploading a freshly downloaded *-win32.zip binary renamed to win64.
Backport: binary proto serialization/deserialization changes and enable protobuf Editions 2023 (breaking change)
Nothing published for this version
Nothing published for this version
Release to fix bazel build layering issue in 3.21.3.
Release to fix bazel build layering issue in 3.21.3.
This is a hotfix release for #141
This is a hotfix release for #141
Enable Closure's advanced optimization mode by default. This should reduce code size (#124).
This will also be our first release to have cross-compiled protoc-gen-js binaries. Please note that they use dynamic linking (similar to the protobuf protoc releases).
First release of protobuf-javascript as a standalone project.
First release of protobuf-javascript as a standalone project.
This release mostly consists of BUILD and documentation fixes to account for new repository. Various bug fixes.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.