Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2024

This PR contains the following updates:

Package Change Age Confidence
@bufbuild/protobuf (source) ^1.0.0 -> ^2.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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 - At any time (no schedule defined), 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 these updates again.


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

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

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 20, 2024

Deploying gate-minekube with  Cloudflare Pages  Cloudflare Pages

Latest commit: a7dd750
Status: ✅  Deploy successful!
Preview URL: https://b346c4fe.gate-minekube.pages.dev
Branch Preview URL: https://renovate-bufbuild-protobuf-2.gate-minekube.pages.dev

View logs

@renovate renovate bot changed the title fix(deps): update dependency @bufbuild/protobuf to v2 fix(deps): update dependency @bufbuild/protobuf to v2 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/bufbuild-protobuf-2.x branch December 8, 2024 18:55
@renovate renovate bot changed the title fix(deps): update dependency @bufbuild/protobuf to v2 - autoclosed fix(deps): update dependency @bufbuild/protobuf to v2 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch from 613b32a to 2b38adb Compare December 8, 2024 22:13
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch from 2b38adb to add94c2 Compare April 23, 2025 20:26
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch from add94c2 to 74c37d7 Compare July 23, 2025 14:01
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch 2 times, most recently from 8b43ac5 to e6a8cea Compare August 10, 2025 14:41
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch from e6a8cea to a285a74 Compare August 19, 2025 19:31
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch 2 times, most recently from 162d6a0 to 7ef6996 Compare September 18, 2025 21:51
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch 2 times, most recently from 7c5feca to f3e09a4 Compare September 30, 2025 19:11
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch 5 times, most recently from 2496caa to 303c8e5 Compare October 9, 2025 00:43
@renovate renovate bot force-pushed the renovate/bufbuild-protobuf-2.x branch from 303c8e5 to a7dd750 Compare October 23, 2025 07:52
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