Sourced from com.google.protobuf:protobuf-java's releases.
Protocol Buffers v3.20.3
Java
- Refactoring java full runtime to reuse sub-message builders and prepare to migrate parsing logic from parse constructor to builder.
- Move proto wireformat parsing functionality from the private "parsing constructor" to the Builder class.
- Change the Lite runtime to prefer merging from the wireformat into mutable messages rather than building up a new immutable object before merging. This way results in fewer allocations and copy operations.
- Make message-type extensions merge from wire-format instead of building up instances and merging afterwards. This has much better performance.
- Fix TextFormat parser to build up recurring (but supposedly not repeated) sub-messages directly from text rather than building a new sub-message and merging the fully formed message into the existing field.
- This release addresses a Security Advisory for Java users
Protocol Buffers v3.20.2
C++
- Reduce memory consumption of MessageSet parsing
- This release addresses a Security Advisory for C++ and Python users
Protocol Buffers v3.20.1
PHP
- Fix building packaged PHP extension (#9727)
- Fixed composer.json to only advertise compatibility with PHP 7.0+. (#9819)
Ruby
- Disable the aarch64 build on macOS until it can be fixed. (#9816)
Other
- Fix versioning issues in 3.20.0
Protocol Buffers v3.20.1-rc1
PHP
- Fix building packaged PHP extension (#9727)
Other
- Fix versioning issues in 3.20.0
Protocol Buffers v3.20.0
2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
Ruby
- Dropped Ruby 2.3 and 2.4 support for CI and releases. (#9311)
- Added Ruby 3.1 support for CI and releases (#9566).
- Message.decode/encode: Add recursion_limit option (#9218/#9486)
- Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs (#9586).
- Fix conversion of singleton classes in Ruby (#9342)
... (truncated)
9d0ec0f
Updating version.json and repo version numbers to: 25.54a197e7
Merge pull request #18387
from protocolbuffers/cp-lp-25b5a7cf7
Remove RecursiveGroup test case which doesn't exist in 25.x
pre-Editionsf000b7e
Fix merge conflict by adding optional label to proto2
unittest_lite.proto4728531
Add recursion check when parsing unknown fields in Java.850fcce
Internal changeb704498
Internal changee673479
Fix cord handling in DynamicMessage and oneofs. (#18375)8a60b65
Merge pull request #17704
from protocolbuffers/cp-segv94a2663
Fixed a SEGV when deep copying a non-reified sub-message.