-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit e736141
authored
Update dependency com_google_protobuf to v32 (#563)
> [!NOTE]
> Mend has cancelled [the proposed
renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842)
of the Renovate GitHub app being renamed to `mend[bot]`.
>
> This notice will be removed on 2025-10-07.
<hr>
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[com_google_protobuf](https://redirect.github.com/protocolbuffers/protobuf)
| http_archive | major | `v29.5` -> `v32.1` |
---
### Release Notes
<details>
<summary>protocolbuffers/protobuf (com_google_protobuf)</summary>
###
[`v32.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v32.1):
Protocol Buffers v32.1
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v32.0...v32.1)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Compiler
- Ship all option dependencies to plugins along with regular ones.
([`34d6c85`](https://redirect.github.com/protocolbuffers/protobuf/commit/34d6c85206e33cb9620fcc9fe882111864020d72))
- Unify plugin and built-in generators to use request/response interface
([`b98f6ee`](https://redirect.github.com/protocolbuffers/protobuf/commit/b98f6ee02113550c1bc7bacbde9909724532723e))
- Disable symbol visibility enforcement by default in C++ runtime
([`aad0daa`](https://redirect.github.com/protocolbuffers/protobuf/commit/aad0daacdf3dbaf3bdd0381115231975c28b789d))
### C++
- Disable symbol visibility enforcement by default in C++ runtime
([`aad0daa`](https://redirect.github.com/protocolbuffers/protobuf/commit/aad0daacdf3dbaf3bdd0381115231975c28b789d))
### Java
- Fix handling of optional dependencies in java generator.
([`892e0d5`](https://redirect.github.com/protocolbuffers/protobuf/commit/892e0d526e9478814fdedbc576d65ea55c5f71dd))
- Restore Protobuf Java extension modifiers in gencode that were
previously removed in
[`7bff169`](https://redirect.github.com/protocolbuffers/protobuf/commit/7bff169d32710b143951ec6ce2c4ea9a56e2ad24)
([`4a18be6`](https://redirect.github.com/protocolbuffers/protobuf/commit/4a18be6f448dd5b29026864f4642ef63fe90d83a))
- Restore ABI compatibility for extension methods which was previously
(knowingly) broken with 4.x:
[`94a2a44`](https://redirect.github.com/protocolbuffers/protobuf/commit/94a2a448518403341b8aa71335ab1123fbdcccd8)
([`501f4a5`](https://redirect.github.com/protocolbuffers/protobuf/commit/501f4a52207aebd9642c9f005d27fa6d1011e89f))
- Cherrypick test improvements
([`d365736`](https://redirect.github.com/protocolbuffers/protobuf/commit/d365736f4f6e4e496deca7051b5fa574c52cc45f))
- Fix handling of optional dependencies in java generator.
([`9325480`](https://redirect.github.com/protocolbuffers/protobuf/commit/9325480155d79a31985ba54a7f07864dc80389c3))
- Ship all option dependencies to plugins along with regular ones.
([`34d6c85`](https://redirect.github.com/protocolbuffers/protobuf/commit/34d6c85206e33cb9620fcc9fe882111864020d72))
- Unify plugin and built-in generators to use request/response interface
([`b98f6ee`](https://redirect.github.com/protocolbuffers/protobuf/commit/b98f6ee02113550c1bc7bacbde9909724532723e))
### Csharp
- Regenerate stale files
([`299774c`](https://redirect.github.com/protocolbuffers/protobuf/commit/299774c2c31bb9bdfd1304489a366f358f394ba8))
### PHP
- Fix: remove provide from composer.json
([`bc5f303`](https://redirect.github.com/protocolbuffers/protobuf/commit/bc5f3034da72f8703c1b81eab7b994d94d5faa59))
###
[`v32.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v32.0):
Protocol Buffers v32.0
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v31.1...v32.0)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Bazel
- Migrates some Java test protos using java\_features.proto to edition
2024
([`6f4a990`](https://redirect.github.com/protocolbuffers/protobuf/commit/6f4a9900f4c590f7c96297b1cff5a2256968e912))
- Add generated message reflection unittest for `import option` and
`option_deps` test proto in edition 2024.
([`c51df73`](https://redirect.github.com/protocolbuffers/protobuf/commit/c51df736505595461a0ce4c2ca703d08744a8e5e))
- Replace the usage of cc\_info.debug\_context with \_debug\_context
([`776c5f2`](https://redirect.github.com/protocolbuffers/protobuf/commit/776c5f2b7bc176a7eb442ad61803793d917a2e7e))
- Generate .pyi files in py\_proto\_library
([#​10366](https://redirect.github.com/protocolbuffers/protobuf/issues/10366))
([#​21567](https://redirect.github.com/protocolbuffers/protobuf/issues/21567))
([`e3e56c7`](https://redirect.github.com/protocolbuffers/protobuf/commit/e3e56c72a9fafb64fd25853e183fffa2bd12b0b7))
- Introduce denylisted\_protos as a preferred replacement for
blacklisted\_protos attribute.
([`795ab9d`](https://redirect.github.com/protocolbuffers/protobuf/commit/795ab9db868103cd94f9241951b0bda9ab08e122))
- Use native.proto\_library for Bazel 7 and explicitly error for Bazel 6
which is incompatible and out of support.
([`da0077e`](https://redirect.github.com/protocolbuffers/protobuf/commit/da0077eb6289b6a6eaf307a07c53585cd9d223c5))
- Require ProtoInfo provider instead of proto\_library rule for bazel
cc\_proto\_library deps.
([`639f1c9`](https://redirect.github.com/protocolbuffers/protobuf/commit/639f1c9d21a80a06749528759d44c8c59fd9b5b3))
### Compiler
- Strip extensions from option imports that are known in
CollectExtensions due to polluted pool from protoc parse when used with
protoc full + java built in generator.
([`ef3f9ca`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef3f9ca1959d79312a227894b21388f300947e63))
- Deprecate `google.protobuf.Method.syntax` and
`google.protobuf.Method.edition`
([`9ec241e`](https://redirect.github.com/protocolbuffers/protobuf/commit/9ec241ea04f455fe9d941d71447c24da4d9ed412))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Ban `import weak` and `weak` field option in edition 2024 in protoc
(parser and c++ runtime).
([`a2a0511`](https://redirect.github.com/protocolbuffers/protobuf/commit/a2a051112fc9db0250d7acfb19283c7d1339319f))
### C++
- Strip extensions from option imports that are known in
CollectExtensions due to polluted pool from protoc parse when used with
protoc full + java built in generator.
([`ef3f9ca`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef3f9ca1959d79312a227894b21388f300947e63))
- Manually migrate top-level protobuf unittest protos from edition 2023
to edition 2024.
([`7359f75`](https://redirect.github.com/protocolbuffers/protobuf/commit/7359f751a6d22a9ad22c6d175f560884b06c203c))
- Add generated message reflection unittest for `import option` and
`option_deps` test proto in edition 2024.
([`c51df73`](https://redirect.github.com/protocolbuffers/protobuf/commit/c51df736505595461a0ce4c2ca703d08744a8e5e))
- Remove the flag requirement for Bazel+MSVC users.
([`c6ba697`](https://redirect.github.com/protocolbuffers/protobuf/commit/c6ba697d950f9277594646bd4dcb280eda6c2ba9))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Cast GetCachedTID() to unsigned to prevent left-shifting a negative
number.
([`3e935cf`](https://redirect.github.com/protocolbuffers/protobuf/commit/3e935cfe8827510a30f518178cfa9b178a7d1232))
- Update comment at the top of message.h and message\_lite.h to document
that it should only be extended by gencode and not user code.
([`6a6ba52`](https://redirect.github.com/protocolbuffers/protobuf/commit/6a6ba52361b769f73eb5fcd782421f100c62a383))
- Treat warnings encountered in chromium builds as errors.
([`21c3c53`](https://redirect.github.com/protocolbuffers/protobuf/commit/21c3c5319634e7faa51c671c7b175cb250c9ad47))
- Ban `import weak` and `weak` field option in edition 2024 in protoc
(parser and c++ runtime).
([`a2a0511`](https://redirect.github.com/protocolbuffers/protobuf/commit/a2a051112fc9db0250d7acfb19283c7d1339319f))
### Java
- Strip extensions from option imports that are known in
CollectExtensions due to polluted pool from protoc parse when used with
protoc full + java built in generator.
([`ef3f9ca`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef3f9ca1959d79312a227894b21388f300947e63))
- Remove CollectExtensions check banning unknown custom options since
unknown custom options are now expected when using `import option` and
`option_deps` which exclude the options from the "builder" pool (aka
"import" pool).
([`694eedd`](https://redirect.github.com/protocolbuffers/protobuf/commit/694eedd395e2f5bcc4d0dfe28f0ef80efb80edd7))
- Manually migrate top-level protobuf unittest protos from edition 2023
to edition 2024.
([`7359f75`](https://redirect.github.com/protocolbuffers/protobuf/commit/7359f751a6d22a9ad22c6d175f560884b06c203c))
- Migrates some Java test protos using java\_features.proto to edition
2024
([`6f4a990`](https://redirect.github.com/protocolbuffers/protobuf/commit/6f4a9900f4c590f7c96297b1cff5a2256968e912))
- Restore compatibility of runtime with pre-3.22.x gencode impacted by
CVE-2022-3171
([`adf556f`](https://redirect.github.com/protocolbuffers/protobuf/commit/adf556f864f5e66afa4645558382eed86145e525))
- Update our compiled\_edition\_default's maximum\_edition to 2024
([#​22870](https://redirect.github.com/protocolbuffers/protobuf/issues/22870))
([`6216ae4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6216ae471f22f407b6e74ed70e688872f2761d35))
- Restore the long-deprecated static functions on TextFormat.
([`5777d3b`](https://redirect.github.com/protocolbuffers/protobuf/commit/5777d3b0a0e05687badfab58882626d66d59c1e9))
- Add Kotlin class name helpers to names.h
([`527b2ab`](https://redirect.github.com/protocolbuffers/protobuf/commit/527b2ab41e785149a6189dba3052a210959b1372))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Update Java gencode base class documentation to clarify that it is not
supported to extend them.
([`c3177fb`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3177fb1e26f2c9a4e9c877663ef20898bf07f55))
- Add a FieldMaskUtil#trim overload that accepts TrimOptions and allows
retaining unset primitive field state.
([`84c5b63`](https://redirect.github.com/protocolbuffers/protobuf/commit/84c5b6314a10d48028b6406de323f919666811c8))
### Csharp
- Update staleness
([`0014173`](https://redirect.github.com/protocolbuffers/protobuf/commit/001417304f75d5fd9fde61b3f0b2c4c7bfd35671))
- Manually migrate top-level protobuf unittest protos from edition 2023
to edition 2024.
([`7359f75`](https://redirect.github.com/protocolbuffers/protobuf/commit/7359f751a6d22a9ad22c6d175f560884b06c203c))
- Update our compiled\_edition\_default's maximum\_edition to 2024
([#​22870](https://redirect.github.com/protocolbuffers/protobuf/issues/22870))
([`6216ae4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6216ae471f22f407b6e74ed70e688872f2761d35))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Include also ARM build of protoc in nuget package
([#​21568](https://redirect.github.com/protocolbuffers/protobuf/issues/21568))
([`c2b4040`](https://redirect.github.com/protocolbuffers/protobuf/commit/c2b40409edf288be6200f36935dfb21f4cf7897a))
- Improve C# handling of Any JSON serialization/deserialization
([`dc4e429`](https://redirect.github.com/protocolbuffers/protobuf/commit/dc4e4295a4515c593cd8b96e63b3581cc99ac97f))
### Objective-C
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
### Rust
- Rust: remove `DEP_UPB_VERSION` check in codegen crate
([#​22764](https://redirect.github.com/protocolbuffers/protobuf/issues/22764))
([`6f6012a`](https://redirect.github.com/protocolbuffers/protobuf/commit/6f6012a115ba157db7294add4d4420863aae780c))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Update Rust generator to output minidescriptors instead of C
minitables
([`1b4b5fc`](https://redirect.github.com/protocolbuffers/protobuf/commit/1b4b5fc1ff28bf642b51008a413c2a65046b2aa1))
- Add \[clear\_and\_]parse\_dont\_enforce\_required() to Rust protobuf.
([`e2fd7a0`](https://redirect.github.com/protocolbuffers/protobuf/commit/e2fd7a0d9d9bd1daaf377f30cb55bbbb7abbf278))
- Add #\[non\_exhaustive] on the oneof-case enum
([`aba2075`](https://redirect.github.com/protocolbuffers/protobuf/commit/aba2075ccb087e526621a2036c2c4c14964f8051))
- Impl Clone for RepeatedIter
([`aca1ed5`](https://redirect.github.com/protocolbuffers/protobuf/commit/aca1ed5be8251d2001add8e925da195da393b415))
- *See also UPB changes below, which may affect Rust.*
### Python
- Strip extensions from option imports that are known in
CollectExtensions due to polluted pool from protoc parse when used with
protoc full + java built in generator.
([`ef3f9ca`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef3f9ca1959d79312a227894b21388f300947e63))
- Manually migrate top-level protobuf unittest protos from edition 2023
to edition 2024.
([`7359f75`](https://redirect.github.com/protocolbuffers/protobuf/commit/7359f751a6d22a9ad22c6d175f560884b06c203c))
- Raise warnings for float\_precision from python json\_format.
([#​23042](https://redirect.github.com/protocolbuffers/protobuf/issues/23042))
([`1a7e012`](https://redirect.github.com/protocolbuffers/protobuf/commit/1a7e012e87423941b19cb1108eb26701a763afc5))
- Raise warnings when assign bool to int/enum
([#​23030](https://redirect.github.com/protocolbuffers/protobuf/issues/23030))
([`0b25f7b`](https://redirect.github.com/protocolbuffers/protobuf/commit/0b25f7ba1ed9fdf78608b7ce3a41cca95cc823f4))
- Update python edition default maximum edition to 2024
([#​22889](https://redirect.github.com/protocolbuffers/protobuf/issues/22889))
([`72abf95`](https://redirect.github.com/protocolbuffers/protobuf/commit/72abf95272cbe446460d7a464bbebb3f564efaff))
- Make protobuf codebase compatible with
`--incompatible_config_setting_private_default_visibility`
([#​22745](https://redirect.github.com/protocolbuffers/protobuf/issues/22745))
([`5e2838e`](https://redirect.github.com/protocolbuffers/protobuf/commit/5e2838e5987468670f933fd3d8861e8890d98596))
- Add Python deprecation warnings for Descriptor Label.
([`64a76e6`](https://redirect.github.com/protocolbuffers/protobuf/commit/64a76e68e08ba3a55e6cfd94c9df006d0b21239e))
- Updating setuptools to patch CVE-2025-47273
([#​22094](https://redirect.github.com/protocolbuffers/protobuf/issues/22094))
([`508aba1`](https://redirect.github.com/protocolbuffers/protobuf/commit/508aba1b50e28d4d1aecd51a64dd4aa44af0de2a))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Extend gencode compatibility support back to 3.20.0
([`1af7fd4`](https://redirect.github.com/protocolbuffers/protobuf/commit/1af7fd407c85c9c1f34b6ca8441cfb3a72d4f5ea))
- Change proto\_api work with custom pool for upb and pure python.
([`49d9e2d`](https://redirect.github.com/protocolbuffers/protobuf/commit/49d9e2dca5dfc2bd662e87a9039e1270391803ec))
- Python pyi print "import datetime" for Duration/Timestamp field
([`f59b84a`](https://redirect.github.com/protocolbuffers/protobuf/commit/f59b84abbdc92c3b42a99e92c40dc4f816896f23))
- Add reference leak check to Python well\_known\_types\_test. Fix two
refleak bugs.
([`e5f9ab4`](https://redirect.github.com/protocolbuffers/protobuf/commit/e5f9ab4d073996b0b7a700a300bb2f9c61976e98))
- Add reference leak check to Python timestamp\_test and duration\_test.
Fix a refleak bug when assign datetime/duration to Timestamp/Duration
([`e004c8b`](https://redirect.github.com/protocolbuffers/protobuf/commit/e004c8bb3f26af6a45c86fd885d29af928074ff2))
- Add recursion depth limits to pure python
([`17838be`](https://redirect.github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901))
- Remove calls to Label within Protobuf Python.
([`f69180a`](https://redirect.github.com/protocolbuffers/protobuf/commit/f69180a6c13be76254e94548adea9d347c3707a6))
- Change Python .pyi stubs to generated \_Optional\[] for bool fields
same with
([`6972464`](https://redirect.github.com/protocolbuffers/protobuf/commit/69724647ea60c41713b194e0893cc8dce85a056a))
- Remove internal/api\_implementation.Version()
([`cbad456`](https://redirect.github.com/protocolbuffers/protobuf/commit/cbad4567c0f265142b5de8d98d6e9b3323911909))
- Fix python proto\_api to work with messages that required fields are
not set.
([`f63ed55`](https://redirect.github.com/protocolbuffers/protobuf/commit/f63ed55d4b85ad3cd558057e178c035e70c02c77))
- Fix python upb crashes on map/repeated reference stub destructor
([`4274909`](https://redirect.github.com/protocolbuffers/protobuf/commit/42749093dc9adc2b31014edf78860ce65db30756))
- Mark Py JSON float\_precision deprecated.
([`727a8ed`](https://redirect.github.com/protocolbuffers/protobuf/commit/727a8ed2c7144381dff1022990750a12a8b7cd44))
### PHP
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Fix(php): use count instead of ->count() to avoid bug in c-extension
([`9fbce62`](https://redirect.github.com/protocolbuffers/protobuf/commit/9fbce6259770dafd5ef7ca1ad7f6bf84eac8cd09))
- \[php]\[compiler]\[ext] - Add missing has\* methods and other well
known types
([#​20636](https://redirect.github.com/protocolbuffers/protobuf/issues/20636))
([`01a7429`](https://redirect.github.com/protocolbuffers/protobuf/commit/01a7429792ce5efeb2c6187baf4646a04652f1b2))
- Fix PHP 8.4 deprecation in GPBDecodeException
([#​21232](https://redirect.github.com/protocolbuffers/protobuf/issues/21232))
([`676666e`](https://redirect.github.com/protocolbuffers/protobuf/commit/676666ef57f3feb0032650212e518123addb0cac))
##### PHP C-Extension
- Update our compiled\_edition\_default's maximum\_edition to 2024
([#​22870](https://redirect.github.com/protocolbuffers/protobuf/issues/22870))
([`6216ae4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6216ae471f22f407b6e74ed70e688872f2761d35))
- Change 'getLabel is deprecated' to E\_USER\_DEPRECATED
([`158d8ac`](https://redirect.github.com/protocolbuffers/protobuf/commit/158d8acd6e3e69b5c74464e9dc7d76560dad724d))
- \[php]\[compiler]\[ext] - Add missing has\* methods and other well
known types
([#​20636](https://redirect.github.com/protocolbuffers/protobuf/issues/20636))
([`01a7429`](https://redirect.github.com/protocolbuffers/protobuf/commit/01a7429792ce5efeb2c6187baf4646a04652f1b2))
- *See also UPB changes below, which may affect PHP C-Extension.*
### Ruby
- Make protobuf codebase compatible with
`--incompatible_config_setting_private_default_visibility`
([#​22745](https://redirect.github.com/protocolbuffers/protobuf/issues/22745))
([`5e2838e`](https://redirect.github.com/protocolbuffers/protobuf/commit/5e2838e5987468670f933fd3d8861e8890d98596))
- Enable edition 2024 support in protoc and language generators for cpp,
hpb, java, kotlin, objectivec, php, python, pyi, rust.
([`26843b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/26843b3c6064ca7114af971eb46bd6fe6cc9d200))
- Fix silent failure of `rb_test` rules to run test
([#​21733](https://redirect.github.com/protocolbuffers/protobuf/issues/21733))
([`4f74764`](https://redirect.github.com/protocolbuffers/protobuf/commit/4f74764bf3860f76e64f20b8bf359a7bad844876))
##### Ruby C-Extension
- Update our compiled\_edition\_default's maximum\_edition to 2024
([#​22870](https://redirect.github.com/protocolbuffers/protobuf/issues/22870))
([`6216ae4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6216ae471f22f407b6e74ed70e688872f2761d35))
- Removed `wrap_memcpy.c` compatibility shim for pre-2.14 glibc
([`4ba9733`](https://redirect.github.com/protocolbuffers/protobuf/commit/4ba97331411293082632039c670c2af82a9f0415))
- *See also UPB changes below, which may affect Ruby C-Extension.*
### UPB (Python/PHP/Ruby C-Extension)
- Update our compiled\_edition\_default's maximum\_edition to 2024
([#​22870](https://redirect.github.com/protocolbuffers/protobuf/issues/22870))
([`6216ae4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6216ae471f22f407b6e74ed70e688872f2761d35))
- Make protobuf codebase compatible with
`--incompatible_config_setting_private_default_visibility`
([#​22745](https://redirect.github.com/protocolbuffers/protobuf/issues/22745))
([`5e2838e`](https://redirect.github.com/protocolbuffers/protobuf/commit/5e2838e5987468670f933fd3d8861e8890d98596))
- Add upb\_Message\_SetExtensionMessage as a helper for setting a
extension field that is a message. This is the extension equivalent of
upb\_Message\_SetBaseFieldMessage.
([`f15d28a`](https://redirect.github.com/protocolbuffers/protobuf/commit/f15d28a59ea906fc5b39b885fd00e20b486a4782))
### Other
- Update github major version tags to be formatted
v<MAJOR>.<MINOR>.<MICRO>-<language> for clarity
([`e001d57`](https://redirect.github.com/protocolbuffers/protobuf/commit/e001d57a71c84bce8509ea00f685b718a8b4f435))
- Upgrade Abseil dependency to
[`2025051`](https://redirect.github.com/protocolbuffers/protobuf/commit/20250512).1
([`ee68ed1`](https://redirect.github.com/protocolbuffers/protobuf/commit/ee68ed1c0d80d4024893319d7669d66cba2d4d5d))
- Patch `rules_ruby` to apply `neverlink = True` to the `jars` rule
([#​21416](https://redirect.github.com/protocolbuffers/protobuf/issues/21416))
([`88e11bd`](https://redirect.github.com/protocolbuffers/protobuf/commit/88e11bd819938bfc3f8a4b09495774b8d2d50cd3))
###
[`v31.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v31.1):
Protocol Buffers v31.1
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v31.0...v31.1)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Compiler
- Support allowing late injection of language feature set defaults from
FeatureSet extensions while getting feature set extension values.
([`3419598`](https://redirect.github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5))
### C++
- Support allowing late injection of language feature set defaults from
FeatureSet extensions while getting feature set extension values.
([`3419598`](https://redirect.github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5))
### Java
- Add missing `copts` attribute
([#​21982](https://redirect.github.com/protocolbuffers/protobuf/issues/21982))
([`bec5b5a`](https://redirect.github.com/protocolbuffers/protobuf/commit/bec5b5a39db05e81415284816cb3785f58ad2d06))
- Support allowing late injection of language feature set defaults from
FeatureSet extensions while getting feature set extension values.
([`3419598`](https://redirect.github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5))
### Python
- Support allowing late injection of language feature set defaults from
FeatureSet extensions while getting feature set extension values.
([`3419598`](https://redirect.github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5))
- Python pyi print "import datetime" for Duration/Timestamp field
([#​21885](https://redirect.github.com/protocolbuffers/protobuf/issues/21885))
([`0fe099a`](https://redirect.github.com/protocolbuffers/protobuf/commit/0fe099acdea70edd98179e2be2b72f97fba2659e))
- Add recursion depth limits to pure python
([`a3921fb`](https://redirect.github.com/protocolbuffers/protobuf/commit/a3921fb6d17a2acef96a40d39d8cb29ff8c0db3b))
### Other
- Fix cmake staleness test
([`96a9ef6`](https://redirect.github.com/protocolbuffers/protobuf/commit/96a9ef65f56fbbdb4d6160574fc2e7ba27b6e07a))
###
[`v31.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v31.0):
Protocol Buffers v31.0
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v30.2...v31.0)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Bazel
- Loosen py\_proto\_library check to be on the import path instead of
full directory (i.e. excluding external/module-name prefix).
([`a4be867`](https://redirect.github.com/protocolbuffers/protobuf/commit/a4be867133971b21f0fa4a7523733dd1b62db4c1))
### Compiler
- Add support for import option for
protoc.([`9901db6`](https://redirect.github.com/protocolbuffers/protobuf/commit/9901db60704ff248383da620d615bec06f19850e))
- Add notices.h with information about our dependencies' licenses and
add --notices flag to protoc to print the contents of that file.
([`7a26486`](https://redirect.github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f))
- Move upb minitable code generator into protoc
([`dce6b0f`](https://redirect.github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02))
- Upgrade abseil-cpp to
[`2025012`](https://redirect.github.com/protocolbuffers/protobuf/commit/20250127)
and use @​com\_google\_absl ->
[@​abseil-cpp](https://redirect.github.com/abseil-cpp) and
com\_google\_googletest ->
[@​googletest](https://redirect.github.com/googletest) canonical
BCR names.
([`ba6b54d`](https://redirect.github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d))
### C++
- Remove fast-path check for non-clang compilers in MessageCreator.
([`aa5410d`](https://redirect.github.com/protocolbuffers/protobuf/commit/aa5410dd95b9bceeca78e308481a46032ae79cd9))
- Add missing include.
([`d390631`](https://redirect.github.com/protocolbuffers/protobuf/commit/d39063184a826bd53bc7b78734a39db9f93c8342))
- Add weak attribute to GetClassData to speed up clang builds.
([`d896480`](https://redirect.github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140))
- Add nontemporal software prefetcher to repeated ptr field dtor to
improve performance.
([`73f3469`](https://redirect.github.com/protocolbuffers/protobuf/commit/73f34695e6cd1124f4e64e9173e94866789691af))
- Warn on unused RepeatedPtrField.
([`683e9d2`](https://redirect.github.com/protocolbuffers/protobuf/commit/683e9d2365273c951c89a377b678898ea083e178))
- Add notices.h with information about our dependencies' licenses and
add --notices flag to protoc to print the contents of that file.
([`7a26486`](https://redirect.github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f))
- Fix a bug in handling of implicit-presence string\_view fields.
([`bd70a7c`](https://redirect.github.com/protocolbuffers/protobuf/commit/bd70a7cc7bbbc6ce039e998d3778351e22d10bd4))
- Control bounds checks via BUILD flags.
([`d21e8ef`](https://redirect.github.com/protocolbuffers/protobuf/commit/d21e8ef1d521576d4add656138afb1725204f394))
- Upgrade abseil-cpp to
[`2025012`](https://redirect.github.com/protocolbuffers/protobuf/commit/20250127)
and use @​com\_google\_absl ->
[@​abseil-cpp](https://redirect.github.com/abseil-cpp) and
com\_google\_googletest ->
[@​googletest](https://redirect.github.com/googletest) canonical
BCR names.
([`ba6b54d`](https://redirect.github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d))
- Create hardened versions of `Get` and `Mutable` for repeated\_field.
([`ffade4a`](https://redirect.github.com/protocolbuffers/protobuf/commit/ffade4a9f5a7b0728457855049e61d621ed529ec))
### Java
- Add weak attribute to GetClassData to speed up clang builds.
([`d896480`](https://redirect.github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140))
- Use ProtobufToStringOutput to control the output format of
AbstractMessage.Builder.toString.
([`f5cb162`](https://redirect.github.com/protocolbuffers/protobuf/commit/f5cb16242d15d4c6159f51b048f0dc76387827a2))
- Implement Protobuf Java Immutable API `nest_in_file_class` feature for
Edition 2024.
([`0416c3e`](https://redirect.github.com/protocolbuffers/protobuf/commit/0416c3e1073ac08fe99fbd964833bae70e3c6cd0))
- Introduce a `Generated` annotation to eventually replace
`javax.annotation.Generated`
([`31e57fc`](https://redirect.github.com/protocolbuffers/protobuf/commit/31e57fc64a87d52a57d3373d7088c60a84ae79ff))
- Add volatile to featuresResolved
([`9e03ca5`](https://redirect.github.com/protocolbuffers/protobuf/commit/9e03ca531fb8eccd841f022ca57cac757a2c5624))
- Fix Java concurrency issue in feature resolution for old <=3.25.x
gencode using lazy feature resolution.
([`fafb0fd`](https://redirect.github.com/protocolbuffers/protobuf/commit/fafb0fd5db2d0d7c590e65dbb57e100ec1a802f6))
- Remove Java runtime classes from kotlin release.
([`079be27`](https://redirect.github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c))
- Split maven dependencies into dev vs local
([#​20549](https://redirect.github.com/protocolbuffers/protobuf/issues/20549))
([`e045fc6`](https://redirect.github.com/protocolbuffers/protobuf/commit/e045fc60cf7e43a840d147138338ad5b2913fe7a))
- Improve error messaging when detecting and erroring out on integer
overflow of byte count limit variables.
([`097fdb8`](https://redirect.github.com/protocolbuffers/protobuf/commit/097fdb86ff7017c425ff90ee55caf97027888f40))
##### Kotlin
- Remove Java runtime classes from kotlin release.
([`079be27`](https://redirect.github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c))
### Csharp
- Remove "experimental API" warnings from members in the .NET protobuf
runtime.
([`afea52f`](https://redirect.github.com/protocolbuffers/protobuf/commit/afea52fb44e826601f5936fda9110670cfc0f1aa))
- Improve performace of repeated packed fixedSize fields
([#​19667](https://redirect.github.com/protocolbuffers/protobuf/issues/19667))
([`85507b9`](https://redirect.github.com/protocolbuffers/protobuf/commit/85507b98a603bfee2ee0685f7825e5e903e1716a))
### Objective-C
- \[ObjC] Deprecate `GPBFieldDescriptor.isOptional`.
([`86ab252`](https://redirect.github.com/protocolbuffers/protobuf/commit/86ab252a9f5990ec804e14e84efd6a24169fdf8a))
- \[ObjC] Raise the library version and enable new generated code.
([`a639cf8`](https://redirect.github.com/protocolbuffers/protobuf/commit/a639cf8548d4c1596575005d84cc13bb8705b1d9))
### Rust
- Cherry-pick Rust fix to 31.x
([#​21617](https://redirect.github.com/protocolbuffers/protobuf/issues/21617))
([`01b42bb`](https://redirect.github.com/protocolbuffers/protobuf/commit/01b42bbd549c8f30ef9a27cd4964a7ae2632955a))
- Add upb\_Map\_GetMutable API to upb
([`dd5bf5e`](https://redirect.github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c))
- *See also UPB changes below, which may affect Rust.*
### Python
- Update GetCurrentTime to use datetime.datetime.now
([`01b154c`](https://redirect.github.com/protocolbuffers/protobuf/commit/01b154c85317e1ddaf0da7a125fc3d5c34f85d7b))
- Make Py JSON `float_precision` apply to both float and double fields.
([`5b54ee3`](https://redirect.github.com/protocolbuffers/protobuf/commit/5b54ee3c91e9d6d7790488aed35b3f6b7d081281))
- -Add '+' and '-' annotations for Timestamp and Duration in Python
([`fff783e`](https://redirect.github.com/protocolbuffers/protobuf/commit/fff783ef874ed6b1f88e567a610757933516f21e))
- Bug fix for `FieldMask.MergeFrom()` with unset fields.
([`1c87ac3`](https://redirect.github.com/protocolbuffers/protobuf/commit/1c87ac371607546d2971aae619a7d72ac19f4159))
- Make python text\_format able to skip unknown fields for repeated
messages
([`dcafca2`](https://redirect.github.com/protocolbuffers/protobuf/commit/dcafca20856007ca2e00426d3a477184ff8f026d))
- Fix segment fault for UPB Pyhon 'in' method of empty repeated
extensions
([`da04261`](https://redirect.github.com/protocolbuffers/protobuf/commit/da04261f2bf8a023458171cd95e7b375dfce1161))
- Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field
([`b234305`](https://redirect.github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6))
- Check with fallback descriptorDB for
FindExtensionByNumber()/FindAllExtensions in UPB python pool.
([`9fd28d9`](https://redirect.github.com/protocolbuffers/protobuf/commit/9fd28d969ee326eb8492893d9c17f587dcdcd849))
- Add clear() method to repeated fields in Python.
([`0324f39`](https://redirect.github.com/protocolbuffers/protobuf/commit/0324f39dabc605c11e56241b374da700bc9e3d62))
- Register Scalar/MessageMapContainerTypes as virtual subclasses of
([`9a0b591`](https://redirect.github.com/protocolbuffers/protobuf/commit/9a0b5914cb0a6e0f5eb898df25c4b55fa79e346a))
- Fix python codegen crash when C++ features are used.
([`308aaf4`](https://redirect.github.com/protocolbuffers/protobuf/commit/308aaf47686229b7c6f5f9534e254910cebd28c2))
- Add more detail to the comment for GetMessageClassesForFiles
([`9befb58`](https://redirect.github.com/protocolbuffers/protobuf/commit/9befb58bf3e0d0179e06a554968c1a8e5e72a1f4))
- Add constructing unpack routine to Python Protobuf Any API.
([`fb78c09`](https://redirect.github.com/protocolbuffers/protobuf/commit/fb78c09e1671eed5321bc41816e4656bf966cfa3))
- Implement typing for proto Timestamp/Duration assignments.
([`0e3326b`](https://redirect.github.com/protocolbuffers/protobuf/commit/0e3326bbbbf42641a6c8392bde3ebff5d2b53b22))
### PHP
- Deprecate Descriptor Label. As an alternative, add helper methods for
checking whether a field is required or repeated.
([`d82de8f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2))
- Feat(php): improve return typehint when repeatedfield
([#​11734](https://redirect.github.com/protocolbuffers/protobuf/issues/11734))
([`e04fe69`](https://redirect.github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d))
##### PHP C-Extension
- Automated rollback of commit
[`f9863df`](https://redirect.github.com/protocolbuffers/protobuf/commit/f9863dfd3c98278e703be0e3c19ded2d09e60fde).
([#​21355](https://redirect.github.com/protocolbuffers/protobuf/issues/21355))
([`a59988c`](https://redirect.github.com/protocolbuffers/protobuf/commit/a59988ceac3295d2bfd702fef807a9d18cdde067))
- Deprecate Descriptor Label. As an alternative, add helper methods for
checking whether a field is required or repeated.
([`d82de8f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2))
- Ruby: Allow to get a file descriptor by a file name
([#​20287](https://redirect.github.com/protocolbuffers/protobuf/issues/20287))
([`c398592`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896))
- Feat(php): improve return typehint when repeatedfield
([#​11734](https://redirect.github.com/protocolbuffers/protobuf/issues/11734))
([`e04fe69`](https://redirect.github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d))
- *See also UPB changes below, which may affect PHP C-Extension.*
### Ruby
- Fix silent failure of `rb_test` rules to run test
([#​21733](https://redirect.github.com/protocolbuffers/protobuf/issues/21733))
([`0cf5489`](https://redirect.github.com/protocolbuffers/protobuf/commit/0cf5489ca0f42df903ba1abd1f5f0a75aa95f045))
- Ruby | Add support for a protobuf debug build
([#​21060](https://redirect.github.com/protocolbuffers/protobuf/issues/21060))
([`59e1f0f`](https://redirect.github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b))
- Ruby | Support installing the gem via git and some other small build
tweaks
([#​21061](https://redirect.github.com/protocolbuffers/protobuf/issues/21061))
([`d3560e7`](https://redirect.github.com/protocolbuffers/protobuf/commit/d3560e72e791cb61c24df2a1b35946efbd972738))
- Deprecate Descriptor Label. As an alternative, add helper methods for
checking whether a field is required or repeated.
([`d82de8f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2))
- \[Ruby]Implement `#to_hash` for message classes
([#​20866](https://redirect.github.com/protocolbuffers/protobuf/issues/20866))
([`5596f6d`](https://redirect.github.com/protocolbuffers/protobuf/commit/5596f6d8afc72e99c19d2c72e8d39e6d2e88acf4))
- Drop Ruby 3.0
([`5de7c80`](https://redirect.github.com/protocolbuffers/protobuf/commit/5de7c80e325a254081a5b08b47783b39b19ec1d9))
- Fixes
[#​18726](https://redirect.github.com/protocolbuffers/protobuf/issues/18726)
by backslash escaping descriptor data containing `#` if the hashmark
appears immediately before any of `$`, `{`, or `@`.
([`fffa3da`](https://redirect.github.com/protocolbuffers/protobuf/commit/fffa3da9845491f76173d1eafe4fe914811c0ea7))
- Ruby: Allow to get a file descriptor by a file name
([#​20287](https://redirect.github.com/protocolbuffers/protobuf/issues/20287))
([`c398592`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896))
- Ruby: fix bug in Map.hash
([`b968d0d`](https://redirect.github.com/protocolbuffers/protobuf/commit/b968d0daa86158039de22887e4ac3914b77ea4b0))
##### Ruby C-Extension
- Ruby | Add support for a protobuf debug build
([#​21060](https://redirect.github.com/protocolbuffers/protobuf/issues/21060))
([`59e1f0f`](https://redirect.github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b))
- Deprecate Descriptor Label. As an alternative, add helper methods for
checking whether a field is required or repeated.
([`d82de8f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2))
- Ruby: Allow to get a file descriptor by a file name
([#​20287](https://redirect.github.com/protocolbuffers/protobuf/issues/20287))
([`c398592`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896))
- Ruby: fix bug in Map.hash
([`b968d0d`](https://redirect.github.com/protocolbuffers/protobuf/commit/b968d0daa86158039de22887e4ac3914b77ea4b0))
- *See also UPB changes below, which may affect Ruby C-Extension.*
### UPB (Python/PHP/Ruby C-Extension)
- Fixed LTO-only linker error in upb linker arrays.
([`3434a21`](https://redirect.github.com/protocolbuffers/protobuf/commit/3434a21151055b597915f6ff94255a1a195a9ed5))
- Deprecate Descriptor Label. As an alternative, add helper methods for
checking whether a field is required or repeated.
([`d82de8f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2))
- Add upb\_Map\_GetMutable API to upb
([`dd5bf5e`](https://redirect.github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c))
- Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field
([`b234305`](https://redirect.github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6))
- Upb: delete functions in map\_gencode\_util. They're unused after the
Map iterator API change.
([`f398807`](https://redirect.github.com/protocolbuffers/protobuf/commit/f3988070e937e401efb6b81b37a461cfe2f27efb))
- Upb: Update \_upb\_map\_next signature to return a boolean and remove
the \_nextmutable Map iterator API.
([`e4cdf44`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4cdf44dd221e05aa2a62f739e08718af54842f9))
- Change upb C generated map iteration function to not hand out MapEntry
pointers.
([`3a3d697`](https://redirect.github.com/protocolbuffers/protobuf/commit/3a3d69768b80ab131e633ea869b9c29167a1916c))
- Ruby: Allow to get a file descriptor by a file name
([#​20287](https://redirect.github.com/protocolbuffers/protobuf/issues/20287))
([`c398592`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896))
- Expose the `upb_ByteSize` function to upb clients. Note that the
current naive implementation is no more efficient than serializing the
message yourself and noting the resulting size.
([`121fdaa`](https://redirect.github.com/protocolbuffers/protobuf/commit/121fdaa49ba83faf4b9ff346a4b5dbc1105caa12))
- Move upb minitable code generator into protoc
([`dce6b0f`](https://redirect.github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02))
- Tolerate message set extensions encoded as normal deliminited
submessages
([`c63fd56`](https://redirect.github.com/protocolbuffers/protobuf/commit/c63fd563095adae535732b9464f4ab99f31c1bb4))
- Automated rollback of commit
[`6bde8c4`](https://redirect.github.com/protocolbuffers/protobuf/commit/6bde8c417770097457e9137036eb00595a1f7bda).
([`8ef81fb`](https://redirect.github.com/protocolbuffers/protobuf/commit/8ef81fbd928bd820d9bb318bfb6243c1ddb51c54))
- Fix UPB fast table build.
([`46f9e29`](https://redirect.github.com/protocolbuffers/protobuf/commit/46f9e29d1a0151aa3432e463b2f8efeacb92c87a))
### Other
- Patch `rules_ruby` to apply `neverlink = True` to the `jars` rule
([#​21416](https://redirect.github.com/protocolbuffers/protobuf/issues/21416))
([#​21505](https://redirect.github.com/protocolbuffers/protobuf/issues/21505))
([`664d94a`](https://redirect.github.com/protocolbuffers/protobuf/commit/664d94a5f6a8408939fd4d8a87624292a844c1c9))
- Restore JDK8 compatibility in Bazel for libraries with dependencies
from Maven (e.g. //java/util)
([`e8edc5d`](https://redirect.github.com/protocolbuffers/protobuf/commit/e8edc5d5e72fa091b0086b4a6d12af0bb66d664b))
- Protobuf: add //:go\_features\_proto Bazel alias
([`f79be3e`](https://redirect.github.com/protocolbuffers/protobuf/commit/f79be3e55ce60e583c7e07bda4ccbbe42ca1ee84))
- Fixes -lpthread problem when building with android\_arm64 config
([#​20337](https://redirect.github.com/protocolbuffers/protobuf/issues/20337))
([`4f5968a`](https://redirect.github.com/protocolbuffers/protobuf/commit/4f5968a208ea0f7b9835708b6ce16df69dd3e450))
###
[`v30.2`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v30.2):
Protocol Buffers v30.2
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v30.1...v30.2)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Compiler
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
### C++
- Remove dllexport attribute on variable definition.
([#​20833](https://redirect.github.com/protocolbuffers/protobuf/issues/20833))
([`7831669`](https://redirect.github.com/protocolbuffers/protobuf/commit/783166965aa8808ec1b74d4890088e3b0799ac08))
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
- Change how we decide which empty string implementation to use.
([#​20708](https://redirect.github.com/protocolbuffers/protobuf/issues/20708))
([`221b2a0`](https://redirect.github.com/protocolbuffers/protobuf/commit/221b2a0081ebdba6cf3b7278bf65528316ba4480))
### Java
- Remove dllexport attribute on variable definition.
([#​20833](https://redirect.github.com/protocolbuffers/protobuf/issues/20833))
([`7831669`](https://redirect.github.com/protocolbuffers/protobuf/commit/783166965aa8808ec1b74d4890088e3b0799ac08))
- Add protobuf\_maven artifacts to protobuf\_maven\_dev as well so they
can still be referenced correctly using the dev namespace for dev-only
targets.
([#​20771](https://redirect.github.com/protocolbuffers/protobuf/issues/20771))
([`09b5078`](https://redirect.github.com/protocolbuffers/protobuf/commit/09b5078524d60917d1fa8c635bcee52e608f2f04))
- Add volatile to featuresResolved
([#​20766](https://redirect.github.com/protocolbuffers/protobuf/issues/20766))
([`b7f06f1`](https://redirect.github.com/protocolbuffers/protobuf/commit/b7f06f1ed07a463a9279f7019653fe6c3e90282d))
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
- Restore custom protobuf maven namespaces to avoid polluting main maven
namespace for non-dev dependencies as well.
([#​20739](https://redirect.github.com/protocolbuffers/protobuf/issues/20739))
([`f4b0a79`](https://redirect.github.com/protocolbuffers/protobuf/commit/f4b0a79783aa1c579bfe005908f723fdc6d68169))
- Fix Java concurrency issue in feature resolution for old <=3.25.x
gencode using lazy feature resolution.
([#​20751](https://redirect.github.com/protocolbuffers/protobuf/issues/20751))
([`2dc9f35`](https://redirect.github.com/protocolbuffers/protobuf/commit/2dc9f35e83f4b55e58443421266b0f9a158d91dd))
- Fix lite classes in the protobuf-java Maven release to be JDK8
compatible.
([#​20843](https://redirect.github.com/protocolbuffers/protobuf/issues/20843))
([`7a4c63b`](https://redirect.github.com/protocolbuffers/protobuf/commit/7a4c63bac3451b8adf8dd51e9c16ed74d4cbc662))
##### Kotlin
- Restore custom protobuf maven namespaces to avoid polluting main maven
namespace for non-dev dependencies as well.
([#​20739](https://redirect.github.com/protocolbuffers/protobuf/issues/20739))
([`f4b0a79`](https://redirect.github.com/protocolbuffers/protobuf/commit/f4b0a79783aa1c579bfe005908f723fdc6d68169))
### Csharp
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
### Objective-C
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
### Python
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
### Ruby
- Restore generator headers in cmake install until the next breaking C++
release
([#​20749](https://redirect.github.com/protocolbuffers/protobuf/issues/20749))
([`b69f653`](https://redirect.github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77))
### Other
- Restore JDK8 compatibility in Bazel for libraries with dependencies
from Maven (e.g. //java/util)
([#​20832](https://redirect.github.com/protocolbuffers/protobuf/issues/20832))
([`da9cadc`](https://redirect.github.com/protocolbuffers/protobuf/commit/da9cadcb975654e3d158796b642ec27ba5f4509d))
###
[`v30.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v30.1):
Protocol Buffers v30.1
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v30.0...v30.1)
### Announcements
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
### Bazel
- Loosen py\_proto\_library check to be on the import path instead of
full directory (i.e. excluding external/module-name prefix).
([#​20569](https://redirect.github.com/protocolbuffers/protobuf/issues/20569))
([`3576a1f`](https://redirect.github.com/protocolbuffers/protobuf/commit/3576a1f8732c4a42df90e406e07326198182b6fb))
### Compiler
- Fix python codegen crash when C++ features are used.
([#​20577](https://redirect.github.com/protocolbuffers/protobuf/issues/20577))
([`250c550`](https://redirect.github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e))
### C++
- Fix python codegen crash when C++ features are used.
([#​20577](https://redirect.github.com/protocolbuffers/protobuf/issues/20577))
([`250c550`](https://redirect.github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e))
### Java
- Remove Java runtime classes from kotlin release.
([#​20607](https://redirect.github.com/protocolbuffers/protobuf/issues/20607))
([`4747628`](https://redirect.github.com/protocolbuffers/protobuf/commit/4747628cce300d58e3bb0da4f3ee7cbfa1ac853b))
##### Kotlin
- Remove Java runtime classes from kotlin release.
([#​20607](https://redirect.github.com/protocolbuffers/protobuf/issues/20607))
([`4747628`](https://redirect.github.com/protocolbuffers/protobuf/commit/4747628cce300d58e3bb0da4f3ee7cbfa1ac853b))
### Python
- Fix python codegen crash when C++ features are used.
([#​20577](https://redirect.github.com/protocolbuffers/protobuf/issues/20577))
([`250c550`](https://redirect.github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e))
### Other
- Re-add `system_python` repo alias to MODULE.bazel
([#​20662](https://redirect.github.com/protocolbuffers/protobuf/issues/20662))
([`ebb5224`](https://redirect.github.com/protocolbuffers/protobuf/commit/ebb5224493150126861ce2e192d7ae244bfea1df))
###
[`v30.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v30.0):
Protocol Buffers v30.0
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v29.5...v30.0)
### Announcements
- **This version includes breaking changes to: Objective-C, Python,
C++.**
- \[Objective-C] Remove legacy WKT headers.
([`d9caebc`](https://redirect.github.com/protocolbuffers/protobuf/commit/d9caebc313256ea2f5c6922113c1f3edf14b24ad))
- \[Objective-C] Remove deprecated apis.
([`2a52b90`](https://redirect.github.com/protocolbuffers/protobuf/commit/2a52b900a1b71d57fc68624a989145f57abefdf1))
- \[Objective-C] Remove support for older generated code.
([`cffa590`](https://redirect.github.com/protocolbuffers/protobuf/commit/cffa5902606ee3ebf23214b80251722b3654d5be))
- \[Objective-C] Remove GPBUnknownFieldSet.
([`2b93422`](https://redirect.github.com/protocolbuffers/protobuf/commit/2b93422f7eea500b26d1a9aaf7d07b3120f83d39))
- \[Python] Fix closed enum validation under editions
([`72b3eda`](https://redirect.github.com/protocolbuffers/protobuf/commit/72b3eda2ec385863d7416f067f6cd0cefeed72bb))
- \[Python] Remove deprecated GetDebugString() from protobuf python cpp
extension.
([`721a452`](https://redirect.github.com/protocolbuffers/protobuf/commit/721a45265b4e1d0f18d6775a0f1bafffdfc3088e))
- \[Python] Remove deprecated reflection methods
([`292f964`](https://redirect.github.com/protocolbuffers/protobuf/commit/292f9646797d9e23fc66ba70fbda5903f2301ff0))
- \[Python] Remove deprecated GetPrototype
MessageFactory.GetPrototype(),
([`c261b49`](https://redirect.github.com/protocolbuffers/protobuf/commit/c261b49a9575226efc9e5d269f6e5319a05d526e))
- \[Python] Python nested message class **qualname** now contains the
outer message name. (Previous **qualname** has the same result with
**name** for nested message that outer message name was not included)
([`0720536`](https://redirect.github.com/protocolbuffers/protobuf/commit/0720536eca20ca2f801127869d7f1211bceb3865))
- \[Python] Remove deprecated Python RPC Service Interfaces
([`5ba74b1`](https://redirect.github.com/protocolbuffers/protobuf/commit/5ba74b11e8d2bd5e9b22e972beb572668bf6191c))
- \[Python] Python setdefault behavior change for map field.
([`81da6b9`](https://redirect.github.com/protocolbuffers/protobuf/commit/81da6b999a8229942436f6c203a20633c65ebd26))
- \[Python] Remove deprecated py\_proto\_library macro.
- \[C++] Prohibit using Bazel+MSVC to build protobuf
([`117e7bb`](https://redirect.github.com/protocolbuffers/protobuf/commit/117e7bbe74ac7c7faa9b6f44c1b22de366302854))
- \[C++] Remove deprecated Arena::CreateMessage.
([`d83a536`](https://redirect.github.com/protocolbuffers/protobuf/commit/d83a5365d16cff4be7da7d9a34eef14b24cc8733))
- \[C++] Remove CMake submodule support in favor of fetched or installed
dependencies.
([`3f06ca4`](https://redirect.github.com/protocolbuffers/protobuf/commit/3f06ca4306a682e6ee631d8ea94b82baaafb14f0))
- \[C++] Flip default behavior for handling cmake dependencies.
([`9cc685e`](https://redirect.github.com/protocolbuffers/protobuf/commit/9cc685edf867acf5024a94502a3cbd7afa7a3daa))
- \[C++] Add ASAN poisoning after clearing oneof messages on arena.
([`54d068e`](https://redirect.github.com/protocolbuffers/protobuf/commit/54d068e11c77ed387b97a60f435998b384e36e34))
- \[C++] Upgrade return type of `type_name()` and `cpp_type_name()` from
`const char*` to `absl::string_view`.
([`a9ad51f`](https://redirect.github.com/protocolbuffers/protobuf/commit/a9ad51f5b6a19eacc934bcb51db6282ec1fabb8c))
- \[C++] Remove deprecated RepeatedPtrField::ClearedCount().
([`e8e3253`](https://redirect.github.com/protocolbuffers/protobuf/commit/e8e3253f63f52d314af0e317d09642b9ceb1b40e))
- \[C++] Upgrade return type of several string returning functions to
`absl::string_view`.
([`d1990d9`](https://redirect.github.com/protocolbuffers/protobuf/commit/d1990d968a54176eb9f4229abe7f7c97ece50cec))
- \[C++] Strip ctype from options in C++
([`aebf8b9`](https://redirect.github.com/protocolbuffers/protobuf/commit/aebf8b9459f1da347a353c2fbbfe76230a457209))
- \[C++] Remove `MutableRepeatedFieldRef::Reserve()` in reflection
([`913f7b0`](https://redirect.github.com/protocolbuffers/protobuf/commit/913f7b0c6d3c3e9876aea913b0d83bbd7fffe22c))
- \[C++] Remove deprecated JsonOptions alias.
([`e2eb0a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e2eb0a19aa95497c8979d71031edbbab721f5f0a))
- \[C++] Remove deprecated Arena::GetArena.
([`30ed452`](https://redirect.github.com/protocolbuffers/protobuf/commit/30ed452eddacace2c3270dce9645b8f1f453ae4b))
- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.
- [Migration Guide](https://protobuf.dev/support/migration/) includes
migration instructions for breaking changes for this release.
### Bazel
- Remove reference to cc\_proto\_aspect
([`fa02f76`](https://redirect.github.com/protocolbuffers/protobuf/commit/fa02f768e3a793195e62ad70f9694106b893b0f3))
- Remove deprecated bazel/system\_python.bzl alias.
([`00f108c`](https://redirect.github.com/protocolbuffers/protobuf/commit/00f108c07807e73188f0baf51ba90ad527463f84))
### Compiler
- Add notices.h with information about our dependencies' licenses and
add --notices flag to protoc to print the contents of that file.
([`a7df327`](https://redirect.github.com/protocolbuffers/protobuf/commit/a7df327bcdcecd09fcf7c987daa75714221c396e))
- Have the protoc CLI properly report any parser warnings.
([`cafeaa4`](https://redirect.github.com/protocolbuffers/protobuf/commit/cafeaa41fb3c8d67eef0de11ed60ff539fd3318f))
- Split protoc apart from libprotoc in our cmake configs.
([`b4b93b3`](https://redirect.github.com/protocolbuffers/protobuf/commit/b4b93b36245a88a3efa19261638f5da61a9be44f))
- Begin adding extension numbers to SourceCodeInfo and FileDescriptorSet
for tooling purposes.
([`9d7236b`](https://redirect.github.com/protocolbuffers/protobuf/commit/9d7236b421634afcecc24b6fd63da0ff5b506394))
- Fix various unsigned to signed comparison warnings.
([#​17212](https://redirect.github.com/protocolbuffers/protobuf/issues/17212))
([`67de087`](https://redirect.github.com/protocolb
</details>
---
### 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 is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 29095be commit e736141Copy full SHA for e736141
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
- tests
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
0 commit comments