Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency google/protobuf.dart to v21 #214

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
google/protobuf.dart major v20.0.1 -> v21.0.1

Release Notes

google/protobuf.dart

v21.0.1: protoc_plugin-21.0.1

Compare Source

  • Fix missing protobuf import in generated grpc files. (#​844)

v21.0.0: protoc_plugin-21.0.0

Compare Source

  • Identifiers fromBuffer, fromJson, $_defaultFor, initByValue are no longer reserved. Proto fields with those Dart names will no longer have a suffix added. (#​679)

  • Remove message constructor arguments. Constructors with arguments cause increase in release binary sizes even when no arguments are passed to the constructors. (#​703)

    Migration:

    Set the fields after construction, using cascade syntax. For example, if you have:

    MyMessage(a: 123, b: [1, 2, 3])

    You can do:

    MyMessage()
      ..a = 123
      ..b.addAll([1, 2, 3])
  • Require Dart 2.19.

  • Export public dependencies (import publics in proto files) in .pbenum.dart files, same as .pb.dart files. (9aad6aa)

  • Fix decoding map fields when key or value (or both) fields of a map entry is missing. (#​719, #​745)

  • Generated files now split ignore_for_file comments across multiple lines when necessary. (#​770)

  • Generated files now uses shared consts to eliminate repeated bool.fromEnvironment() expressions. (#​772)

  • Removed accidental /// at the top of generated Dart files to avoid new dangling_library_doc_comments lint. (#​774)

  • Generated files now have sorted imports and have fewer import-related ignore_for_file: analysis directives. (#​778)

  • Remove duplicated consts in generated files. (#​773)


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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/google-protobuf.dart-21.x branch from 7f473b6 to 0928eec Compare June 16, 2023 07:53
@rvolosatovs rvolosatovs enabled auto-merge (rebase) June 16, 2023 09:33
@rvolosatovs rvolosatovs merged commit 3161405 into main Jun 16, 2023
@rvolosatovs rvolosatovs deleted the renovate/google-protobuf.dart-21.x branch June 16, 2023 09:33
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