Sourced from protobuf-java's releases.
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)
- Suppress warning for intentional circular require (#9556)
- JSON will now output shorter strings for double and float fields when possible without losing precision.
- Encoding and decoding of binary format will now work properly on big-endian systems.
- UTF-8 verification was fixed to properly reject surrogate code points.
- Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields.
Java
- Revert "Standardize on Array copyOf" (#9400)
- Resolve more java field accessor name conflicts (#8198)
- Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder}
- Fix parseFrom to only throw InvalidProtocolBufferException
- InvalidProtocolBufferException now allows arbitrary wrapped Exception types.
- Fix bug in
FieldSet.Builder.mergeFrom- Flush CodedOutputStream also flushes underlying OutputStream
- When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’
- Add
@CheckReturnValueto some protobuf types- Report original exceptions when parsing JSON
... (truncated)
21027a2 Merge pull request #9832 from haberman/php-dist634a568 Fixed PHP release script.616a7ef Updated CHANGES.txt for 3.20.1 (#9826)296c1fd Update protobuf version (#9820)6387f95 fix: move composer.json out of root to avoid confusion (#9819)653de45 Disable the aarch64 build on macOS because it is broken. (#9816)acd24bc Add disallowment of setting numpy singleton arrays and multi-dimensio… (#9788)26d11fd -Dsurefire.failIfNoSpecifiedTests=false (#9761)044cb7f -DfailIfNoSpecifiedTests=false (#9753)7db4eca Update changelogs for 3.20.1-rc1