Skip to content

chore(deps): update protobuf to v36 - #16320

Open
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/major-protobuf
Open

chore(deps): update protobuf to v36#16320
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/major-protobuf

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
com_google_protobuf http_archive major v31.1v36.0-rc2
protobuf bazel_dep major 35.136.0-rc2
protocolbuffers/protobuf major v33.6v36.0-rc2

Release Notes

protocolbuffers/protobuf (com_google_protobuf)

v36.0-rc2: Protocol Buffers v36.0-rc2

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
C++
  • Disable option sub-location mapping in open-source builds. (1d8a656)
  • Add json_options.proto and json_enumvalue_options.proto and/or gencode derived from them to release artifacts (15e9334)
  • Json/upb: Implement json EnumValueName for upb (0e8519e)
  • Add deprecation warning for Reflection::GetEnum() and Reflection::GetRepeatedEnum(). (0bca288)
Java
  • Add json_options.proto and json_enumvalue_options.proto and/or gencode derived from them to release artifacts (15e9334)
  • Json/java: add json_name enumval support (bff6ed1)
Python
  • Add json_options.proto and json_enumvalue_options.proto and/or gencode derived from them to release artifacts (15e9334)
  • Emit future warning when mutating GetOptions() in OSS (2255541)
  • Emit deprecation warning when comparing descriptor containers with unrecognized types in OSS (5865e6b)
PHP
  • Reject Edition 2026 in the PHP generator. (020b9db)
UPB (Python/PHP/Ruby C-Extension)
  • Json/upb: Implement json EnumValueName for upb (0e8519e)

v36.0-rc1: Protocol Buffers v36.0-rc1

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
  • Chore: add a unit test for .github/release_prep.sh (#​26247) (8ccb4fa)
  • Add Bazel9 test (90ad7e9)
  • Bazel 9 tests for csharp, hpb, objc, php, python, rust and upb (f9e028f)
Compiler
  • Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
  • Add deprecation warnings for (py|cc|java)_generic_service. (517be42)
  • Disallow reserving field number INT_MAX. (933c522)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Feat: --<lang>_prefix cli option (#​24824) (92dd27c)
  • Enforce proto limits in the descriptor by default for EDITION_2026. (d8520d9)
  • Fix: Apply path traversal guard to WriteAllToZip() matching WriteAllToDisk() (#​27171) (28bef98)
  • Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)
C++
  • Migrate top-level protobuf unittest protos from Edition 2024 to Edition 2026. (271ca53)
  • Util: validate Duration/Timestamp in TimeUtil::FromString against spec limits (#​27443) (e337495)
  • Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
  • Support assigning repeated scalar fields using Python Buffer API. (ea40f1d)
  • Automated rollback of commit c8c5974. (21ccdec)
  • Use the direct map reflection API when converting message to JSON, if the repeated field reflection is not valid. (e75aac3)
  • [py/upb] Make GetOptions() return immutable options for scalar type. UPB will raise a TypeError when options returned GetOptions() by is mutated. (403d429)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Fix(cpp): stop TextFormat iteration if output stream fails (#​26237) (2718dd5)
  • Enforce proto limits in the descriptor by default for EDITION_2026. (d8520d9)
  • Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)
  • Workaround for attribute handling bug in gcc < 13 (ba10a4e)
  • Fix confusing error message for map value type name conflicts (7864b85)
  • C++Proto JSON: Align behavior on the type.proto path with the descriptor.proto path (0bc1f14)
Java
  • Make Timestamps.parse() attempt non-lenient parsing first and warning if this fails. (d5e039a)
  • Add a warning for potential OneofDescriptor collisions prior to Q1 2027 breaking changes. (ab69831)
  • Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
  • Reject negative size in mergeDelimitedFrom (#​28097) (c56cd5b)
  • Add deprecation warnings for (py|cc|java)_generic_service. (517be42)
  • Update Java protobuf generator to use Objects.requireNonNull (31ef11c)
  • Use natural String comparison instead of UTF-8 ByteString comparison for sorting map keys in JsonFormat. (ae1faee)
  • Add option to enable strict JSON parsing in Protobuf Java JsonFormat. (40825a1)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Remove experimental FieldOrder enum. (ec52338)
  • Optimize GeneratedMessage.ExtendableBuilder to avoid temporary allocations when merging empty extendable messages. (a37dbd6)
  • Stop using sun.misc.Unsafe in isValidUtf8 paths. (421d745)
  • Use String#encodedLength on JDK versions that support it (efca121)
  • Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)
  • Java: limit numeric string length before BigDecimal parsing (#​26908) (25e7005)
  • Validate java package and class against injection risks. (f8514d8)
Csharp
  • Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
  • Advertise that C# supports Edition 2026, and move C# Nullable Reference Type support into that edition. (a1f718c)
  • First implementation of C# nullable reference types enablement using the current (unreleased) edition. (7a732d1)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Csharp: propagate recursion depth into JsonReplayTokenizer to honor Any nesting limit (#​26835) (cee45bf)
  • Fix csharp string interpolation in Timestamp.ToDateTime() exception message (#​26341) (a298282)
Objective-C
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • [ObjC] Add DEBUG-only validations to extension values in GPBMessage, along with tests. (290a537)
Rust
  • Remove -release suffix from Rust Crates.io release if minor version >= 36 (e7b3391)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • RustProto: Add the ability to iterate over the muts of a repeated message-typed field. (70590a5)
  • See also UPB changes below, which may affect Rust.
Python
  • Migrate top-level protobuf unittest protos from Edition 2024 to Edition 2026. (271ca53)
  • Configure extra compile args in setup.py (#​28264) (3aa022a)
  • Python: fix heap-use-after-free in MapIterator after map.clear() (#​27257) (9e9dbae)
  • Add PyDescriptorPool_FromSharedPool(std::shared_ptr) API (abdf212)
  • Fix memory leak in PyUpb_Descriptor_GetExtensionRanges (3d31b0f)
  • Warn on out-of-range pop index in upb repeated fields. (a70d121)
  • Support assigning repeated scalar fields using Python Buffer API. (ea40f1d)
  • Fix Pure Python map<string, ...> key handling for bytes lookups. (156a0b8)
  • Change Python DescriptorDatabase FindFileContainingSymbol() to accept leading "." to match DescriptorPool and other languages (e86e536)
  • Faster Python cpp protos assignment to bytes/string fields. (593ab17)
  • Serialize length-prefixed protos once (#​27252) (e090f8a)
  • [py/upb] Make GetOptions() return immutable options for scalar type. UPB will raise a TypeError when options returned GetOptions() by is mutated. (403d429)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Add mutex protection to DescriptorPool caches. (cecbbf4)
  • Refactor container comparison function in py/C++ and py/upb to return enum instead of integer. (c857f49)
  • Py JSON: Fix issue with depth enforcement on Struct/Value WKT paths. (cfcc433)
  • Fix RepeatedContainer_pop to raise IndexError for out-of-bounds indices. (78a09ad)
PHP
  • [PHP] - Add configurable recursion_limit to mergeFromString / serializeToString (#​27874) (5c5ee3c)
  • Add bazel targets for standalone plugin binaries (#​23919) (81880fa)
  • Clarify FieldMask JSON warnings/errors in the situation of fields which aren't round-trip representable in JSON format. (0488596)
  • Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)
PHP C-Extension
  • [PHP] - Add configurable recursion_limit to mergeFromString / serializeToString (#​27874) (5c5ee3c)
  • See also UPB changes below, which may affect PHP C-Extension.
Ruby
UPB (Python/PHP/Ruby C-Extension)
  • Avoid UB in upb by switching to the XCT section, which will run our constructors before the compiler-generated initializers. (58e5ac8)
  • [py/upb] Make GetOptions() return immutable options for scalar type. UPB will raise a TypeError when options returned GetOptions() by is mutated. (403d429)
  • Clarify FieldMask JSON warnings/errors in the situation of fields which aren't round-trip representable in JSON format. (0488596)
  • Add Bazel9 test (90ad7e9)
  • Fixed two GCC-only issues around upb's generated extension registry. (d56b385)
  • Fix RepeatedContainer_pop to raise IndexError for out-of-bounds indices. (78a09ad)
Other
  • Add deprecation warning for internal_py_proto_library prior to Q1 2027 breaking changes. (a8d0be3)
  • Update Bazel

v36-dev

Compare Source

v35.1: Protocol Buffers v35.1

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
  • Bazel 9 tests for csharp, hpb, objc, php, python, rust and upb (#​27598) (4469e38)
  • Break protobuf dependency on Bazel's proto fragment. Only respect the Starlark versions of --proto_toolchain_for*. This is a breaking change from 35.0, but matches the behavior in 34.x. (1f99c52)
C++
  • Add cord setters to repeated string fields. (6efa174)
UPB (Python/PHP/Ruby C-Extension)
  • Avoid UB in upb by switching to the XCT section, which will run our constructors before the compiler-generated initializers. (c35b977)

v35.0: Protocol Buffers v35.0

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
  • Bazel 9 Support: Upgrade tests to Bazel 9 (3ee8d8a)
  • Moved protocopt flag out of the cc dir, since it is not a c++-specific flag. (325d8dc)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Change @​protobuf//bazel/flags:prefer_prebuilt_proto flag to True. (f9f32d2)
  • Dropped support for Bazel 7. (1816758)
Compiler
  • Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
  • Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
  • Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
  • Fully qualify scalar types in Kotlin/Native proto generator. (adc8d22)
  • Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
  • Make Message's trait bounds much better for generic use (be1292f)
  • Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
  • Validate Feature Support on Custom Options (34c1110)
  • Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
  • Trait clarity improvement on Map traits (a8daa95)
C++
  • Workaround for attribute handling bug in gcc < 13 (78dc67e)
  • Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Enhance ParseInfoTree to provide location of names and values. (1cb4fdb)
  • Add integer overflow check to RepeatedPtrField::MergeFrom. (cb5fe97)
  • Adding sanity check for ListFields reflection call (555360e)
  • Introduce Arena::UniquePtr and Arena::Ptr as smart pointers to better manage (bb00218)
  • Bug fix for edition 2024 visibility checking. Visibility checking was not properly applied to service method input and output types. This is now applied properly and will error if method input/output types do not have visibility to those messages. (5a56dee)
  • Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Add proto2::sort/stable_sort utilities that behave as the standard ones but are optimized for Protobuf containers. (252281f)
  • Add proto2::erase/erase_if utilities that behave as the standard ones but are optimized for Protobuf containers. (dc9fb35)
  • Extend Abseil flag support for enums to include std::vector. (bd42ac6)
  • Dropped support for Bazel 7. (1816758)
  • Add native Abseil flag support to protobuf message types. (ec42e19)
  • Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
  • Stripping empty options (d5d6d4c)
  • Creating generic MaybeAddError helper function (4bcf773)
  • Validate Feature Support on Custom Options (34c1110)
  • Add bounds checks to UnsafeArenaExtractSubrange, ReleaseLast and SwapElements. (d124c2d)
  • Fix UTF-8 Validation of string extensions in C++ (0936f33)
  • Remove first implementation of protobuf out of bounds enforcement. (507f86b)
  • Add native Abseil flag support to protobuf enums. (a203388)
  • Improve EINTR handling for close in zero_copy_stream_impl.h (a904af9)
  • Add cc_proto_library for MessageSet in //src/google/protobuf/bridge (6d23e8e)
Java
  • Add BytecodeClassName functions, matching helpers in the java GeneratorNames utility. (514aceb)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Avoid toBigIntegerExact in JsonFormat to avoid degenerate parse behavior in the face of large exponents. (57093a8)
  • Dropped support for Bazel 7. (1816758)
  • Add native Abseil flag support to protobuf enums. (a203388)
Csharp
  • Implement WriteDelimitedTo(BufferWriter) (#​21325) (407f457)
  • Add an "include" directory containing WKTs for Google.Protobuf.Tools nuget package. (6029d17)
Objective-C
  • ObjC: Block Roots from being created. (8274114)
  • Fix naming convention in c_function extension syntax (e3bee07)
  • Modify unit tests to use c_function extension syntax via ifdefs (e1f2f52)
Rust
  • Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
  • Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
  • Allow ProtoStr to be used in const contexts. (7f7b974)
  • Make any &T impl AsView if T impl AsView (d787869)
  • Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
  • Add some common methods to ProtoStr to make it more ergonomic to use without dropping down to &[u8] (f8daf2f)
  • Ffi_11: Define basic arithmetic operations and comparison with underlying type (74b6f3f)
  • Make Message's trait bounds much better for generic use (be1292f)
  • Remove ProxiedInMapValue alias, since it is superceded by MapValue (5bde6e8)
  • Add fn push_default(&mut self) -> SomeMsgMut<> fn for Repeated message type fields. (a3bf3ec)
  • Fix that f32 and f64 were incorrectly tagged as legal for MapKeys in RustProto. (ab3793e)
  • Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
  • Trait clarity improvement on Map traits (a8daa95)
  • See also UPB changes below, which may affect Rust.
Python
  • Fix Python text_format by adding an optional recursion depth limit (#​26604) (8abff6b)
  • Fix data race in CMessage lazy initialization for Python freethreading. (28e4512)
  • Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
  • Fix type annotation for FindAllExtensionNumbers() to be a list rather than the more general Iterator. (3edd615)
  • Add type hints to descriptor_database.py. (cbe6403)
  • Fixed a bug in msg.MergeFrom(msg2) in Python. (ab14c0f)
  • Fix NULL byte handling issue in Python Protobuf find symbols in pool (059dc7e)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Add recursion guards for the following nested messages: (b4c3fec)
  • Protobuf Python UPB Free Threading support. (f10c1de)
  • Fix Any recursion depth bypass in Python json_format.ParseDict (#​25239) (d2b0016)
  • Supports exporting int as int (ea78297)
PHP
  • Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
PHP C-Extension
  • Fix 1-byte stack overflow in PHP extension int64 formatting (#​26530) (3f04505)
  • See also UPB changes below, which may affect PHP C-Extension.
Ruby
  • Gracefully handle payloads >2GB. (918ad5b)
Ruby C-Extension
  • Gracefully handle payloads >2GB. (918ad5b)
  • See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
  • Fixed two GCC-only issues around upb's generated extension registry.
  • Avoid theoretical overflow of uintptr_t in AddAllLinkedExtensions (e7785e0)
  • Test(proto): Add message to test oneof name conflict resolution (29476e1)
  • Add recursion guards for the following nested messages: (b4c3fec)

v35.0-rc2: Protocol Buffers v35.0-rc2

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
  • Bazel 9 Support: Upgrade tests to Bazel 9 (3ee8d8a)
C++
  • Workaround for attribute handling bug in gcc < 13 (78dc67e)
UPB (Python/PHP/Ruby C-Extension)
  • Fixed two GCC-only issues around upb's generated extension registry.
    (5eca43d)
  • Avoid theoretical overflow of uintptr_t in AddAllLinkedExtensions (e7785e0)

v35.0-rc1: Protocol Buffers v35.0-rc1

Compare Source

Announcements
  • This version includes potential breaking changes without a major version bump to: Bazel.
    • [Bazel] Change @​protobuf//bazel/flags:prefer_prebuilt_proto flag to True. (f9f32d2)
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
  • Moved protocopt flag out of the cc dir, since it is not a c++-specific flag. (325d8dc)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Breaking change: Change @​protobuf//bazel/flags:prefer_prebuilt_proto flag to True. (f9f32d2)
  • Dropped support for Bazel 7. (1816758)
Compiler
  • Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
  • Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
  • Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
  • Fully qualify scalar types in Kotlin/Native proto generator. (adc8d22)
  • Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
  • Make Message's trait bounds much better for generic use (be1292f)
  • Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
  • Validate Feature Support on Custom Options (34c1110)
  • Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
  • Trait clarity improvement on Map traits (a8daa95)
C++
  • Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Enhance ParseInfoTree to provide location of names and values. (1cb4fdb)
  • Add integer overflow check to RepeatedPtrField::MergeFrom. (cb5fe97)
  • Adding sanity check for ListFields reflection call (555360e)
  • Introduce Arena::UniquePtr and Arena::Ptr as smart pointers to better manage (bb00218)
  • Bug fix for edition 2024 visibility checking. Visibility checking was not properly applied to service method input and output types. This is now applied properly and will error if method input/output types do not have visibility to those messages. (5a56dee)
  • Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Add proto2::sort/stable_sort utilities that behave as the standard ones but are optimized for Protobuf containers. (252281f)
  • Add proto2::erase/erase_if utilities that behave as the standard ones but are optimized for Protobuf containers. (dc9fb35)
  • Extend Abseil flag support for enums to include std::vector. (bd42ac6)
  • Dropped support for Bazel 7. (1816758)
  • Add native Abseil flag support to protobuf message types. (ec42e19)
  • Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
  • Stripping empty options (d5d6d4c)
  • Creating generic MaybeAddError helper function (4bcf773)
  • Validate Feature Support on Custom Options (34c1110)
  • Add bounds checks to UnsafeArenaExtractSubrange, ReleaseLast and SwapElements. (d124c2d)
  • Fix UTF-8 Validation of string extensions in C++ (0936f33)
  • Remove first implementation of protobuf out of bounds enforcement. (507f86b)
  • Add native Abseil flag support to protobuf enums. (a203388)
  • Improve EINTR handling for close in zero_copy_stream_impl.h (a904af9)
  • Add cc_proto_library for MessageSet in //src/google/protobuf/bridge (6d23e8e)
Java
  • Add BytecodeClassName functions, matching helpers in the java GeneratorNames utility. (514aceb)
  • Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
  • Avoid toBigIntegerExact in JsonFormat to avoid degenerate parse behavior in the face of large exponents. (57093a8)
  • Dropped support for Bazel 7. (1816758)
  • Add native Abseil flag support to protobuf enums. (a203388)
Csharp
  • Implement WriteDelimitedTo(BufferWriter) (#​21325) (407f457)
  • Add an "include" directory containing WKTs for Google.Protobuf.Tools nuget package. (6029d17)
Objective-C
  • ObjC: Block Roots from being created. (8274114)
  • Fix naming convention in c_function extension syntax (e3bee07)
  • Modify unit tests to use c_function extension syntax via ifdefs (e1f2f52)
Rust
  • Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
  • Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
  • Allow ProtoStr to be used in const contexts. (7f7b974)
  • Make any &T impl AsView if T impl AsView (d787869)
  • Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
  • Add some common methods to ProtoStr to make it more ergonomic to use without dropping down to &[u8] (f8daf2f)
  • Ffi_11: Define basic arithmetic operations and comparison with underlying type (74b6f3f)
  • Make Message's trait bounds much better for generic use (be1292f)
  • Remove ProxiedInMapValue alias, since it is superceded by MapValue (5bde6e8)
  • Add fn push_default(&mut self) -> SomeMsgMut<> fn for Repeated message type fields. (a3bf3ec)
  • Fix that f32 and f64 were incorrectly tagged as legal for MapKeys in RustProto. (ab3793e)
  • Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
  • Trait clarity improvement on Map traits (a8daa95)
  • See also UPB changes below, which may affect Rust.
Python
  • Fix Python text_format by adding an optional recursion depth limit (#​26604) (8abff6b)
  • Fix data race in CMessage lazy initialization for Python freethreading. (28e4512)
  • Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
  • Fix type annotation for FindAllExtensionNumbers() to be a list rather than the more general Iterator. (3edd615)
  • Add type hints to descriptor_database.py. (cbe6403)
  • Fixed a bug in msg.MergeFrom(msg2) in Python. (ab14c0f)
  • Fix NULL byte handling issue in Python Protobuf find symbols in pool (059dc7e)
  • Add support for bazel 9.x (#​26201) (f08d703)
  • Add recursion guards for the following nested messages: (b4c3fec)
  • Protobuf Python UPB Free Threading support. (f10c1de)
  • Fix Any recursion depth bypass in Python json_format.ParseDict (#​25239) (d2b0016)
  • Supports exporting int as int (ea78297)
PHP
  • Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
PHP C-Extension
  • Fix 1-byte st

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot
renovate-bot requested a review from a team as a code owner August 4, 2026 19:20
@dpebot

dpebot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

/gcbrun

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Protobuf dependency version to 36.0-rc2 across the repository. This includes updating the Bazel module configuration, workspace dependencies, various Dockerfiles used for CI/CD, and the packaging documentation. I have no feedback to provide as the changes are straightforward dependency updates.

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.24%. Comparing base (90715fc) to head (7d43ad5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16320   +/-   ##
=======================================
  Coverage   92.23%   92.24%           
=======================================
  Files        2227     2227           
  Lines      209142   209142           
=======================================
+ Hits       192909   192919   +10     
+ Misses      16233    16223   -10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants