---
title: "protobufjs 8.8.1 Breaking Changes on npm | Since.dev"
description: "What each protobufjs release removed, renamed or changed: 298 breaking changes in 15 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/protobufjs
last_updated: 2026-12-04
---

# protobufjs breaking changes

protobufjs 8.8.1 (October 11, 2026) is its newest release with breaking changes. The first: Length prefixes that overflow are now rejected in protobufjs 8.8.1. Every breaking API change we have recorded in protobufjs on npm: 298 breaking changes in 15 versions. Below, its 15 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.8.1`, released October 11, 2026. [Source repository](https://github.com/protobufjs/protobuf.js)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.6.4](#v-7-6-4) to [8.8.1](#v-8-8-1): 297 breaking changes in 14 versions.

## protobufjs 8.8.1 breaking changes

protobufjs 8.8.1, released October 11, 2026: 1 breaking change.

- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.8.1)

## protobufjs 8.7.1 breaking changes

protobufjs 8.7.1, released July 13, 2026: 2 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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.7.1)
- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.7.1)

## protobufjs 8.7.0 breaking changes

protobufjs 8.7.0, released July 6, 2026: 5 breaking changes.

- **Removed** `Writer.head`  

Writer.head was removed in protobufjs 8.7.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.7.0)
- **Removed** `Writer.tail`  

Writer.tail was removed in protobufjs 8.7.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.7.0)
- **Signature changed** `BufferWriter.raw`  

Was raw(value: Uint8Array): BufferWriter; now raw(value: Uint8Array): Writer. [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.7.0)
- **Signature changed** `Writer.finish`  

Was finish(): Uint8Array; now finish(shared?: boolean): Uint8Array. [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.7.0)
- **Signature changed** `Writer.states`  

Was states: (object|null); now states: (number\[\]|null). [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.7.0)

## protobufjs 8.6.5 breaking changes

protobufjs 8.6.5, released June 23, 2026: 2 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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5)
- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5)

## protobufjs 8.6.3 breaking changes

protobufjs 8.6.3, released June 11, 2026: 1 breaking change.

- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.3)

## protobufjs 8.6.2 breaking changes

protobufjs 8.6.2, released June 9, 2026: 1 breaking change.

- **Default changed**  

Unknown fields are discarded by default now, so code that reads or re-encodes them may see different results. [github.com](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.2)

## Older versions

9 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### protobufjs 8.6.1 breaking changes

protobufjs 8.6.1, released June 7, 2026: 1 breaking change.

- **Removed** `util.inquire`  

util.inquire was removed in protobufjs 8.6.1 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.6.1)

### protobufjs 8.5.0 breaking changes

protobufjs 8.5.0, released May 29, 2026: 4 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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.5.0)
- **Signature changed** `Method.requestStream`  

Was requestStream?: boolean; now requestStream?: true. [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.5.0)

And 2 more in this version.

### protobufjs 8.4.1 breaking changes

protobufjs 8.4.1, released May 21, 2026: 9 breaking changes.

- **Behavior changed**  

Converters now handle fixed64 fields as unsigned, so converted values for fixed64 fields can differ from earlier releases. [github.com](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.4.1)
- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.4.1)

And 7 more in this version.

### protobufjs 8.3.0 breaking changes

protobufjs 8.3.0, released May 13, 2026: 231 breaking changes.

- **Removed** `Constructor.__new`  

Constructor.\_\_new was removed in protobufjs 8.3.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.3.0)
- **Removed** `Constructor.[Symbol.hasInstance]`  

Constructor.\[Symbol.hasInstance\] was removed in protobufjs 8.3.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.3.0)

And 229 more in this version.

### protobufjs 8.2.1 breaking changes

protobufjs 8.2.1, released May 13, 2026: 2 breaking changes.

- **Removed** `util.checkDepth`  

util.checkDepth was removed in protobufjs 8.2.1 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.2.1)
- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.2.1)

### protobufjs 8.2.0 breaking changes

protobufjs 8.2.0, released May 9, 2026: 16 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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.2.0)
- **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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.2.0)

And 14 more in this version.

### protobufjs 8.0.2 breaking changes

protobufjs 8.0.2, released April 27, 2026: 5 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](https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2)
- **Signature changed** `Reader.skipType`  

Was public skipType(wireType: number): Reader; now public skipType(wireType: number, depth?: number): Reader. [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.0.2)

And 3 more in this version.

### protobufjs 8.0.0 breaking changes

protobufjs 8.0.0, released December 16, 2025: 17 breaking changes.

- **Removed** `Reader.recursionLimit`  

Reader.recursionLimit was removed in protobufjs 8.0.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.0.0)
- **Removed** `util.checkDepth`  

util.checkDepth was removed in protobufjs 8.0.0 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/8.0.0)

And 15 more in this version.

### protobufjs 7.6.4 breaking changes

protobufjs 7.6.4, released June 12, 2026: 1 breaking change.

- **Removed** `util.inquire`  

util.inquire was removed in protobufjs 7.6.4 [npmjs.com](https://www.npmjs.com/package/protobufjs/v/7.6.4)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
