Update dependency protobuf to v6#34
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Contributor
Author
|
417c527 to
36970c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^2.0.0→^6.0.0Release Notes
google/protobuf.dart (protobuf)
v6.0.0Compare Source
New
GeneratedMessageextension methodstoTextFormatandwriteTextFormatadded to convert the message into the official protocol buffers text
format. (#1080, #125)
Add well-known proto types as libraries. This change is required for
protoc_plugin-25.0.0. (#1081)
Breaking: Hide
PbListandPbMapconstructors. It is not possible toconstruct these values correctly in user code, so the constructors are now
private. Existing uses of
PbListcan be replaced byListandPbMapcanbe 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)
v5.1.0Compare Source
Update default size limit of
CodedBufferReaderfrom 67,108,864 bytes to2,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.addExtensionreturning non-frozen andGeneratedMessage.getExtensionallowing modifying an extension when themessage is frozen before initializing the extension field set. (#1062)
Fix
GeneratedMessage.getExtensionreturning differently typed lists when themessage extension field set is initialized and frozen and initialized but not
frozen. (#1062)
Fix
PbListmethodsaddAll,insertAll,replaceRange,setAll,setRangeiterating theIterableargument twice. (#730, #1070)Fix
GeneratedMessage.==throwing a type error when comparingmapfields insome cases. (#1075, #1077)
This bug was introduced with protobuf-5.0.0.
v5.0.0Compare Source
GeneratedMessage.deepCopy. (#742)GeneratedMessage.mergeFromProto3Jsonwhenthe
ignoreUnknownFieldsoptional argument istrue. (#853)BuilderInfomethods to support protoc-plugin 23.0.0. (#1047)PbList.fromfromList<T>toIterable<T>.(#1054)
GeneratedMessage.clear. (#1057)GeneratedMessagemethodsmergeFromJson,mergeFromJsonMap,writeToJson,writeToJsonMap.(#1058)
v4.2.0Compare Source
Internal refactoring to split the package into libraries. This allows
conditionally importing different libraries and improving performance by
using different encoding/decoding libraries based on the target platform.
(#1026)
Some of the private
PbFieldTypemembers are made public, to allow usingthem in internal libraries. This type is for internal use only. (#1027)
Improve performance of
GeneratedMessagemembers:writeToJsonMap,writeToJson,mergeFromJson,mergeFromJsonMap. (#1028)Remove
BuilderInfo.fromProto3JsonandBuilderInfo.toProto3Jsonas a partof an internal refactoring.
v4.1.1Compare Source
v4.1.0Compare Source
v4.0.0Compare Source
Breaking: The following types and members are now removed:
PbEventMixinPbFieldChangeEventBufferGeneratedMessage.createRepeatedFieldGeneratedMessage.createMapFieldThese were used to implement events, which are unused internally. To keep API
surface small (to make it easier to change the library or migrate to another
library) these types and members are removed. (#738)
Breaking:
CodedBufferWriter.writeRawBytesnow takes aUint8Listargument (instead of
TypedData).GeneratedMessageGenericExtensions.deepCopyis now annotated with@useResultand will generate a warning when its result is not used.(#896)
Breaking:
PbMap.unmodifiablenow takes key and value field types asarguments, instead of another
PbMap.To migrate, use
PbMap.unmodifiable(map.keyFieldType, map.valueFieldType)instead of
PbMap.unmodifiable(map). (#902)Messages deserialized from JSON now generate the unknown fields when
serialized as JSON.
Note that, as before, unknown fields in JSON messages are not stored in the
unknownFieldsof the message. They are only used by the JSON serializers tosupport roundtripping.
(#49, #918)
Minimum SDK dependency bumped from 2.19.0 to 3.3.0. (#953)
v3.1.0Compare Source
CodedBufferReaderreadBytesnow copies the returned bytes to avoidaccidental sharing of the input buffer with the returned
Uint8List. Newmember
readBytesAsViewadded with the old behavior. (#863)Avoid sharing the input buffer in unknown length-delimited fields using the
new
readBytes. (#863)v3.0.0Compare Source
2.19.ReadonlyMessageMixin(#183, #644)frozenMessageModificationHandler(#175, #643)PbListBaseandFrozenPbListtypes. All proto repeated fields nowuse
PbList. To check if a list is frozen, useisFrozengetter. (#624,#626)
GeneratedMessage.getField. This behavior isconsistent with
getFieldcalled on repeated fields. (#373, #707)PbMapconstructor argumentBuilderInfo? info.(d94d3f0)
UnknownFieldSetFieldmethodshasRequiredFields,isInitializedandgetter
lengthremoved. (#721)types. (#681)
PbMap._isReadonlyfield initialization inPbMap.unmodifiable.(#741, #754)
missing. (#719, #745)
(
mergeFromBuffer,mergeFromProto3Json, ...). (#489, #727)nullvalues in proto3 JSON deserializer. (#751, #760,#763)
reparseMessage. (#840)Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.