Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2025

Bumps protobuf from 4.2.0 to 6.0.0.

Release notes

Sourced from protobuf's releases.

package:protobuf v6.0.0

  • New GeneratedMessage extension methods toTextFormat and writeTextFormat added to convert the message into the official protocol buffers text format. (#1080, #125)

  • Add [well-known proto types][wkts] as libraries. This change is required for protoc_plugin-25.0.0. (#1081)

  • Breaking: Hide PbList and PbMap constructors. It is not possible to construct these values correctly in user code, so the constructors are now private. Existing uses of PbList can be replaced by List and PbMap can be replaced by Map.

    For immutable lists and maps, you can use built_value. (#1072)

  • Map fields now check key and value validity when adding elements. (#1065, #1076)

#1080: google/protobuf.dart#1080 #125: google/protobuf.dart#125 [wkts]: https://protobuf.dev/reference/protobuf/google.protobuf #1081: google/protobuf.dart#1081 #1072: google/protobuf.dart#1072 #1065: google/protobuf.dart#1065 #1076: google/protobuf.dart#1076

package:protobuf v5.1.0

  • Update default size limit of CodedBufferReader from 67,108,864 bytes to 2,147,483,647 bytes, and default recursion limit from 64 to 100.

    The new limits are consistent with the Java and C++ implementations. (#1060)

  • Fix GeneratedMessage.addExtension returning non-frozen and GeneratedMessage.getExtension allowing modifying an extension when the message is frozen before initializing the extension field set. (#1062)

  • Fix GeneratedMessage.getExtension returning differently typed lists when the message extension field set is initialized and frozen and initialized but not frozen. (#1062)

  • Fix PbList methods addAll, insertAll, replaceRange, setAll, setRange iterating the Iterable argument twice. (#730, #1070)

  • Fix GeneratedMessage.== throwing a type error when comparing map fields in some cases. (#1075, #1077)

    This bug was introduced with protobuf-5.0.0.

#1060: google/protobuf.dart#1060 #1062: google/protobuf.dart#1062 #730: google/protobuf.dart#730 #1070: google/protobuf.dart#1070 #1075: google/protobuf.dart#1075 #1077: google/protobuf.dart#1077

package:protobuf v5.0.0

  • Improve performance of GeneratedMessage.deepCopy. (#742)
  • Fix unknown enum handling in GeneratedMessage.mergeFromProto3Json when the ignoreUnknownFields optional argument is true. (#853)
  • Add BuilderInfo methods to support protoc-plugin 23.0.0. (#1047)
  • Generalize argument type of PbList.from from List<T> to Iterable<T>. (#1054)
  • Fix clearing oneof fields with GeneratedMessage.clear. (#1057)
  • Fix unknown JSON handling when using GeneratedMessage methods mergeFromJson, mergeFromJsonMap, writeToJson, writeToJsonMap. (#1058)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [protobuf](https://github.com/google/protobuf.dart) from 4.2.0 to 6.0.0.
- [Release notes](https://github.com/google/protobuf.dart/releases)
- [Commits](google/protobuf.dart@protobuf-v4.2.0...protobuf-v6.0.0)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant