rules_haskell
rules_haskell copied to clipboard
chore(deps): update dependency com_google_protobuf to v28 - abandoned
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| com_google_protobuf | http_archive | major | v21.12 -> v28.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
protocolbuffers/protobuf (com_google_protobuf)
v28.0: Protocol Buffers v28.0
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (https://github.com/protocolbuffers/protobuf/commit/f9dd9ce66e05d034378b4b37b82307f41fc3395c)
- Enable MessageLite::DebugString to use Message::DebugString where possible. (https://github.com/protocolbuffers/protobuf/commit/f810cc5b668d78cb982f44b34f188160d55c27d6)
- Always report plugin support errors from protoc. (https://github.com/protocolbuffers/protobuf/commit/986ef8d80bb9432ec7c3a83f0988e2cc589d5cee)
- Stop supporting EDITION_PROTO2 as an alias for EDITION_LEGACY. (https://github.com/protocolbuffers/protobuf/commit/35b34252c79d661fb1e9ceecdc6457295f28b9b1)
- Rename
DynamicCastToGenerated/DownCastToGeneratedto (https://github.com/protocolbuffers/protobuf/commit/18da465815e609732b902d8cbc79d2d12e90686d) - Mark deleted fields in descriptor.proto reserved (https://github.com/protocolbuffers/protobuf/commit/44c409d211900f153a4bbafbaca474401ddec4e9)
- Protoc: support inf, -inf, nan, and -nan in option values (#15017) (https://github.com/protocolbuffers/protobuf/commit/3c03e9351c57081d0dffae120ed37497017f105c)
C++
- Move -Werror to our test/dev bazelrc files. (#17938) (https://github.com/protocolbuffers/protobuf/commit/f5a1b178ad52c3e64da40caceaa4ca9e51045cb4)
- Introduce FieldDescriptor::cpp_string_type() API to replace direct ctype inspection which will be removed in the next breaking change (https://github.com/protocolbuffers/protobuf/commit/72b0b7afbabce7494c2605aa240b0f0ca98aa6e5)
- Removed specific MSVC settings when installing (#17285) (https://github.com/protocolbuffers/protobuf/commit/770090e901872f860c8c75b55b9df3253ab2de6f)
- Omit the
_raw_default_instance_declaration when using DLL linkage. (https://github.com/protocolbuffers/protobuf/commit/79c55cb30f79b227029fbe4cc62a14354c18096d) - Enable MessageLite::DebugString to use Message::DebugString where possible. (https://github.com/protocolbuffers/protobuf/commit/f810cc5b668d78cb982f44b34f188160d55c27d6)
- Fix a bug in which proto code uses ctype instead of string_type internally. (https://github.com/protocolbuffers/protobuf/commit/dfbe98781c5ac2c427aa4406705f8201c7364fcf)
- Add an optimization that prevents an exponential number of comparisons on deeply (https://github.com/protocolbuffers/protobuf/commit/594a71f48515715d37a797252e0dd2d97e635826)
- Replace FindHelper() with BucketNumber() when only the bucket number is required. (https://github.com/protocolbuffers/protobuf/commit/8c7b1ecd23aea88939d0e87efe7f2fd889ac40ce)
- Stop supporting EDITION_PROTO2 as an alias for EDITION_LEGACY. (https://github.com/protocolbuffers/protobuf/commit/35b34252c79d661fb1e9ceecdc6457295f28b9b1)
- Rename
DynamicCastToGenerated/DownCastToGeneratedto (https://github.com/protocolbuffers/protobuf/commit/18da465815e609732b902d8cbc79d2d12e90686d) - Prohibit using features in the same file they're defined in. (https://github.com/protocolbuffers/protobuf/commit/24b91a7fec2fae2ee633c6bd2600ec2ebbe72f3f)
- Implement new Debug API with redaction. (https://github.com/protocolbuffers/protobuf/commit/bb68eb22dde9fbefc0413b7c3f836b03d062df4c)
- Use bool HasHasbits(const FieldDescriptor*) instead of manual checks. (https://github.com/protocolbuffers/protobuf/commit/448e326200a69afd83ae86e44dcddb612f007763)
- Add
javato reserved names to escape extensions tojava_. This may break existing references to gencode for extensions namedjava. (https://github.com/protocolbuffers/protobuf/commit/c99cf4bbfaf71f735cd0dea7d6fc0b2c1a589ed2) - Put arena cleanup nodes on a separate chunked list instead of at the ends of arena blocks. (https://github.com/protocolbuffers/protobuf/commit/f70d90b4743dd9eed05e5bf33ef7196a99894e29)
- Fix validation checks of implicit presence. (https://github.com/protocolbuffers/protobuf/commit/d6c283321e7b2e159a6b300522b3d9f850e7de40)
- Clarify map behaviors in editions. (https://github.com/protocolbuffers/protobuf/commit/0dbd99a41db54a1adcfdc0946e9b8b724739a6e5)
- Protoc: support inf, -inf, nan, and -nan in option values (#15017) (https://github.com/protocolbuffers/protobuf/commit/3c03e9351c57081d0dffae120ed37497017f105c)
Java
- Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release. (https://github.com/protocolbuffers/protobuf/commit/6bf01c51a0b92278958f0169d330d64a08dbb4ec)
- Remove unused pom.xml files. (https://github.com/protocolbuffers/protobuf/commit/aaf5f798c0c40787e82dacc80df47dd96519dbd5)
- Add overload for LazyStringArrayList.add(String): boolean (https://github.com/protocolbuffers/protobuf/commit/761d49a27067f74c56818e979b979bd3942a27cc)
- Hoist SmallSortedMap.getNumArrayEntries() outside loops over array entries (https://github.com/protocolbuffers/protobuf/commit/229c958a5c9417129942959c9819f7f4ffa4c8a3)
- Omit the
_raw_default_instance_declaration when using DLL linkage. (https://github.com/protocolbuffers/protobuf/commit/79c55cb30f79b227029fbe4cc62a14354c18096d) - Java: Deprecate newExtensionWriter. (https://github.com/protocolbuffers/protobuf/commit/7122ba1d0a93532324ab29cf05bd3fa4fd99e45e)
- Immutable java: Use new lower-allocation extension serialization APIs from gencode (https://github.com/protocolbuffers/protobuf/commit/41514865ebe792ef0f1bfcebdbb2598fd398236d)
- Reserialize all unresolved features using java features from the generated pool in case of descriptors from the custom pool. (https://github.com/protocolbuffers/protobuf/commit/415a147189fff5417b18ecc515b8197a085a0d2c)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/8beb9705e495c57d55f6547c523d5817336ac35f)
- Full java runtime: Avoid allocating ArrayList iterators when serializing UnknownFieldSet (https://github.com/protocolbuffers/protobuf/commit/fac847c5c5d85524fb27e8fb4a4205286bb7c44c)
- Move back deprecation of java utf8 feature to 2024. (https://github.com/protocolbuffers/protobuf/commit/bd7078debcd40823ed29a0ab197435c82b248043)
- Reparse unknown features using extension registry containing Java features. (https://github.com/protocolbuffers/protobuf/commit/68d908768fc19a14ea2db39a24a8c04a23e29541)
- Remove field SmallSortedMap.maxArraySize (https://github.com/protocolbuffers/protobuf/commit/16e0a63077bbfe889b7150543c5f176e0f637682)
- Delete unused method SmallSortedSet.getOverflowEntriesDescending (https://github.com/protocolbuffers/protobuf/commit/c05be324da89b9fbdf3ef7adc26fb541a7352e98)
- Avoid allocating FieldSet iterator if FieldSet is empty (https://github.com/protocolbuffers/protobuf/commit/3ba72807a675424ccee05648f6baaf43c2bc339b)
- Lazily resolve features for proto2 and proto3 for compatibility with old open source gencode that does not invoke feature resolution from gencode static init. (https://github.com/protocolbuffers/protobuf/commit/11c27dfa4b4dd2f79b722897bc04a297c2a35c26)
- Implement new Debug API with redaction. (https://github.com/protocolbuffers/protobuf/commit/bb68eb22dde9fbefc0413b7c3f836b03d062df4c)
- Replace SmallSortedMap.EmptySet with equivalent Collections.emptySet() (https://github.com/protocolbuffers/protobuf/commit/c6e2778f9173ed925746197310f4d11e5f46df96)
- Add
javato reserved names to escape extensions tojava_. This may break existing references to gencode for extensions namedjava. (https://github.com/protocolbuffers/protobuf/commit/c99cf4bbfaf71f735cd0dea7d6fc0b2c1a589ed2) - Avoid allocating TreeMap in UnknownFieldSet.Builder.asMap (https://github.com/protocolbuffers/protobuf/commit/4b7c2d43818a71e0c6975fcf3a1f1e0f1533ce3c)
- Avoid allocating iterator in TextFormat printing UnknownFieldSet (https://github.com/protocolbuffers/protobuf/commit/8c6e5b79636673435c9a8afe51dd2ffe4a2c7f4b)
- Add
nullto the list of reserved words. (https://github.com/protocolbuffers/protobuf/commit/510c1434ed16dadeeb64a3b841c9ada96e273573) - Add UnknownFieldSet.isEmpty (https://github.com/protocolbuffers/protobuf/commit/c56bddd7074d3c62c94ca494e2e9983dbc98da6d)
- Java full runtime: Avoid allocating when calling asMap on empty UnknownFieldSet (https://github.com/protocolbuffers/protobuf/commit/d0b016fcfcd00a0e48d006f06868b8fb9876974a)
- Return the default instance when parsing from an empty byte[]. (https://github.com/protocolbuffers/protobuf/commit/f5979918571af01751afa40d9c41cb6070f56f99)
- Deprecate building from source with Maven to be removed in 4.28.x. (https://github.com/protocolbuffers/protobuf/commit/4c8da99c4865bc7e07ec629c2d1ad32ac576554b)
- Java full runtime: Avoid allocating iterator if UnknownFieldSet's TreeMap is empty (https://github.com/protocolbuffers/protobuf/commit/4f12891b87a99ecabdc1e1039d0587094e9b57cd)
- Proto java full runtime: avoid allocating Integers accessing enum lists (https://github.com/protocolbuffers/protobuf/commit/cc79f776dcb09164e7a0b6c11951679244a7828b)
- Split bootstrapped java_features.proto to keep it from leaking out. (https://github.com/protocolbuffers/protobuf/commit/2257232676e60f1d06f8c9545c88d1a73a3a8f54)
- Java Proto lite: avoid boxing Integers accessing enum lists (https://github.com/protocolbuffers/protobuf/commit/fb054c8e4141b0fe50c33d237a6650d98a412de8)
- In the Kotlin DSL, reference builder methods with property syntax. (https://github.com/protocolbuffers/protobuf/commit/e9c9970eb4ac488d9fb94e8dea6945d3881c405d)
- Java Proto Lite: Serialize repeated enums without allocating (https://github.com/protocolbuffers/protobuf/commit/de6aba9f639ced3dce03310121aa69c914eb7b0e)
- Avoid boxing when serializing primitive lists in CodedOutputStreamWriter (https://github.com/protocolbuffers/protobuf/commit/eaee04d89719ed8e0fde96b6d37cf741d866f511)
Kotlin
- Remove unused pom.xml files. (https://github.com/protocolbuffers/protobuf/commit/aaf5f798c0c40787e82dacc80df47dd96519dbd5)
- In the Kotlin DSL, reference builder methods with property syntax. (https://github.com/protocolbuffers/protobuf/commit/e9c9970eb4ac488d9fb94e8dea6945d3881c405d)
Csharp
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/8beb9705e495c57d55f6547c523d5817336ac35f)
- Handle groups in C# JsonParser (#16970) (https://github.com/protocolbuffers/protobuf/commit/092cc15f9d615850e7580a744deb316ad2175870)
- Introduce
MessageDescriptor.IsMapTypein C# reflection to make it easier to tell whether a given message was generated by protoc for a map field. (https://github.com/protocolbuffers/protobuf/commit/047fc7673eb2a7373f7ad8f5b094de201d737b36) - C#: Fix discovery of oneof declarations in descriptor protos. (https://github.com/protocolbuffers/protobuf/commit/b50ff60967b595765244d22945aed184cafee68a)
Objective-C
- [ObjC] Issue stderr warnings for deprecated generation options. (https://github.com/protocolbuffers/protobuf/commit/b2764205e943d9bc912c4504d95117179e9b38e1)
- [ObjC] Add api to add a field to another collection of unknown fields. (https://github.com/protocolbuffers/protobuf/commit/0790ab4d7a771d4ca79fa795cc96febfbb43ebb6)
- [ObjC] Fix GPBUnknownField/GPBUnknownFields copy. (https://github.com/protocolbuffers/protobuf/commit/b3b988885d91f31c9cdc058fd5249efc18a91d11)
- [ObjC] Raise an exception for a nil message. (https://github.com/protocolbuffers/protobuf/commit/35bd2be8286c736303083d7c2230d11ab3648672)
- [ObjC] Deprecate GPBUnknownFieldSet and related apis. (https://github.com/protocolbuffers/protobuf/commit/9f6ee72443312821874e1e0ed532014ddbf91f4f)
- [ObjC] More tests around unknown to known failure cases. (https://github.com/protocolbuffers/protobuf/commit/e822dce56d2ee8caee08897520aaae5d48bb1fea)
- [ObjC] Support errors when merging unknown fields to a message. (https://github.com/protocolbuffers/protobuf/commit/c46340eb36e7b8a2477b99062f0dc6816c9a0bcc)
- [ObjC] Add apis for removing things from
GPBUnknownFields. (https://github.com/protocolbuffers/protobuf/commit/c5c9c89441e6d04bc1246aa78f44a33f2a407251) - [ObjC] Collect unknown fields as data (https://github.com/protocolbuffers/protobuf/commit/a6b353582c7e8a5855f8075b131f2f81c191230a)
- [ObjC] Internal helper for getting the unknown field data from a message (https://github.com/protocolbuffers/protobuf/commit/bf2d4e707c139fa4d58bae68efbf232ed445c6f3)
- [ObjC] Update tests to use both unknown fields apis. (https://github.com/protocolbuffers/protobuf/commit/0832b52355c4ae4cde993cf8a09387d8c757525f)
- [ObjC] Deprecate GPBTextFormatForUnknownFieldSet(). (https://github.com/protocolbuffers/protobuf/commit/d1b6f8c8eb1e4a354fe7463828e53315936454c8)
- [ObjC] Parsing helper and tests around unknown fields. (https://github.com/protocolbuffers/protobuf/commit/9b16ee477ba88dc8d495c3a7b455cd6078977b1f)
- [ObjC] Add test around enum unknown values. (https://github.com/protocolbuffers/protobuf/commit/fad7b78e1a09e90f5387ff414fa8cf3d6844772e)
- [ObjC] Expose a helper for stream error. (https://github.com/protocolbuffers/protobuf/commit/cf7abf6c6bbb2a578901e312e3ec08d69049b274)
- [ObjC] Support MessageSet with
GPBUnknownFields. (https://github.com/protocolbuffers/protobuf/commit/ddf9b767041f3843e6348c12c715def215f5e9af) - [ObjC] Update MessageSet Parsing. (https://github.com/protocolbuffers/protobuf/commit/5fa8cd95746f9ff10d0914fb1efbde2154df5660)
- [ObjC] Validate MessageSet expectations. (https://github.com/protocolbuffers/protobuf/commit/3aa491cf8f689e17d8320c489b6c15266e5e301d)
- [ObjC] Improve parsing validations (https://github.com/protocolbuffers/protobuf/commit/ef4898fc5e8be4fe43ca9a51709a4097ff028c8d)
- [ObjC] Add Swift helpers for
GPBUnknownFields/GPBUnknownField. (https://github.com/protocolbuffers/protobuf/commit/6750ed8cd8eb9f109847cebdea86189e4fe64638) - [ObjC] Introduce the new
GPBUnknownFieldstype. (https://github.com/protocolbuffers/protobuf/commit/47f633eae687939fbb68af4661503685a8efd239) - Rename
DynamicCastToGenerated/DownCastToGeneratedto (https://github.com/protocolbuffers/protobuf/commit/18da465815e609732b902d8cbc79d2d12e90686d)
Rust
- Move -Werror to our test/dev bazelrc files. (#17938) (https://github.com/protocolbuffers/protobuf/commit/f5a1b178ad52c3e64da40caceaa4ca9e51045cb4)
- Add visibility for rust public aliases for '@protobuf//:protobuf_rust' (https://github.com/protocolbuffers/protobuf/commit/2cee1424616bd5c2a4fdc792722edb91e5bfea21)
- UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (https://github.com/protocolbuffers/protobuf/commit/f9dd9ce66e05d034378b4b37b82307f41fc3395c)
- Enable MessageLite::DebugString to use Message::DebugString where possible. (https://github.com/protocolbuffers/protobuf/commit/f810cc5b668d78cb982f44b34f188160d55c27d6)
- See also UPB changes below, which may affect Rust.
Python
- Raise warnings for deprecated python cpp extension GetDebugString(). (https://github.com/protocolbuffers/protobuf/commit/5fc5558f6e2a213a1e4160585d762bfe749d63ea)
- Remove service.py usages in builder (https://github.com/protocolbuffers/protobuf/commit/902a68a1591d7e46312cbb2b9ca4b6f9249e4d7e)
- Raise warnings for deprecated google/protobuf/reflection.py APIs. (https://github.com/protocolbuffers/protobuf/commit/38140ac5443f74a6248d259c30a6a885a358b301)
- Nextgen Proto Pythonic API: Struct/ListValue assignment and creation (https://github.com/protocolbuffers/protobuf/commit/e17821cac1f84989ab280cd92063ba86c4e6770b)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/8beb9705e495c57d55f6547c523d5817336ac35f)
- Make bytearray work (again) (#16691) (https://github.com/protocolbuffers/protobuf/commit/eb67a91cacd7345f02b432d51e581ee31fd2ca54)
- Nextgen Proto Pythonic API: Timestamp/Duration assignment, creation and calculation (https://github.com/protocolbuffers/protobuf/commit/b690e729eb86d9f505d1c14692100bfc39809603)
- Update rules_python to 0.28.0 (https://github.com/protocolbuffers/protobuf/commit/e1bf1f048e783578bcbdaa4572ce3c93908b6494)
- Nextgen Proto Pythonic API: “Add-on” proto for length prefixed serialize/parse (https://github.com/protocolbuffers/protobuf/commit/3a9f0743ea8d82f489a65f7d087fa01d26ac5f56)
- Rename
DynamicCastToGenerated/DownCastToGeneratedto (https://github.com/protocolbuffers/protobuf/commit/18da465815e609732b902d8cbc79d2d12e90686d) - Fixed printing of nan floats/doubles in Python. (https://github.com/protocolbuffers/protobuf/commit/f65108072bbedad2e590f038eb23b8ef2235c329)
- Nextgen Proto Pythonic API: “Add-on” proto for JSON serialize/parse (https://github.com/protocolbuffers/protobuf/commit/6c91de9de94e02f7b7e69bad1245f62035574429)
- Nextgen Proto Pythonic API: “Add-on” proto for serialize/parse (https://github.com/protocolbuffers/protobuf/commit/495ba7bcdbd806306f0dfab128b2081c17fd66fd)
- Use struct instead of ctype. allows the protobuf python library to work on cpython 3.11's new wasm target [1] (https://github.com/protocolbuffers/protobuf/commit/9de810acdc6e7e2bcac03d207632c0b9443596ea)
- Nextgen Proto Pythonic API: Add 'in' operator (https://github.com/protocolbuffers/protobuf/commit/24f27c3b88708a735968688d34aa02a28f403866)
- Automated rollback of commit
f799af8. (https://github.com/protocolbuffers/protobuf/commit/c4bf83b534e9736fe31e1f8ad6f640e316836ba5) - Catch all the exceptions in python JSON ParseDict and raise (https://github.com/protocolbuffers/protobuf/commit/9cc5be12edd35ed51949427316fe4dbae2709852)
PHP
- Chore(php): conformance testing for edition (#16712) (https://github.com/protocolbuffers/protobuf/commit/01744cccae57ca934ab925e13d2eaaf93761b1f4)
PHP C-Extension
- Fix segmentation faults with enabled keep_descriptor_pool_after_request (#16993) (https://github.com/protocolbuffers/protobuf/commit/e844510ee30e25017e94f9f43751abab159208c8)
- See also UPB changes below, which may affect PHP C-Extension.
Ruby
- [Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. (#17253) (https://github.com/protocolbuffers/protobuf/commit/fe9a53cb5184772f4160103233b65bd17e817d53)
- Remove
Arena_pinin favor of adopting the UPB freezing API. (https://github.com/protocolbuffers/protobuf/commit/1194440c2489fc58051a245b5db74c0fd1bbf4b0) - Fix Ruby FFI to pass
MiniTabletoupb_Message_New()akanew_message_from_def(). (https://github.com/protocolbuffers/protobuf/commit/47f4bc958bc719b905942738470718f03ca70b33)
Ruby C-Extension
- Move -Werror to our test/dev bazelrc files. (#17938) (https://github.com/protocolbuffers/protobuf/commit/f5a1b178ad52c3e64da40caceaa4ca9e51045cb4)
- [Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. (#17253) (https://github.com/protocolbuffers/protobuf/commit/fe9a53cb5184772f4160103233b65bd17e817d53)
- [Ruby] Fix mismatched pointer type (#17240) (https://github.com/protocolbuffers/protobuf/commit/0aa74497527c6656e073f2635019ebc2a946268c)
- Remove
Arena_pinin favor of adopting the UPB freezing API. (https://github.com/protocolbuffers/protobuf/commit/1194440c2489fc58051a245b5db74c0fd1bbf4b0) - See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
- Move -Werror to our test/dev bazelrc files. (#17938) (https://github.com/protocolbuffers/protobuf/commit/f5a1b178ad52c3e64da40caceaa4ca9e51045cb4)
- UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (https://github.com/protocolbuffers/protobuf/commit/f9dd9ce66e05d034378b4b37b82307f41fc3395c)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/8beb9705e495c57d55f6547c523d5817336ac35f)
- Fixed printing of nan floats/doubles in Python. (https://github.com/protocolbuffers/protobuf/commit/f65108072bbedad2e590f038eb23b8ef2235c329)
Other
- Remove
--copt="-Werror"from.bazelrc(#18005) (https://github.com/protocolbuffers/protobuf/commit/c9454f40e91bef6187e618f4856ebea240985c81) - Remove protobuf rust from BCR presubmits for now. (https://github.com/protocolbuffers/protobuf/commit/92552d37b733e0721ad35ec5ab552e2caa623ab2)
- Set -ex in test_java.yml (https://github.com/protocolbuffers/protobuf/commit/6a7e2154a25b49074880c1b25bf886ad654d2286)
- Refactor java maven GHA test to use our generated jars. (https://github.com/protocolbuffers/protobuf/commit/671ef8b8526fd8ba2d910c517a7d77b3d9d7c5c4)
- Remove
/utf-8flag added in #14197 (https://github.com/protocolbuffers/protobuf/commit/440dc8306decf9ec898b1cbac8b67b16bf204888) - Downgrade CMake to 3.29 to workaround Abseil issue. (https://github.com/protocolbuffers/protobuf/commit/cd75dd59824c5c60afb8ba894dc1db3a92bbc582)
- Add minimal Python support to MODULE.bazel (https://github.com/protocolbuffers/protobuf/commit/2eb4d69ed51c475a77ecd62742ef5064557b531f)
- Fix(bazel/python): incompatible_enable_proto_toolchain_resolution (#17078) (https://github.com/protocolbuffers/protobuf/commit/8434c12d160fcf2f6adc572f4e94947fb57c82c3)
- Add Rust support to MODULE.bazel (https://github.com/protocolbuffers/protobuf/commit/f3c140f96c9a7cb59f02289261c70c91bb9c009f)
- Add rules_fuzzing dependency to MODULE.bazel. (https://github.com/protocolbuffers/protobuf/commit/a450c9cad090e3e607099cb379c62050bf15eb5f)
- Reenable FFI tests on CRuby. (https://github.com/protocolbuffers/protobuf/commit/e595749c9c15a50d3f402cb66b2e7630f4f13ec6)
- Update comment for message_type (https://github.com/protocolbuffers/protobuf/commit/023e69d6ccf07cfa8ce6afa695f26008be08e476)
- Enable textproto conformance tests for "-0" and "-0F". (https://github.com/protocolbuffers/protobuf/commit/13caa08692d522df8812b1c6f6a88c70105d3941)
- Fix #10007: Propagate msvc-style link flags to clang-cl with Bazel (https://github.com/protocolbuffers/protobuf/commit/55592a28e74e0eeabf89c3fd056ec0d81068a9a2)
- Add system_python to protobuf_deps.bzl. (https://github.com/protocolbuffers/protobuf/commit/8a11178606ce85d9e561729328795471fe8a6de5)
v27.4: Protocol Buffers v27.4
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Java
- Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release. (https://github.com/protocolbuffers/protobuf/commit/8dd83da71cf7054470b68c71550a5a97d46121c0)
v27.3: Protocol Buffers v27.3
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- Revert workaround for std::mutex issues on github windows runners. (https://github.com/protocolbuffers/protobuf/commit/ba3e7d7a8aea8a9eafebe3407d94b877cf16e362)
C++
- Update staleness (https://github.com/protocolbuffers/protobuf/commit/b7ef2ca3c068f088752d03e5f6550ead365f497d)
- Omit the
_raw_default_instance_declaration when using DLL linkage. (https://github.com/protocolbuffers/protobuf/commit/22d9a030569292e5abd3e256ae512a135047c6de) - Refactor the way we turn on the optimization in StrongPointer. (https://github.com/protocolbuffers/protobuf/commit/a15c9c5dee34db5b0535206d938a9f2cf045d8ba)
Java
- Omit the
_raw_default_instance_declaration when using DLL linkage. (https://github.com/protocolbuffers/protobuf/commit/22d9a030569292e5abd3e256ae512a135047c6de)
PHP
PHP C-Extension
- Fix segmentation faults with enabled keep_descriptor_pool_after_request (#16993) (https://github.com/protocolbuffers/protobuf/commit/ca3b7320f3e846fdd5786abcde3e1e23f507c170)
Ruby
Ruby C-Extension
- [Ruby] Fix mismatched pointer type (#17240) (https://github.com/protocolbuffers/protobuf/commit/a1d47773a2deede19536660805c494b77ec46f89)
Other
- Remove
/utf-8flag added in #14197 (https://github.com/protocolbuffers/protobuf/commit/e20cb7aaf7e6fde6b09fbb3452fffa9fa2c656d1) - Downgrade CMake to 3.29 to workaround Abseil issue. (https://github.com/protocolbuffers/protobuf/commit/8a579c1af579c55bdf4fe6da81084ece3597f712)
- Upgrade macos-11 tests to macos-12 (https://github.com/protocolbuffers/protobuf/commit/aec8a7604d74a0e8aa14b45b1295984c0acd51f2)
- Use explicit names of our large runners (https://github.com/protocolbuffers/protobuf/commit/4e3b4f0819a7187f0c369ba1a7cd1cbca012e28a)
- Upgrade our C++ release tests to large runners. (https://github.com/protocolbuffers/protobuf/commit/fa2b2d61ea86ec5904105fcab97f50bdb4b93ac6)
v27.2: Protocol Buffers v27.2
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- Avoid calling absl::InitializeLog in protoc with MSVC (https://github.com/protocolbuffers/protobuf/commit/aa7fcb3662f677b6ef06b55d5cae9d5b242fa1ef)
C++
- Fix string_type bugs in edition 2023 (#17211) (https://github.com/protocolbuffers/protobuf/commit/4923b8d72d39a4189ca7c7b9e20359d6ba527a10)
- Add simple conformance test that builds the old gencode against the current runtime. (https://github.com/protocolbuffers/protobuf/commit/9cfb59b5e305dba959403b56112d9a8cf1f4d832)
- Make the underlying type of the enum by 8-bits instead of using bitfields for (https://github.com/protocolbuffers/protobuf/commit/316f493b2f7f87f4402caea0d0ae1f332e2550fb)
Java
- Cleanup imports and comments in V3 stubs. (https://github.com/protocolbuffers/protobuf/commit/270ca6681a686fea24e23f7a389e4e3997409a4c)
- Add stubs for GeneratedMessageV3, RepeatedFieldBuilderV3, SingleFieldBuilderV3 for compatibility with older <4.26.x gencode. (https://github.com/protocolbuffers/protobuf/commit/1e360a422a04942ff0758f4a390fb6c27b680c96)
- Fix checking unknown field set empty which wasn't exposed yet in 27.x (https://github.com/protocolbuffers/protobuf/commit/c7a006a225e0b94b639a9be694b03c835f4db6d6)
- Reserialize all unresolved features using java features from the generated pool in case of descriptors from the custom pool. (https://github.com/protocolbuffers/protobuf/commit/2426a02b90d61e6c18b8ffa411e76b1642f47ad6)
- Reparse unknown features using extension registry containing Java features. (https://github.com/protocolbuffers/protobuf/commit/e5ddc45645871fbe2c6fc089ebe09f72ca727b5e)
- Fix data race in crosslink. (https://github.com/protocolbuffers/protobuf/commit/3d71e22b7ae17cbe82dd20a29ef7ef4e75e06ec5)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/c4f359ebf03e235d348a363d3b76660c6c960773)
Csharp
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/29f1b5259ea224abcaa9a4eb5e28f804ea8d5097)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/c4f359ebf03e235d348a363d3b76660c6c960773)
Python
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/c4f359ebf03e235d348a363d3b76660c6c960773)
PHP
PHP C-Extension
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/29f1b5259ea224abcaa9a4eb5e28f804ea8d5097)
- See also UPB changes below, which may affect PHP C-Extension.
Ruby
Ruby C-Extension
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/29f1b5259ea224abcaa9a4eb5e28f804ea8d5097)
- See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
- Fix delimited inheritance in all languages. (https://github.com/protocolbuffers/protobuf/commit/c4f359ebf03e235d348a363d3b76660c6c960773)
Other
- Port windows bootstrapping fix (#17225) (https://github.com/protocolbuffers/protobuf/commit/19bd2115d04fcc6196e504a4f07d99b6f16be7d7)
v27.1: Protocol Buffers v27.1
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- Always report plugin support errors from protoc. (https://github.com/protocolbuffers/protobuf/commit/9a37881bc8520d0dfdd33bb96fbd3139c56ec7ee)
C++
- Fix a bug in edition defaults calculation. (https://github.com/protocolbuffers/protobuf/commit/887e95dade3b93daf6cc14e1ac7ccbccc66053a9)
Java
- Move back deprecation of java utf8 feature to 2024. (https://github.com/protocolbuffers/protobuf/commit/8ffc1d003071df0fbdf470c38e181c61cc178fa8)
Csharp
- Handle groups in C# JsonParser (#16970) (https://github.com/protocolbuffers/protobuf/commit/0e9dd4ca09cdd386ea0c86396aa542dad7238c1e)
Other
- Avoid ODR violations from bootstrapped protos (https://github.com/protocolbuffers/protobuf/commit/f61d89cf9ec051450cf9cb54182da40706fd1753)
v27.0: Protocol Buffers v27.0
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- Future-proof edition 2023 against feature value support windows. (https://github.com/protocolbuffers/protobuf/commit/fea6847e408d58e40a2f10ab124ae795afd703d4)
- Mark deleted fields in
descriptor.protoreserved (https://github.com/protocolbuffers/protobuf/commit/d2da4636c06ccad04371434dabbf24ca1c6ee83e) - Add extension declarations for known features. (https://github.com/protocolbuffers/protobuf/commit/f8d0a5b1dd6f5655be3c0d1a8aa1fec88e80c13a)
- Refactored the Java generator into separate packages and targets. (https://github.com/protocolbuffers/protobuf/commit/bd81fd95f30af51e86a36cf0279abec17890a324)
- Officially release Editions in 27.0. (https://github.com/protocolbuffers/protobuf/commit/baa83b6b43113a9b39c77e40dc4b10640abda657)
- Define lifetimes of edition 2023 features (https://github.com/protocolbuffers/protobuf/commit/77f62de93e2e84d6aab0364629919779970fb9f1)
- Implement feature lifetime validation in protoc and the C++ runtime. (https://github.com/protocolbuffers/protobuf/commit/b3b4497d61cabf1d0d37b10178f93c570ec67ac6)
- Add edition lifetime options for feature specs. (https://github.com/protocolbuffers/protobuf/commit/b09b3e46fe2a111d412251f6d043649334e9cbee)
- Enable editions support for Java Lite. (https://github.com/protocolbuffers/protobuf/commit/500c953d105d0447479be259a5fb0b6f7124e978)
- Release edition defaults CLI arguments. (https://github.com/protocolbuffers/protobuf/commit/7a0e10e0219fd753b97c2879eb9a92584a419105)
- Update protoc release to include editions language features protos for Java and C++ (https://github.com/protocolbuffers/protobuf/commit/6483c4755daadf1bceb95c4519851c52e8842d2e)
C++
- Future-proof edition 2023 against feature value support windows. (https://github.com/protocolbuffers/protobuf/commit/fea6847e408d58e40a2f10ab124ae795afd703d4)
- Prohibit using features in the same file they're defined in. (https://github.com/protocolbuffers/protobuf/commit/8c5f3a747bae377c92a780970416945c32780bfd)
- Fix validation checks of implicit presence. (https://github.com/protocolbuffers/protobuf/commit/bdf6b10e7c2cca02a79a96dac05560fba330cb96)
- Clarify map behaviors in editions. (https://github.com/protocolbuffers/protobuf/commit/61c91874c6817cdda85c2c256c3093be34f3eb41)
- Ensure we allocate overaligned types with aligned
operator new. (https://github.com/protocolbuffers/protobuf/commit/11ef0ffb873ebd270ab0266270ea965a04c5f2e5) - Fix text-format delimited field handling.(https://github.com/protocolbuffers/protobuf/commit/29c69ff00b58b60e67fcf40fd810009bd39b86c6)
- In debug mode, after clearing
oneofmessages on arenas, poison them if ASAN. (https://github.com/protocolbuffers/protobuf/commit/8826bafcf507120bdb77883e9a9c0c43a5f5a302) - Allow
string_typefor Edition 2023. (https://github.com/protocolbuffers/protobuf/commit/d8251ebc43cb21d3239a38554a2f0a618f368a78) - Breaking change: Ensure we allocate overaligned types with aligned
operator new. (https://github.com/protocolbuffers/protobuf/commit/11ef0ffb873ebd270ab0266270ea965a04c5f2e5) - Python JSON parser: Ignore invalid enum string values if
ignore_unknown_fieldsis set (#15887) (https://github.com/protocolbuffers/protobuf/commit/86abf35ef5ee5b1004ec11bebb36d84c2ef6645e) - Move
java_features.prototojava/core/srce/main/resources(https://github.com/protocolbuffers/protobuf/commit/274bc7f26ff9da996714cf5cd011a7edaf6ce34c) - Add an RAII namespace printer helper for C++ codegen. (https://github.com/protocolbuffers/protobuf/commit/8599ab5a5934579e9cb775b2cf2bcc69e67c2747)
- Enable editions support for Java Lite. (https://github.com/protocolbuffers/protobuf/commit/500c953d105d0447479be259a5fb0b6f7124e978)
- Add an RAII
ifndefhelper for C++ codegen. (https://github.com/protocolbuffers/protobuf/commit/1087274e7dc3ea6864af39a46091160b98e809f1) - Clear
oneofmessage fields even on arena on non-OPT builds. (https://github.com/protocolbuffers/protobuf/commit/5c183bda866e4410a66cda550d6afa2428408879) - Implement edition 2023 support in all Ruby runtimes. (https://github.com/protocolbuffers/protobuf/commit/bca8fb6117cf24785edb238d96bffe2c3a6d7164)
- Release edition defaults CLI arguments. (https://github.com/protocolbuffers/protobuf/commit/7a0e10e0219fd753b97c2879eb9a92584a419105)
- Deprecate
Arena::CreateMessagefor OSS. (https://github.com/protocolbuffers/protobuf/commit/d4bfe52d998dae068ea7e2d44decd234bb090c46) - Open sourcing
reflection_visit_fieds. (https://github.com/protocolbuffers/protobuf/commit/cfc07df845a6b5cfc6837e56f3bf8ed20e06eb76) - Fixed the use of c++ keywords within namespace names (#15954) (https://github.com/protocolbuffers/protobuf/commit/988194a591f0b82b1ae52590e4daa5f0519ef8c7)
- Fix pkg-config metadata for shared abseil on windows (#15888) (https://github.com/protocolbuffers/protobuf/commit/fe6edca15b2d80df79ab31117dc49621ef461202)
- Add
GetStringView()andGetRepeatedStringView()with scratch. (https://github.com/protocolbuffers/protobuf/commit/a3f5af066fcb16bc2e90e28c006597aef1904eab) - Avoid a 'may be used uninitialized' warning when built with '-c opt'. (#15846) (https://github.com/protocolbuffers/protobuf/commit/eb70b343aab7584ed164a6ab4b39789427d0474f)
- Add software prefetch to
ByteSizeLong(https://github.com/protocolbuffers/protobuf/commit/948ca2e0f3e74a2444bc4c3cc8da1d0a4cb82058) - Add prefetching in arena blocks. (https://github.com/protocolbuffers/protobuf/commit/9e57b8e0d800b90d38ab70ac12f086310eb2484e)
- Rename the
includingDefaultValueWithoutPresenceFieldsandalways_print_without_presence_fieldstoalwaysPrintFieldsWithNoPresencein the C++, Py and Java JSON serializers for consistency. (https://github.com/protocolbuffers/protobuf/commit/7d43131a0a3a2a7640208849eeac016c6c61374e) - Remove tags for arena cleanup nodes now that we have dedicated string cleanup blocks. (https://github.com/protocolbuffers/protobuf/commit/202b10639242d3ee1d10c5577618aa008e222ec4)
- Avoid unused-parameter warning in field accessor listeners. (https://github.com/protocolbuffers/protobuf/commit/f4d5c2c571038146de2ee2b22f399527510501d2)
- Add new
always_print_without_presence_fieldsoption to the C++ JSON serializer. (https://github.com/protocolbuffers/protobuf/commit/671b61b523dbec8bf8e41a61d5a8f689c3e2bb9f) - Fail to build descriptor if
ctypeis specified for non string/bytes fields (https://github.com/protocolbuffers/protobuf/commit/8b4c7a1f33eb6849b57b6457d12adbd001109273) - Check
ctype()inDescriptorBuilderfor edition 2023 and beyond. (https://github.com/protocolbuffers/protobuf/commit/307aeac9cf1b31a217921198e46a847179723240) - Fail building descriptors if
ctypeis used for fields other than string or bytes. (https://github.com/protocolbuffers/protobuf/commit/403e2078b4501359f04b2c0b60bf37b9305a9e0e) - Fix generation of
HasExtensionandExtensionSizefunctions to restrict to the (https://github.com/protocolbuffers/protobuf/commit/9f5be076540d3b7374987ba42499080075dd6678) - Add the privacy manifest to the C++ CocoaPod. (https://github.com/protocolbuffers/protobuf/commit/982ea24a9471f5bfbf411568aec8c938dfa7f5ae)
Java
- Lazily resolve features for proto2 and proto3 for compatibility with old open source gencode that does not invoke feature resolution from gencode static init. (#16907) (https://github.com/protocolbuffers/protobuf/commit/4483c6bb28a117a3c9e635a5a87465278218b6c7)
- Add
javato reserved names to escape extensions tojava_. This may break existing references to gencode for extensions namedjava. (https://github.com/protocolbuffers/protobuf/commit/c18cb9578209b74038e663fe62398b8f9633ccce) - Deprecate building from source with Maven to be removed in 4.28.x. (https://github.com/protocolbuffers/protobuf/commit/51b48a47913516f9985b232c0ed6e05d4631f753)
- Split bootstrapped
java_features.prototo keep it from leaking out. (https://github.com/protocolbuffers/protobuf/commit/d56cb7d768e19f5b64b49ff6fd91688973bdedb6) - Refactored the Java generator into separate packages and targets. (https://github.com/protocolbuffers/protobuf/commit/bd81fd95f30af51e86a36cf0279abec17890a324)
- Define lifetimes of edition 2023 features (https://github.com/protocolbuffers/protobuf/commit/77f62de93e2e84d6aab0364629919779970fb9f1)
- Check that size is non-negative when reading string or bytes in
StreamDecoder. (https://github.com/protocolbuffers/protobuf/commit/a94f57bd69e9a5999ba67736e4d70a9d7f96aaf5) - Fix text-format delimited field handling (https://github.com/protocolbuffers/protobuf/commit/29c69ff00b58b60e67fcf40fd810009bd39b86c6)
- Move
java_features.prototojava/core/srce/main/resources(https://github.com/protocolbuffers/protobuf/commit/274bc7f26ff9da996714cf5cd011a7edaf6ce34c) - Add
java_features.prototokotlin_mvnrelease (https://github.com/protocolbuffers/protobuf/commit/369732a581f44adc5a4dc5a03c866e9c7f04dc14) - Enable editions support for Java Lite. (https://github.com/protocolbuffers/protobuf/commit/500c953d105d0447479be259a5fb0b6f7124e978)
- Fix descriptor to access type via
getType()s.t. messages using delimited encoding are consistently treated as groups for Java lite. (https://github.com/protocolbuffers/protobuf/commit/9f001a965872b1c82e0f61e53aefb92109357213) - Make
UnsafeByteOperationsstable; removing experimental annotation. (https://github.com/protocolbuffers/protobuf/commit/0070ac118863d7bfd12fa3eeab09e78178e41c65) - Fix features inheritance of
oneoffields and extensions and fix/move unit tests to actually run. (https://github.com/protocolbuffers/protobuf/commit/eb10ebd169593600e57106d6cdc84d6ad226f9a8) - Add software prefetch to
ByteSizeLong(https://github.com/protocolbuffers/protobuf/commit/948ca2e0f3e74a2444bc4c3cc8da1d0a4cb82058) - Rename the
includingDefaultValueWithoutPresenceFieldsandalways_print_without_presence_fieldstoalwaysPrintFieldsWithNoPresencein the C++, Py and Java JSON serializers for consistency. (https://github.com/protocolbuffers/protobuf/commit/7d43131a0a3a2a7640208849eeac016c6c61374e) - Add a new
includingDefaultValueWithoutPresenceFieldsoption to the Java parser which is intended to replace the currentincludingDefaultValueFields. (https://github.com/protocolbuffers/protobuf/commit/58baeb4c3b664f8918d24cef5151083d9da9767c)
Kotlin
- Add
java_features.prototokotlin_mvnrelease (https://github.com/protocolbuffers/protobuf/commit/369732a581f44adc5a4dc5a03c866e9c7f04dc14)
Csharp
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/c3417f582fd3d1f825bde4edfd9dc8a9fb3ba65c)
- Optimize JSON parsing in
JsonTokenizer. (https://github.com/protocolbuffers/protobuf/commit/68e6e3e8eecd31b0078422f688a3f01fb881d367) - Avoid string concatenation when looking up enum values by name. (https://github.com/protocolbuffers/protobuf/commit/e6684ac037940c962c7fc3bd7b247b0e583bae2e)
- Cache
StringBuilderinstances in the .NETJsonTextTokenizer. (https://github.com/protocolbuffers/protobuf/commit/fac929d9aa607ccdfd078344ac12cee7d2b3fdda) - Enable Editions in the C# generator. (https://github.com/protocolbuffers/protobuf/commit/421040b32b002828f0a37404b62e1454fb610761)
- Runtime support for Protobuf Editions in C#. (https://github.com/protocolbuffers/protobuf/commit/450022de9939f5eaf9f33696c17005ee7609eecc)
- Tweak "group to property name" mapping for C#. Under editions, where fields using a delimited encoding have independent field names from type names, we want to use the specified field name. (https://github.com/protocolbuffers/protobuf/commit/139ea4d38525281349e38bcfadce449a6990421c)
- Ignore invalid enum string values in JSON, when invalid fields are being ignored. (https://github.com/protocolbuffers/protobuf/commit/55e50ba40679eb82269c62872116b76c5923d74d)
Objective-C
- Optimize startup be reducing selector lookup. (https://github.com/protocolbuffers/protobuf/commit/b375d010bf57a6d673125330ec47f6e6a7e03f5c)
- Add the privacy manifest to the ObjC CocoaPod. (https://github.com/protocolbuffers/protobuf/commit/0d9151519f28a2221c980594257d88c8bfe1be51)
Python
- Add temporary alias for
system_python.bzlat previous location . (#16787) (https://github.com/protocolbuffers/protobuf/commit/ffd753fb637b35b9b9c937eec31efc532546da5d) - Implement feature lifetime validation in
protocand the C++ runtime. (https://github.com/protocolbuffers/protobuf/commit/b3b4497d61cabf1d0d37b10178f93c570ec67ac6) - Fix text-format delimited field handling (https://github.com/protocolbuffers/protobuf/commit/29c69ff00b58b60e67fcf40fd810009bd39b86c6)
- Python JSON parser: Ignore invalid enum string values if
ignore_unknown_fieldsis set (#15887) (https://github.com/protocolbuffers/protobuf/commit/86abf35ef5ee5b1004ec11bebb36d84c2ef6645e) - Fix upb python: DO NOT create empty optional field after sorting empty repeated field (https://github.com/protocolbuffers/protobuf/commit/7cf02389b30088182269a862f235712f60ab278a)
- Enable Protobuf Python version check. (https://github.com/protocolbuffers/protobuf/commit/0442ed62cbea989742933d6c90f4f0a70078959a)
- Register Scalar/MessageMapContainerTypes as virtual subclasses of MutableMapping instead of inheriting directly. (https://github.com/protocolbuffers/protobuf/commit/5b32936822e64b796fa18fcff53df2305c6b7686)
- Rename the
includingDefaultValueWithoutPresenceFieldsandalways_print_without_presence_fieldstoalwaysPrintFieldsWithNoPresencein the C++, Py and Java JSON serializers for consistency. (https://github.com/protocolbuffers/protobuf/commit/7d43131a0a3a2a7640208849eeac016c6c61374e) - Add new
including_default_value_without_presence_fieldsto Python JSON serializer. (https://github.com/protocolbuffers/protobuf/commit/25c6d34d4ef6e19e490790b015764847f172a1a5) - Adhere to PEP 8 (#15127) (https://github.com/protocolbuffers/protobuf/commit/21ab7459ee43c0d5079e9f7708d453f68a5fd0e5)
PHP
- Don't break the trace (#11311) (https://github.com/protocolbuffers/protobuf/commit/d67f921f90e3aa03f65c3e1e507ca7017c8327a6)
- Fix inconsistent timestamp json encode/decode (#12396) (https://github.com/protocolbuffers/protobuf/commit/47e92cd689466a01ab128ac0bb02cfbde3a1fb46)
- Feat: more readable phpdoc escaping (#11208) (https://github.com/protocolbuffers/protobuf/commit/f929439ccd19872d71f56050e6ba7af3cd7c753c)
PHP C-Extension
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/c3417f582fd3d1f825bde4edfd9dc8a9fb3ba65c)
- See also UPB changes below, which may affect PHP C-Extension.
Ruby
- Add bigdecimal to dependencies (#16379) (https://github.com/protocolbuffers/protobuf/commit/d810ef6be77c079b890e92a20e5b37cfd8768a0b)
- Implement service & method descriptor lookup in Ruby (#15817) (https://github.com/protocolbuffers/protobuf/commit/2082ee8bb5a7966d7e921c848778eb0dec431d56)
- Implement edition 2023 support in all Ruby runtimes. (https://github.com/protocolbuffers/protobuf/commit/bca8fb6117cf24785edb238d96bffe2c3a6d7164)
- Ruby implement
memsizefunctions for native types (#10291) (https://github.com/protocolbuffers/protobuf/commit/87cbdddbf0055d2dfeb87245984126fba7549d3e) - Moved
ObjectCacheinto an internal module. (https://github.com/protocolbuffers/protobuf/commit/f824f6d0d7337b193e5a6d277236b79706a6c319) - [Ruby] Delegate difference, intersection, union from
RepeatedFieldtoArray(#15652) (https://github.com/protocolbuffers/protobuf/commit/11eab86cc0ba1aecaa0dbb5e4a530cec274aa989) - Move the
RubyMessage.javaJSON "include defaults" to use alwaysPrintFieldsWithNoPresence. (https://github.com/protocolbuffers/protobuf/commit/4d23fa068a5eed1284645ef0d5ed32068986068f) - Increased the size of the error message buffer by 4x, to 511 bytes. (https://github.com/protocolbuffers/protobuf/commit/32a6f7a18c1bbf6c6eab3fa027bd0b33b62654d0)
Ruby C-Extension
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/c3417f582fd3d1f825bde4edfd9dc8a9fb3ba65c)
- Implement service & method descriptor lookup in Ruby (#15817) (https://github.com/protocolbuffers/protobuf/commit/2082ee8bb5a7966d7e921c848778eb0dec431d56)
- Implement edition 2023 support in all Ruby runtimes. (https://github.com/protocolbuffers/protobuf/commit/bca8fb6117cf24785edb238d96bffe2c3a6d7164)
- Ruby implement
memsizefunctions for native types (#10291) (https://github.com/protocolbuffers/protobuf/commit/87cbdddbf0055d2dfeb87245984126fba7549d3e) - Moved
ObjectCacheinto an internal module. (https://github.com/protocolbuffers/protobuf/commit/f824f6d0d7337b193e5a6d277236b79706a6c319) - See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
- Regenerate stale files (https://github.com/protocolbuffers/protobuf/commit/c3417f582fd3d1f825bde4edfd9dc8a9fb3ba65c)
- Setup upb installation with
cmake. (https://github.com/protocolbuffers/protobuf/commit/6898451f5e4c84e79a6f48ea6c46959960743970) - Fix text-format delimited field handling (https://github.com/protocolbuffers/protobuf/commit/29c69ff00b58b60e67fcf40fd810009bd39b86c6)
- Print non-extension fields by field number order instead of
.protofile order. (https://github.com/protocolbuffers/protobuf/commit/8612d5e771877123e7fb74d91aaef3912a870a9a) - Implement service & method descriptor lookup in Ruby (#15817) (https://github.com/protocolbuffers/protobuf/commit/2082ee8bb5a7966d7e921c848778eb0dec431d56)
- Implement edition 2023 support in all Ruby runtimes. (https://github.com/protocolbuffers/protobuf/commit/bca8fb6117cf24785edb238d96bffe2c3a6d7164)
- Adds mutable extension accessors to the codegen for upb C for getting mutable extension messages. (https://github.com/protocolbuffers/protobuf/commit/e8244da7c65cac3a410711fd324de73b78a645e7)
- Ruby implement
memsizefunctions for native types (#10291) (https://github.com/protocolbuffers/protobuf/commit/87cbdddbf0055d2dfeb87245984126fba7549d3e) - Increased the size of the error message buffer by 4x, to 511 bytes. (https://github.com/protocolbuffers/protobuf/commit/32a6f7a18c1bbf6c6eab3fa027bd0b33b62654d0)
Other
- MODULE.bazel fixes for protobuf BCR release. (#16927) (https://github.com/protocolbuffers/protobuf/commit/f396506571fa1837704588b38cfb099f36c84fe3)
- Fix whitespace merge issue in gencode (https://github.com/protocolbuffers/protobuf/commit/f8a4a6880ec6453c5a9427a240169e917eacd3a3)
- Work around windows path length limitations by moving immutable -> full in open source (new generator paths) and shortening long file names. (#16825) (https://github.com/protocolbuffers/protobuf/commit/615e7045c5cee13cff3484f67dfb5d7fdd851909)
- Move the windows path length workarounds out of protobuf-ci (https://github.com/protocolbuffers/protobuf/commit/9d715cb69d198c520a0ff953251a08ddc909f7a7)
- Update
src/file_lists.cmakefor staleness (https://github.com/protocolbuffers/protobuf/commit/cd337dda70a25ccfee0f53daf758f8516b8af0c1) - Add
system_pythontoprotobuf_deps.bzl. (https://github.com/protocolbuffers/protobuf/commit/65ee12380e284c1ca8a3a1921c2682876896a87c) - Migrate bazel tests to protobuf-ci. (https://github.com/protocolbuffers/protobuf/commit/1ee203b04546d3575b102535b57188b2ccbaaca1)
- Fix bazel cache issues in 7.0.0 (https://github.com/protocolbuffers/protobuf/commit/16acf7ed86f5fcc2f2b68b108b397412121bb6c6)
- Add redirects for C++ and Java proto rules (https://github.com/protocolbuffers/protobuf/commit/9da1b86c30a12286f63501fe7eace2153ed2bc34)
- Add redirects for proto rules (https://github.com/protocolbuffers/protobuf/commit/d4d34abd7d66dc93c8f7f52f28411cd9c2867c29)
- Feat: automate publishing releases to Bazel Central Registry (#16014) (https://github.com/protocolbuffers/protobuf/commit/d2b71b347df6c8af5c3ee1c833f41b7772e3f250)
- Add PrivacyInfo.xcprivacy (#15557) (https://github.com/protocolbuffers/protobuf/commit/684660f025703afbc4775dedf9a0bf732b696cf1)
v26.1: Protocol Buffers v26.1
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
C++
- Expand cpp_features_proto_srcs visibility (https://github.com/protocolbuffers/protobuf/commit/2d3d8ba410550082ee20777653a2a1d515ff8036)
- Move java_features.proto to java/core/srce/main/resources (https://github.com/protocolbuffers/protobuf/commit/22f11700bc7b352308a3f49ba99639f9de8aaffa)
Java
- Fix validateFeatures to be called after resolved features are actually set to this.features (https://github.com/protocolbuffers/protobuf/commit/9bf69ecc833757839421b89e92ddb4dc09b2af0d)
- Move java_features.proto to java/core/srce/main/resources (https://github.com/protocolbuffers/protobuf/commit/22f11700bc7b352308a3f49ba99639f9de8aaffa)
- Set label to REQUIRED for descriptors with LEGACY_REQUIRED feature. (https://github.com/protocolbuffers/protobuf/commit/4886a9cd8ffe81caf4c4b5b9ef7ce0de426a7b08)
- Add java_features.proto to kotlin_mvn release (https://github.com/protocolbuffers/protobuf/commit/0e4abf965ca48568457824ddb7944a4e70674411)
Kotlin
- Add java_features.proto to kotlin_mvn release (https://github.com/protocolbuffers/protobuf/commit/0e4abf965ca48568457824ddb7944a4e70674411)
Ruby
- Cherry-pick required label handling in JRuby field descriptor from https://github.com/protocolbuffers/protobuf/commit/bca8fb6117cf24785edb238d96bffe2c3a6d7164 (https://github.com/protocolbuffers/protobuf/commit/2e51ff6de3e8c594d965b2ad8952b911383cf0bf)
Other
- Update protoc release to include editions language features protos for Java and C++ (https://github.com/protocolbuffers/protobuf/commit/7f457737f37373c181b649d4eb01e23bd198bcb4)
- Fix Android platforms constraint (#16246) (#16271) (https://github.com/protocolbuffers/protobuf/commit/b4e18708070a75d80965fb16ced60661e531bd9a)
- Add back android config_setting that looks for //external:android/crosstool (#16127) (#16264) (https://github.com/protocolbuffers/protobuf/commit/a97c927b51a140bb4b47726a0f61afaef44f0f6e)
v26.0: Protocol Buffers v26.0
Announcements
- This version includes breaking changes to: Java, PHP, C++, Ruby, Python.
- [Java] Remove the deprecated always_print_primitive_fields option from Java, Python and C++ JSON parsers. (https://github.com/protocolbuffers/protobuf/commit/06e7caba58ede0220b110b89d08f329e5f8a7537)
- [Java] Remove unused helper methods for creating new mutable arraylists. (https://github.com/protocolbuffers/protobuf/commit/787447430fc9a69c071393e85a380b664d261ab4)
- [Java] Use Editions features in Java full runtimes. (https://github.com/protocolbuffers/protobuf/commit/65c65c2d04b293225db150029d005056a9f078b8)
- [Java] Stop generating the "newInstance" method. This is not used anymore. (https://github.com/protocolbuffers/protobuf/commit/c0d08bdcade9d44698015b85c9c23343ca1319b7)
- [Java] Remove unused overload of AbstractMessageLite.addAll that worked on a Collection instead of a List. (https://github.com/protocolbuffers/protobuf/commit/3b9bd6db71d20832980e579e0b9b03eb39e96a1f)
- [Java] Remove obsolete runtime internalBuildGeneratedFileFrom which was for backwards compatibility with old gencode. (https://github.com/protocolbuffers/protobuf/commit/9310d2e817a987878b03f8b5215fdbfea766ad23)
- [Java] Remove unnecessary overloads of methods: (https://github.com/protocolbuffers/protobuf/commit/94a2a448518403341b8aa71335ab1123fbdcccd8)
- [Java] Remove unnecessary generated overrides for GeneratedMessage.Builder methods: (https://github.com/protocolbuffers/protobuf/commit/7bff169d32710b143951ec6ce2c4ea9a56e2ad24)
- [Java] The base class for generated messages will be GeneratedMessage, not GeneratedMessageV3.
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
This seems to break compatibility with bazel < 6.3:
ERROR: /home/runner/.cache/bazel/_bazel_runner/8c1e0159f4edbec0d500d51744201c1f/d470f2a9fbd7bfdac98352b759be089a/external/com_google_protobuf/upb_generator/BUILD:289:21: @com_google_protobuf//upb_generator:protoc-gen-upb_toolchain: no such attribute 'output_files' in 'proto_lang_toolchain' rule
Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.