chore(deps): update dependency google/protobuf.dart to v21 #214
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v20.0.1
->v21.0.1
Release Notes
google/protobuf.dart
v21.0.1
: protoc_plugin-21.0.1Compare Source
v21.0.0
: protoc_plugin-21.0.0Compare 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:
You can do:
Require Dart
2.19
.Export public dependencies (
import public
s 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 newdangling_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.
This PR has been generated by Mend Renovate. View repository job log here.