This repository was archived by the owner on Apr 21, 2022. It is now read-only.
fix(deps): update dependency google-protobuf to v3.20.0#4
Open
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency google-protobuf to v3.20.0#4mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
Conversation
ff53e91 to
ad0d9f4
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
3.4.0->3.20.0Release Notes
protocolbuffers/protobuf
v3.20.0Compare Source
2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
Ruby
Ruby GC. In certain tests this leads to much lower memory usage due to more
frequent GC runs (#9586).
without losing precision.
systems.
putting such values in unknown fields.
Java
FieldSet.Builder.mergeFromsubfield. (previously it was replaced.)’
Kotlin
Python
in type annotations.
classes' definitions are now dynamic created in internal/builder.py.
Insertion Points for messages classes are discarded.
rather than only PyLongObjects.
first.
specified, the function returns a timezone-aware datetime in the given time
zone. If omitted or None, the function returns a timezone-naive UTC datetime
(as previously).
JSON serializations with UTF-8 or other non-ASCII encodings.
multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment.
Compiler
guard against stack overflows
more than one invalid character.
Arenas
C++
protobuf_INSTALLto not install files (#7123)shadowed cached_size field
PHP
C#
Objective-C
proto_package_to_prefix_mappings_pathtopackage_to_prefix_mappings_path. (#9552)v3.19.4Compare Source
Python
Ruby
optionalfields in a message is an exact multiple of 32. (#9440).PHP
optionalfields in a message is an exact multiple of 32. (#9440).v3.19.3Compare Source
Python
v3.19.2Compare Source
Java
v3.19.1Compare Source
Bazel
JavaScript
ReferenceError: window is not definedwhen getting the global object (#9156)Ruby
v3.19.0Compare Source
C++
MSVC_RUNTIME_LIBRARYproperty (#8851)Java
//java/com/google/protobuf/util/...with nullness annotationsKotlin
Python
JavaScript
PHP
Ruby
C#
v3.18.2Compare Source
Java
v3.18.1Compare Source
Python
Ruby
v3.18.0Compare Source
C++
record the map items which are different in MessageDifferencer's reporter.
start.
Java
JavaScript
PHP
Ruby
Python
Other
v3.17.3Compare Source
Python
C++
Kotlin
Java
finished parsing.
General
v3.17.2Compare Source
Kotlin
PHP
(#8670)
v3.17.1Compare Source
PHP
Ruby
v3.17.0Compare Source
Protocol Compiler
C++
Descriptor::DebugString()printed proto3 synthetic oneofs.SortAndUnique().Kotlin
Java
ranges in a TreeMap for faster queries. This is particularly relevant for
protos which define a large number of extension ranges, for example when
each tag is defined as an extension.
Python
oneof are present and all but one is null.
Ruby
Conformance Tests
oneof.
Other
proto_descriptor_set(#8469)v3.16.0Compare Source
C++
calls instead of crashing.
stringorbytesfields.RepeatedPtrField.
middle.
performance.
on an error path.
Subclasses should inherit from SimpleFieldComparator instead.
C#
Java
included as causes.
JavaScript
Python
one instead of merging.
Objective-C
PHP
Ruby
Other
v3.15.8Compare Source
Ruby
v3.15.7Compare Source
C++
Ruby
v3.15.6Compare Source
Ruby
v3.15.5Compare Source
Ruby
PHP
C++
v3.15.4Compare Source
Ruby
C++
PHP
v3.15.3Compare Source
Ruby
v3.15.2Compare Source
Ruby
C++
v3.15.1Compare Source
Ruby
C++
v3.15.0Compare Source
Protocol Compiler
the --experimental_allow_proto3_optional flag.
C++
unknown fields
implementation detail users must not rely on. It should not be used in
unit tests.
C++.
output (does not affect comparison logic) and stop printing 'value' in the
path. The modified print functionality is in the
MessageDifferencer::StreamReporter.
crash.
cases out of line.
Python
collection directly instead of using the other methods of the BaseContainer.
JavaScript
getDescriptormethods with*as theirthistype.let/constfor generated messages.PHP
Ruby
upb library. This should lead to much better parsing performance,
particularly for large messages. (#8184).
recursion/run out of memory (#8195)
Java
with a direct ByteBuffer.
validation failure
java_helpers.h.
Java.
C#
v3.14.0Compare Source
Protocol Compiler
generating code.
--deterministic_outputtoprotoc --encode=....C++
any effect.
non-optional fields.
error was encountered.
DebugString.
a single message.
possible. This fixes a lot of warnings when compiling with -Wsign-compare.
libprotocseparately (#7949)Java
0 bytes when not at EOF.
autoboxing.
@java.lang.Deprecatedif the proto enum has optiondeprecated = true;.Python
used outside WKT Value/Struct.
PHP
==operators for Map and Array. (#7900)Go
C#
Javascript
v3.13.0Compare Source
PHP
better parsing performance and fixes a handful of conformance issues. It will
also make it easier to add support for more features like proto2 and proto3 presence.
version bump. PHP 5.x users can still use pure-PHP.
C++
(for regular messages they were already explicit).
fields.
Python
in EnumTypeWrapper.
Java
not mark the value as present.
C#
This was required to modernize the parsing stack to use the
Span<byte>type internally. (#7351)
ParseFrom(ReadOnlySequence<byte>)method to enable GC friendlyparsing with reduced allocations and buffer copies. (#7351)
IBufferWriter<byte>orto a
Span<byte>to enable GC friendly serialization.The new API is available as extension methods on the
IMessagetype. (#7576)GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODEdefine to makegenerated code compatible with old C# compilers (pre-roslyn compilers
from .NET framework and old versions of mono) that do not support
ref structs. Users that are still on a legacy stack that does
not support C# 7.2 compiler might need to use the new define
in their projects to be able to build the newly generated code. (#7490)
it is recommended to regenerate your generated code to achieve the best
performance (the legacy generated code will still work, but might incur
a slight performance penalty).
v3.12.4Compare Source
v3.12.2Compare Source
C++
Objective-C
v3.12.1Compare Source
Ruby
many people still use them and dropping support will require more
coordination. (#7529, #7531).
v3.12.0Compare Source
Protocol Compiler
presence tracking. This is enabled by adding the "optional" field label and
passing the
--experimental_allow_proto3_optionalflag to protoc.proto3 presence, see docs/implementing_proto3_presence.md for instructions.
the command-line, to match the behavior when multiple .proto files are passed.
protoc --descriptor_set_out(#7175)C++
fail when there are missing required fields.
accessor as an easier way of determining if a message is a Well-Known Type.
an "optional" label for a field in a oneof.
Descriptor::extension and DescriptorPool::FindAllExtensions.
protos where this is possible.
Java
getValueDescriptor() on enum special value UNRECOGNIZED instead of
ArrayIndexOutOfBoundsException.
would override the configuration passed into includingDefaultValueFields().
for repeated fields to avoid autoboxing the list contents.
Python
implementation (C++ extension was already doing this).
directly.
JavaScript
Configuration
📅 Schedule: "every weekend" in timezone GB.
🚦 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.