Skip to content

chore(deps): update dependency @bufbuild/protobuf to v2 (main)#1729

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-bufbuild-protobuf-2.x
Open

chore(deps): update dependency @bufbuild/protobuf to v2 (main)#1729
renovate[bot] wants to merge 1 commit intomainfrom
renovate/main-bufbuild-protobuf-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 6, 2026

This PR contains the following updates:

Package Change Age Confidence
@bufbuild/protobuf (source) ^1.10.0^2.0.0 age confidence

Release Notes

bufbuild/protobuf-es (@​bufbuild/protobuf)

v2.11.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.10.2...v2.11.0

v2.10.2

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.10.1...v2.10.2

v2.10.1

Compare Source

What's Changed

New Contributors

Full Changelog: bufbuild/protobuf-es@v2.10.0...v2.10.1

v2.10.0

Compare Source

What's Changed
New Contributors

Full Changelog: bufbuild/protobuf-es@v2.9.0...v2.10.0

v2.9.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.8.0...v2.9.0

v2.8.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.7.0...v2.8.0

v2.7.0

Compare Source

What's Changed

[!IMPORTANT]

TypeScript 5.9 includes breaking changes to lib.d.ts, forcing us to change return types for some functions from Uint8Array to Uint8Array<ArrayBuffer>. See #​1200 for details.

Full Changelog: bufbuild/protobuf-es@v2.6.3...v2.7.0

v2.6.3

Compare Source

What's Changed

New Contributors

Full Changelog: bufbuild/protobuf-es@v2.6.2...v2.6.3

v2.6.2

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.6.1...v2.6.2

v2.6.1

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.6.0...v2.6.1

v2.6.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.5.2...v2.6.0

v2.5.2

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.5.1...v2.5.2

v2.5.1

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.5.0...v2.5.1

v2.5.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.4.0...v2.5.0

v2.4.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.3.0...v2.3.1

v2.3.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.2.5...v2.3.0

v2.2.5

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.2.4...v2.2.5

v2.2.4

Compare Source

What's Changed

New Contributors

Full Changelog: bufbuild/protobuf-es@v2.2.3...v2.2.4

v2.2.3

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.2.2...v2.2.3

v2.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: bufbuild/protobuf-es@v2.2.1...v2.2.2

v2.2.1

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: bufbuild/protobuf-es@v2.1.0...v2.2.0

v2.1.0

Compare Source

What's Changed

Full Changelog: bufbuild/protobuf-es@v2.0.0...v2.1.0

v2.0.0

Compare Source

What's new in version 2

To support Protobuf editions, we have to make breaking changes that also affect users of proto2 and proto3. This prompted us to make more extensive changes that take feedback from version 1 into account:

We no longer use classes. Instead, we generate a schema object and a type for every message. To create a new instance, to serialize, and for other concerns, we provide functions. Here is a simple example:

import { create, toBinary } from "@&#8203;bufbuild/protobuf";
import { UserSchema } from "./gen/example_pb";

let user = create(UserSchema, {
  firstName: "Homer",
  lastName: "Simpson",
  active: true,
});

const bytes = toBinary(UserSchema, user);

If you use proto3, messages are now plain objects. Files with proto2 and editions use the prototype chain to track field presence.

This approach solves several outstanding issues, such as:

  • #​397 Provide custom options at runtime
  • #​551 Generated types allow assigning wrong message type if it is a superset of the target type
  • #​414 Improvements for proto2 required
  • #​738 type-save full enum value names
  • #​928 Better interop with 3rd party frameworks requiring plain objects
  • #​508 JSON types

[!TIP]

Take a look at the upgrade guide to learn more.

[!NOTE]

Connect-ES does not support version 2 yet. We will update it shortly.

Contributors

Thanks to @​srikrsna-buf for his contributions to v2!


Configuration

📅 Schedule: Branch creation - "before 9am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 6, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: ui/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @bufbuild/connect@0.13.0
npm ERR! Found: @bufbuild/protobuf@2.11.0
npm ERR! node_modules/@bufbuild/protobuf
npm ERR!   dev @bufbuild/protobuf@"^2.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @bufbuild/protobuf@"^1.2.1" from @bufbuild/connect@0.13.0
npm ERR! node_modules/@bufbuild/connect
npm ERR!   @bufbuild/connect@"0.13.0" from @bufbuild/connect-web@0.13.0
npm ERR!   node_modules/@bufbuild/connect-web
npm ERR!     dev @bufbuild/connect-web@"^0.13.0" from the root project
npm ERR!   peerOptional @bufbuild/connect@"0.13.0" from @bufbuild/protoc-gen-connect-es@0.13.0
npm ERR!   node_modules/@bufbuild/protoc-gen-connect-es
npm ERR!     dev @bufbuild/protoc-gen-connect-es@"^0.13.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @bufbuild/protobuf@1.10.1
npm ERR! node_modules/@bufbuild/protobuf
npm ERR!   peer @bufbuild/protobuf@"^1.2.1" from @bufbuild/connect@0.13.0
npm ERR!   node_modules/@bufbuild/connect
npm ERR!     @bufbuild/connect@"0.13.0" from @bufbuild/connect-web@0.13.0
npm ERR!     node_modules/@bufbuild/connect-web
npm ERR!       dev @bufbuild/connect-web@"^0.13.0" from the root project
npm ERR!     peerOptional @bufbuild/connect@"0.13.0" from @bufbuild/protoc-gen-connect-es@0.13.0
npm ERR!     node_modules/@bufbuild/protoc-gen-connect-es
npm ERR!       dev @bufbuild/protoc-gen-connect-es@"^0.13.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2026-03-13T10_35_21_563Z-debug-0.log

@renovate renovate bot force-pushed the renovate/main-bufbuild-protobuf-2.x branch 2 times, most recently from 9ba71c5 to 154be16 Compare February 17, 2026 14:52
@renovate renovate bot force-pushed the renovate/main-bufbuild-protobuf-2.x branch from 154be16 to 589d051 Compare March 5, 2026 19:08
@metalmatze
Copy link
Member

Thanks Renovate. This needs to be done together with #1686 and #1730 as a single connect/protobuf v2 migration since all three packages have interdependent breaking changes. Closing these individual PRs in favor of doing the migration as one combined effort.

@renovate renovate bot force-pushed the renovate/main-bufbuild-protobuf-2.x branch from 589d051 to 252f51a Compare March 13, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant