Update dependency protobuf to v35 - #8338
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the protobuf dependency from version 34.0.bcr.1 to 35.0 in the main and test project MODULE.bazel files. Feedback highlights a potential compatibility issue, as Protobuf v35.0 drops support for Bazel 7, which is still present in the repository's integration test matrix.
| bazel_dep(name = "rules_python", version = "1.9.0") | ||
| bazel_dep(name = "rules_proto", version = "7.1.0") | ||
| bazel_dep(name = "protobuf", version = "34.0.bcr.1") | ||
| bazel_dep(name = "protobuf", version = "35.0") |
There was a problem hiding this comment.
The release notes for Protobuf v35.0 explicitly state that support for Bazel 7 has been dropped. However, this repository still includes Bazel 7.7.1 in its integration test matrix (see lines 56 and 64). Upgrading to v35.0 will likely cause integration tests running against Bazel 7 to fail. You should remove Bazel 7 from the test matrix or verify if a compatibility workaround is required.
|
Supersedes: #8260 |
This PR contains the following updates:
34.0.bcr.1→35.0Release Notes
protocolbuffers/protobuf (protobuf)
v35.0: Protocol Buffers v35.0Announcements
f9f32d2)Bazel
3ee8d8a)protocoptflag out of theccdir, since it is not a c++-specific flag. (325d8dc)f08d703)f9f32d2)1816758)Compiler
ae0d964)enforce_naming_stylefeature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)3bf2b07)XyzViewif there is any direct sibling namedXyz(63d6ef0)ce2eb73)adc8d22)6ced612)be1292f)3a87c6c)34c1110)Singulartrait, for types which are allowed as simple fields (cdbfaf1)a8daa95)C++
78dc67e)ae0d964)enforce_naming_stylefeature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)1cb4fdb)cb5fe97)ListFieldsreflection call (555360e)Arena::UniquePtrandArena::Ptras smart pointers to better manage (bb00218)5a56dee)SetHasBitForRepeated()call. (8c1a9a4)f08d703)proto2::sort/stable_sortutilities that behave as the standard ones but are optimized for Protobuf containers. (252281f)proto2::erase/erase_ifutilities that behave as the standard ones but are optimized for Protobuf containers. (dc9fb35)bd42ac6)1816758)ec42e19)3a87c6c)d5d6d4c)4bcf773)34c1110)UnsafeArenaExtractSubrange,ReleaseLastandSwapElements. (d124c2d)0936f33)507f86b)a203388)zero_copy_stream_impl.h(a904af9)6d23e8e)Java
514aceb)enforce_naming_stylefeature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)57093a8)1816758)a203388)Csharp
407f457)6029d17)Objective-C
8274114)e3bee07)e1f2f52)Rust
XyzViewif there is any direct sibling namedXyz(63d6ef0)ce2eb73)7f7b974)d787869)6ced612)f8daf2f)74b6f3f)be1292f)5bde6e8)a3bf3ec)ab3793e)Singulartrait, for types which are allowed as simple fields (cdbfaf1)a8daa95)Python
8abff6b)28e4512)SetHasBitForRepeated()call. (8c1a9a4)3edd615)cbe6403)msg.MergeFrom(msg2)in Python. (ab14c0f)059dc7e)f08d703)b4c3fec)f10c1de)d2b0016)intasint(ea78297)PHP
3bf2b07)PHP C-Extension
3f04505)Ruby
918ad5b)Ruby C-Extension
918ad5b)UPB (Python/PHP/Ruby C-Extension)
e7785e0)29476e1)b4c3fec)v34.1: Protocol Buffers v34.1Announcements
Bazel
protocoptflag out of theccdir, since it is not a c++-specific flag. (3db9fd1)763c5da)C++
5583485)523a6a4)763c5da)Java
ab3d7f0)Python
763c5da)Other
mkdircommand to followINTEGRITY_FILElocation. (e700d7d)f5ccaf3)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.