protobufjs breaking changes
Updated December 4, 2026
On this page
Latest version 8.8.1, released October 11, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
protobufjs 8.8.1 breaking changes
- Behavior changed
Length prefixes that overflow are now rejected instead of being accepted. Code that relied on decoding such input must handle the error. github.com
protobufjs 8.7.1 breaking changes
- Behavior changed
toObject
toObject now base64-encodes bytes field defaults, so code that reads those defaults from toObject output will see different values. github.com - Default changed
The pbjs/pbts CLI resolves imports from the working directory by default, so builds run from other directories may resolve files differently. github.com
protobufjs 8.7.0 breaking changes
- Removed
Writer.head
Writer.head was removed in protobufjs 8.7.0 npmjs.com - Removed
Writer.tail
Writer.tail was removed in protobufjs 8.7.0 npmjs.com - Signature changed
BufferWriter.raw
Was raw(value: Uint8Array): BufferWriter; now raw(value: Uint8Array): Writer. npmjs.com - Signature changed
Writer.finish
Was finish(): Uint8Array; now finish(shared?: boolean): Uint8Array. npmjs.com - Signature changed
Writer.states
Was states: (object|null); now states: (number[]|null). npmjs.com
protobufjs 8.6.5 breaking changes
- Behavior changed
Scalar fields with implicit default values are omitted when encoding. Code that inspects the encoded bytes or relies on those fields being present should be checked. github.com - Behavior changed
Enums now follow open and closed enum semantics, which can change how values outside the declared enum are handled. Code that depends on unknown enum values should be checked. github.com
protobufjs 8.6.3 breaking changes
- Behavior changed
Truncated 64-bit varints are now consistently rejected during decoding, so input that was previously accepted may now throw an error. github.com
protobufjs 8.6.2 breaking changes
- Default changed
Unknown fields are discarded by default now, so code that reads or re-encodes them may see different results. github.com
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
protobufjs 8.6.1 breaking changes
- Removed
util.inquire
util.inquire was removed in protobufjs 8.6.1 npmjs.com
protobufjs 8.5.0 breaking changes
- Behavior changed
fromObject
Calls to fromObject that pass null as the message argument are now rejected consistently. Code that relied on null being accepted must pass a valid object instead. github.com - Signature changed
Method.requestStream
Was requestStream?: boolean; now requestStream?: true. npmjs.com
And 2 more in this version.
protobufjs 8.4.1 breaking changes
- Behavior changed
Converters now handle fixed64 fields as unsigned, so converted values for fixed64 fields can differ from earlier releases. github.com - Behavior changed
Map values that are omitted in the encoded data now decode as Long rather than the previous value, so code relying on the old decoded type may behave differently. github.com
And 7 more in this version.
protobufjs 8.3.0 breaking changes
- Removed
Constructor.__new
Constructor.__new was removed in protobufjs 8.3.0 npmjs.com - Removed
Constructor.[Symbol.hasInstance]
Constructor.[Symbol.hasInstance] was removed in protobufjs 8.3.0 npmjs.com
And 229 more in this version.
protobufjs 8.2.1 breaking changes
- Removed
util.checkDepth
util.checkDepth was removed in protobufjs 8.2.1 npmjs.com - Behavior changed
Enum fields explicitly set to zero are now kept instead of being dropped when zero is not the default. Code that reads these fields may see different values. github.com
protobufjs 8.2.0 breaking changes
- Behavior changed
Proto3 scalar fields holding their implicit default value are no longer emitted. Code that reads or serializes those fields may see different output. github.com - Behavior changed
Decoding now throws on truncated strings and malformed field tag varints that were previously accepted. Code that relies on lenient parsing of such input may fail. github.com
And 14 more in this version.
protobufjs 8.0.2 breaking changes
- Removed
The release refactored the code to remove subpackages. Code that imports a subpackage path may break and should import from the main package instead. github.com - Signature changed
Reader.skipType
Was public skipType(wireType: number): Reader; now public skipType(wireType: number, depth?: number): Reader. npmjs.com
And 3 more in this version.
protobufjs 8.0.0 breaking changes
- Removed
Reader.recursionLimit
Reader.recursionLimit was removed in protobufjs 8.0.0 npmjs.com - Removed
util.checkDepth
util.checkDepth was removed in protobufjs 8.0.0 npmjs.com
And 15 more in this version.
protobufjs 7.6.4 breaking changes
- Removed
util.inquire
util.inquire was removed in protobufjs 7.6.4 npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.