google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

chore(deps): update protobuf to v31 (main) (major)

Open renovate-bot opened this issue 6 months ago • 1 comments

This PR contains the following updates:

Package Type Update Change
com_google_protobuf http_archive major v29.4 -> v31.1
protobuf bazel_dep major 29.4 -> 31.1
protocolbuffers/protobuf major v29.4 -> v31.1

Release Notes

protocolbuffers/protobuf (com_google_protobuf)

v31.1: Protocol Buffers v31.1

Compare Source

Announcements
  • Protobuf 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. (https://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. (https://github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5)
Java
  • Add missing copts attribute (#​21982) (https://github.com/protocolbuffers/protobuf/commit/bec5b5a39db05e81415284816cb3785f58ad2d06)
  • Support allowing late injection of language feature set defaults from FeatureSet extensions while getting feature set extension values. (https://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. (https://github.com/protocolbuffers/protobuf/commit/3419598d4252ac82ef23d80881488283378113c5)
  • Python pyi print "import datetime" for Duration/Timestamp field (#​21885) (https://github.com/protocolbuffers/protobuf/commit/0fe099acdea70edd98179e2be2b72f97fba2659e)
  • Add recursion depth limits to pure python (https://github.com/protocolbuffers/protobuf/commit/a3921fb6d17a2acef96a40d39d8cb29ff8c0db3b)
Other
  • Fix cmake staleness test (https://github.com/protocolbuffers/protobuf/commit/96a9ef65f56fbbdb4d6160574fc2e7ba27b6e07a)

v31.0: Protocol Buffers v31.0

Compare Source

Announcements
  • Protobuf 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). (https://github.com/protocolbuffers/protobuf/commit/a4be867133971b21f0fa4a7523733dd1b62db4c1)
Compiler
  • Add support for import option for protoc.(https://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. (https://github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f)
  • Move upb minitable code generator into protoc (https://github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
C++
  • Remove fast-path check for non-clang compilers in MessageCreator. (https://github.com/protocolbuffers/protobuf/commit/aa5410dd95b9bceeca78e308481a46032ae79cd9)
  • Add missing include. (https://github.com/protocolbuffers/protobuf/commit/d39063184a826bd53bc7b78734a39db9f93c8342)
  • Add weak attribute to GetClassData to speed up clang builds. (https://github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140)
  • Add nontemporal software prefetcher to repeated ptr field dtor to improve performance. (https://github.com/protocolbuffers/protobuf/commit/73f34695e6cd1124f4e64e9173e94866789691af)
  • Warn on unused RepeatedPtrField. (https://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. (https://github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f)
  • Fix a bug in handling of implicit-presence string_view fields. (https://github.com/protocolbuffers/protobuf/commit/bd70a7cc7bbbc6ce039e998d3778351e22d10bd4)
  • Control bounds checks via BUILD flags. (https://github.com/protocolbuffers/protobuf/commit/d21e8ef1d521576d4add656138afb1725204f394)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
  • Create hardened versions of Get and Mutable for repeated_field. (https://github.com/protocolbuffers/protobuf/commit/ffade4a9f5a7b0728457855049e61d621ed529ec)
Java
  • Add weak attribute to GetClassData to speed up clang builds. (https://github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140)
  • Use ProtobufToStringOutput to control the output format of AbstractMessage.Builder.toString. (https://github.com/protocolbuffers/protobuf/commit/f5cb16242d15d4c6159f51b048f0dc76387827a2)
  • Implement Protobuf Java Immutable API nest_in_file_class feature for Edition 2024. (https://github.com/protocolbuffers/protobuf/commit/0416c3e1073ac08fe99fbd964833bae70e3c6cd0)
  • Introduce a Generated annotation to eventually replace javax.annotation.Generated (https://github.com/protocolbuffers/protobuf/commit/31e57fc64a87d52a57d3373d7088c60a84ae79ff)
  • Add volatile to featuresResolved (https://github.com/protocolbuffers/protobuf/commit/9e03ca531fb8eccd841f022ca57cac757a2c5624)
  • Fix Java concurrency issue in feature resolution for old <=3.25.x gencode using lazy feature resolution. (https://github.com/protocolbuffers/protobuf/commit/fafb0fd5db2d0d7c590e65dbb57e100ec1a802f6)
  • Remove Java runtime classes from kotlin release. (https://github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c)
  • Split maven dependencies into dev vs local (#​20549) (https://github.com/protocolbuffers/protobuf/commit/e045fc60cf7e43a840d147138338ad5b2913fe7a)
  • Improve error messaging when detecting and erroring out on integer overflow of byte count limit variables. (https://github.com/protocolbuffers/protobuf/commit/097fdb86ff7017c425ff90ee55caf97027888f40)
Kotlin
  • Remove Java runtime classes from kotlin release. (https://github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c)
Csharp
  • Remove "experimental API" warnings from members in the .NET protobuf runtime. (https://github.com/protocolbuffers/protobuf/commit/afea52fb44e826601f5936fda9110670cfc0f1aa)
  • Improve performace of repeated packed fixedSize fields (#​19667) (https://github.com/protocolbuffers/protobuf/commit/85507b98a603bfee2ee0685f7825e5e903e1716a)
Objective-C
  • [ObjC] Deprecate GPBFieldDescriptor.isOptional. (https://github.com/protocolbuffers/protobuf/commit/86ab252a9f5990ec804e14e84efd6a24169fdf8a)
  • [ObjC] Raise the library version and enable new generated code. (https://github.com/protocolbuffers/protobuf/commit/a639cf8548d4c1596575005d84cc13bb8705b1d9)
Rust
  • Cherry-pick Rust fix to 31.x (#​21617) (https://github.com/protocolbuffers/protobuf/commit/01b42bbd549c8f30ef9a27cd4964a7ae2632955a)
  • Add upb_Map_GetMutable API to upb (https://github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c)
  • See also UPB changes below, which may affect Rust.
Python
  • Update GetCurrentTime to use datetime.datetime.now (https://github.com/protocolbuffers/protobuf/commit/01b154c85317e1ddaf0da7a125fc3d5c34f85d7b)
  • Make Py JSON float_precision apply to both float and double fields. (https://github.com/protocolbuffers/protobuf/commit/5b54ee3c91e9d6d7790488aed35b3f6b7d081281)
  • -Add '+' and '-' annotations for Timestamp and Duration in Python (https://github.com/protocolbuffers/protobuf/commit/fff783ef874ed6b1f88e567a610757933516f21e)
  • Bug fix for FieldMask.MergeFrom() with unset fields. (https://github.com/protocolbuffers/protobuf/commit/1c87ac371607546d2971aae619a7d72ac19f4159)
  • Make python text_format able to skip unknown fields for repeated messages (https://github.com/protocolbuffers/protobuf/commit/dcafca20856007ca2e00426d3a477184ff8f026d)
  • Fix segment fault for UPB Pyhon 'in' method of empty repeated extensions (https://github.com/protocolbuffers/protobuf/commit/da04261f2bf8a023458171cd95e7b375dfce1161)
  • Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (https://github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6)
  • Check with fallback descriptorDB for FindExtensionByNumber()/FindAllExtensions in UPB python pool. (https://github.com/protocolbuffers/protobuf/commit/9fd28d969ee326eb8492893d9c17f587dcdcd849)
  • Add clear() method to repeated fields in Python. (https://github.com/protocolbuffers/protobuf/commit/0324f39dabc605c11e56241b374da700bc9e3d62)
  • Register Scalar/MessageMapContainerTypes as virtual subclasses of (https://github.com/protocolbuffers/protobuf/commit/9a0b5914cb0a6e0f5eb898df25c4b55fa79e346a)
  • Fix python codegen crash when C++ features are used. (https://github.com/protocolbuffers/protobuf/commit/308aaf47686229b7c6f5f9534e254910cebd28c2)
  • Add more detail to the comment for GetMessageClassesForFiles (https://github.com/protocolbuffers/protobuf/commit/9befb58bf3e0d0179e06a554968c1a8e5e72a1f4)
  • Add constructing unpack routine to Python Protobuf Any API. (https://github.com/protocolbuffers/protobuf/commit/fb78c09e1671eed5321bc41816e4656bf966cfa3)
  • Implement typing for proto Timestamp/Duration assignments. (https://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. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Feat(php): improve return typehint when repeatedfield (#​11734) (https://github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d)
PHP C-Extension
  • Automated rollback of commit f9863df. (#​21355) (https://github.com/protocolbuffers/protobuf/commit/a59988ceac3295d2bfd702fef807a9d18cdde067)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Feat(php): improve return typehint when repeatedfield (#​11734) (https://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://github.com/protocolbuffers/protobuf/commit/0cf5489ca0f42df903ba1abd1f5f0a75aa95f045)
  • Ruby | Add support for a protobuf debug build (#​21060) (https://github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b)
  • Ruby | Support installing the gem via git and some other small build tweaks (#​21061) (https://github.com/protocolbuffers/protobuf/commit/d3560e72e791cb61c24df2a1b35946efbd972738)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • [Ruby]Implement #to_hash for message classes (#​20866) (https://github.com/protocolbuffers/protobuf/commit/5596f6d8afc72e99c19d2c72e8d39e6d2e88acf4)
  • Drop Ruby 3.0 (https://github.com/protocolbuffers/protobuf/commit/5de7c80e325a254081a5b08b47783b39b19ec1d9)
  • Fixes #​18726 by backslash escaping descriptor data containing # if the hashmark appears immediately before any of $, {, or @. (https://github.com/protocolbuffers/protobuf/commit/fffa3da9845491f76173d1eafe4fe914811c0ea7)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Ruby: fix bug in Map.hash (https://github.com/protocolbuffers/protobuf/commit/b968d0daa86158039de22887e4ac3914b77ea4b0)
Ruby C-Extension
  • Ruby | Add support for a protobuf debug build (#​21060) (https://github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Ruby: fix bug in Map.hash (https://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. (https://github.com/protocolbuffers/protobuf/commit/3434a21151055b597915f6ff94255a1a195a9ed5)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Add upb_Map_GetMutable API to upb (https://github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c)
  • Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (https://github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6)
  • Upb: delete functions in map_gencode_util. They're unused after the Map iterator API change. (https://github.com/protocolbuffers/protobuf/commit/f3988070e937e401efb6b81b37a461cfe2f27efb)
  • Upb: Update _upb_map_next signature to return a boolean and remove the _nextmutable Map iterator API. (https://github.com/protocolbuffers/protobuf/commit/e4cdf44dd221e05aa2a62f739e08718af54842f9)
  • Change upb C generated map iteration function to not hand out MapEntry pointers. (https://github.com/protocolbuffers/protobuf/commit/3a3d69768b80ab131e633ea869b9c29167a1916c)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://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. (https://github.com/protocolbuffers/protobuf/commit/121fdaa49ba83faf4b9ff346a4b5dbc1105caa12)
  • Move upb minitable code generator into protoc (https://github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02)
  • Tolerate message set extensions encoded as normal deliminited submessages (https://github.com/protocolbuffers/protobuf/commit/c63fd563095adae535732b9464f4ab99f31c1bb4)
  • Automated rollback of commit 6bde8c4. (https://github.com/protocolbuffers/protobuf/commit/8ef81fbd928bd820d9bb318bfb6243c1ddb51c54)
  • Fix UPB fast table build. (https://github.com/protocolbuffers/protobuf/commit/46f9e29d1a0151aa3432e463b2f8efeacb92c87a)
Other
  • Patch rules_ruby to apply neverlink = True to the jars rule (#​21416) (#​21505) (https://github.com/protocolbuffers/protobuf/commit/664d94a5f6a8408939fd4d8a87624292a844c1c9)
  • Restore JDK8 compatibility in Bazel for libraries with dependencies from Maven (e.g. //java/util) (https://github.com/protocolbuffers/protobuf/commit/e8edc5d5e72fa091b0086b4a6d12af0bb66d664b)
  • Protobuf: add //:go_features_proto Bazel alias (https://github.com/protocolbuffers/protobuf/commit/f79be3e55ce60e583c7e07bda4ccbbe42ca1ee84)
  • Fixes -lpthread problem when building with android_arm64 config (#​20337) (https://github.com/protocolbuffers/protobuf/commit/4f5968a208ea0f7b9835708b6ce16df69dd3e450)

v31.0-rc2: Protocol Buffers v31.0-rc2

Compare Source

Announcements
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
  • Add support for import option for protoc.(https://github.com/protocolbuffers/protobuf/commit/9901db60704ff248383da620d615bec06f19850e)
PHP
PHP C-Extension
  • Automated rollback of commit f9863df. (#​21355) (https://github.com/protocolbuffers/protobuf/commit/a59988ceac3295d2bfd702fef807a9d18cdde067)
Other
  • Patch rules_ruby to apply neverlink = True to the jars rule (#​21416) (#​21505) (https://github.com/protocolbuffers/protobuf/commit/664d94a5f6a8408939fd4d8a87624292a844c1c9)

v31.0-rc1: Protocol Buffers v31.0-rc1

Compare Source

Announcements
  • Protobuf 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). (https://github.com/protocolbuffers/protobuf/commit/a4be867133971b21f0fa4a7523733dd1b62db4c1)
Compiler
  • Implement Protobuf Java Immutable API nest_in_file_class feature for Edition 2024. (https://github.com/protocolbuffers/protobuf/commit/0416c3e1073ac08fe99fbd964833bae70e3c6cd0)
  • Fix python codegen crash when C++ features are used. (https://github.com/protocolbuffers/protobuf/commit/308aaf47686229b7c6f5f9534e254910cebd28c2)
  • Add notices.h with information about our dependencies' licenses and add --notices flag to protoc to print the contents of that file. (https://github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f)
  • Move upb minitable code generator into protoc (https://github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
C++
  • Add weak attribute to GetClassData to speed up clang builds. (https://github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140)
  • Implement Protobuf Java Immutable API nest_in_file_class feature for Edition 2024. (https://github.com/protocolbuffers/protobuf/commit/0416c3e1073ac08fe99fbd964833bae70e3c6cd0)
  • Add nontemporal software prefetcher to repeated ptr field dtor to improve performance. (https://github.com/protocolbuffers/protobuf/commit/73f34695e6cd1124f4e64e9173e94866789691af)
  • Warn on unused RepeatedPtrField. (https://github.com/protocolbuffers/protobuf/commit/683e9d2365273c951c89a377b678898ea083e178)
  • Fix python codegen crash when C++ features are used. (https://github.com/protocolbuffers/protobuf/commit/308aaf47686229b7c6f5f9534e254910cebd28c2)
  • Add notices.h with information about our dependencies' licenses and add --notices flag to protoc to print the contents of that file. (https://github.com/protocolbuffers/protobuf/commit/7a2648649128d5ef36d6d3626328d4007508ba5f)
  • Fix a bug in handling of implicit-presence string_view fields. (https://github.com/protocolbuffers/protobuf/commit/bd70a7cc7bbbc6ce039e998d3778351e22d10bd4)
  • Move upb minitable code generator into protoc (https://github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02)
  • Control bounds checks via BUILD flags. (https://github.com/protocolbuffers/protobuf/commit/d21e8ef1d521576d4add656138afb1725204f394)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
  • Create hardened versions of Get and Mutable for repeated_field. (https://github.com/protocolbuffers/protobuf/commit/ffade4a9f5a7b0728457855049e61d621ed529ec)
Java
  • Add weak attribute to GetClassData to speed up clang builds. (https://github.com/protocolbuffers/protobuf/commit/d8964801b196a65cb9ab26f7c17872993c76b140)
  • Use ProtobufToStringOutput to control the output format of AbstractMessage.Builder.toString. (https://github.com/protocolbuffers/protobuf/commit/f5cb16242d15d4c6159f51b048f0dc76387827a2)
  • Implement Protobuf Java Immutable API nest_in_file_class feature for Edition 2024. (https://github.com/protocolbuffers/protobuf/commit/0416c3e1073ac08fe99fbd964833bae70e3c6cd0)
  • Introduce a Generated annotation to eventually replace javax.annotation.Generated (https://github.com/protocolbuffers/protobuf/commit/31e57fc64a87d52a57d3373d7088c60a84ae79ff)
  • Introduce Java NestInFileClass feature in java_features.proto for Edition 2024. (https://github.com/protocolbuffers/protobuf/commit/c8ff7629a56b65399cde3ae3dbd9d8d95a6b4e8b)
  • Add volatile to featuresResolved (https://github.com/protocolbuffers/protobuf/commit/9e03ca531fb8eccd841f022ca57cac757a2c5624)
  • Fix Java concurrency issue in feature resolution for old <=3.25.x gencode using lazy feature resolution. (https://github.com/protocolbuffers/protobuf/commit/fafb0fd5db2d0d7c590e65dbb57e100ec1a802f6)
  • Automated rollback of commit 1d4b6ba. (https://github.com/protocolbuffers/protobuf/commit/1df3ddea58818a26001f1259118407e96a6c7ab1)
  • Remove Java runtime classes from kotlin release. (https://github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c)
  • Split maven dependencies into dev vs local (#​20549) (https://github.com/protocolbuffers/protobuf/commit/e045fc60cf7e43a840d147138338ad5b2913fe7a)
  • Automated rollback of commit 6d2f6fc. (https://github.com/protocolbuffers/protobuf/commit/055297bc2e66b94aad201cb62c12f9ec1b5d4b3a)
  • Improve error messaging when detecting and erroring out on integer overflow of byte count limit variables. (https://github.com/protocolbuffers/protobuf/commit/097fdb86ff7017c425ff90ee55caf97027888f40)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
Kotlin
  • Remove Java runtime classes from kotlin release. (https://github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c)
Csharp
  • Remove "experimental API" warnings from members in the .NET protobuf runtime. (https://github.com/protocolbuffers/protobuf/commit/afea52fb44e826601f5936fda9110670cfc0f1aa)
  • Improve performace of repeated packed fixedSize fields (#​19667) (https://github.com/protocolbuffers/protobuf/commit/85507b98a603bfee2ee0685f7825e5e903e1716a)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
Objective-C
  • [ObjC] Deprecate GPBFieldDescriptor.isOptional. (https://github.com/protocolbuffers/protobuf/commit/86ab252a9f5990ec804e14e84efd6a24169fdf8a)
  • [ObjC] Raise the library version and enable new generated code. (https://github.com/protocolbuffers/protobuf/commit/a639cf8548d4c1596575005d84cc13bb8705b1d9)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
Rust
  • Add upb_Map_GetMutable API to upb (https://github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
  • See also UPB changes below, which may affect Rust.
Python
  • Update GetCurrentTime to use datetime.datetime.now (https://github.com/protocolbuffers/protobuf/commit/01b154c85317e1ddaf0da7a125fc3d5c34f85d7b)
  • Make Py JSON float_precision apply to both float and double fields. (https://github.com/protocolbuffers/protobuf/commit/5b54ee3c91e9d6d7790488aed35b3f6b7d081281)
  • -Add '+' and '-' annotations for Timestamp and Duration in Python (https://github.com/protocolbuffers/protobuf/commit/fff783ef874ed6b1f88e567a610757933516f21e)
  • Bug fix for FieldMask.MergeFrom() with unset fields. (https://github.com/protocolbuffers/protobuf/commit/1c87ac371607546d2971aae619a7d72ac19f4159)
  • Make python text_format able to skip unknown fields for repeated messages (https://github.com/protocolbuffers/protobuf/commit/dcafca20856007ca2e00426d3a477184ff8f026d)
  • Fix segment fault for UPB Pyhon 'in' method of empty repeated extensions (https://github.com/protocolbuffers/protobuf/commit/da04261f2bf8a023458171cd95e7b375dfce1161)
  • Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (https://github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6)
  • Check with fallback descriptorDB for FindExtensionByNumber()/FindAllExtensions in UPB python pool. (https://github.com/protocolbuffers/protobuf/commit/9fd28d969ee326eb8492893d9c17f587dcdcd849)
  • Add clear() method to repeated fields in Python. (https://github.com/protocolbuffers/protobuf/commit/0324f39dabc605c11e56241b374da700bc9e3d62)
  • Register Scalar/MessageMapContainerTypes as virtual subclasses of (https://github.com/protocolbuffers/protobuf/commit/9a0b5914cb0a6e0f5eb898df25c4b55fa79e346a)
  • Fix python codegen crash when C++ features are used. (https://github.com/protocolbuffers/protobuf/commit/308aaf47686229b7c6f5f9534e254910cebd28c2)
  • Add more detail to the comment for GetMessageClassesForFiles (https://github.com/protocolbuffers/protobuf/commit/9befb58bf3e0d0179e06a554968c1a8e5e72a1f4)
  • Add constructing unpack routine to Python Protobuf Any API. (https://github.com/protocolbuffers/protobuf/commit/fb78c09e1671eed5321bc41816e4656bf966cfa3)
  • Implement typing for proto Timestamp/Duration assignments. (https://github.com/protocolbuffers/protobuf/commit/0e3326bbbbf42641a6c8392bde3ebff5d2b53b22)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
PHP
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Feat(php): improve return typehint when repeatedfield (#​11734) (https://github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
PHP C-Extension
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Feat(php): improve return typehint when repeatedfield (#​11734) (https://github.com/protocolbuffers/protobuf/commit/e04fe69a9f5fa44a89ef3b4410363776101eac0d)
  • See also UPB changes below, which may affect PHP C-Extension.
Ruby
  • Ruby | Add support for a protobuf debug build (#​21060) (https://github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b)
  • Ruby | Support installing the gem via git and some other small build tweaks (#​21061) (https://github.com/protocolbuffers/protobuf/commit/d3560e72e791cb61c24df2a1b35946efbd972738)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • [Ruby]Implement #to_hash for message classes (#​20866) (https://github.com/protocolbuffers/protobuf/commit/5596f6d8afc72e99c19d2c72e8d39e6d2e88acf4)
  • Drop Ruby 3.0 (https://github.com/protocolbuffers/protobuf/commit/5de7c80e325a254081a5b08b47783b39b19ec1d9)
  • Fixes #​18726 by backslash escaping descriptor data containing # if the hashmark appears immediately before any of $, {, or @. (https://github.com/protocolbuffers/protobuf/commit/fffa3da9845491f76173d1eafe4fe914811c0ea7)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
  • Ruby: fix bug in Map.hash (https://github.com/protocolbuffers/protobuf/commit/b968d0daa86158039de22887e4ac3914b77ea4b0)
Ruby C-Extension
  • Ruby | Add support for a protobuf debug build (#​21060) (https://github.com/protocolbuffers/protobuf/commit/59e1f0f6bdb85e93b60f7d9e36985be2c290578b)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://github.com/protocolbuffers/protobuf/commit/c3985925490e88a95ec4aac21b69759eb09ae896)
  • Ruby: fix bug in Map.hash (https://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. (https://github.com/protocolbuffers/protobuf/commit/3434a21151055b597915f6ff94255a1a195a9ed5)
  • Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (https://github.com/protocolbuffers/protobuf/commit/d82de8f147be07e7a10c5c395505f0a662a911f2)
  • Add upb_Map_GetMutable API to upb (https://github.com/protocolbuffers/protobuf/commit/dd5bf5e9b24d0462b981da05f4dcfd1499a4686c)
  • Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (https://github.com/protocolbuffers/protobuf/commit/b23430512ad9bcf6d392aa77e428855e3bc842e6)
  • Upb: delete functions in map_gencode_util. They're unused after the Map iterator API change. (https://github.com/protocolbuffers/protobuf/commit/f3988070e937e401efb6b81b37a461cfe2f27efb)
  • Upb: Update _upb_map_next signature to return a boolean and remove the _nextmutable Map iterator API. (https://github.com/protocolbuffers/protobuf/commit/e4cdf44dd221e05aa2a62f739e08718af54842f9)
  • Change upb C generated map iteration function to not hand out MapEntry pointers. (https://github.com/protocolbuffers/protobuf/commit/3a3d69768b80ab131e633ea869b9c29167a1916c)
  • Ruby: Allow to get a file descriptor by a file name (#​20287) (https://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. (https://github.com/protocolbuffers/protobuf/commit/121fdaa49ba83faf4b9ff346a4b5dbc1105caa12)
  • Move upb minitable code generator into protoc (https://github.com/protocolbuffers/protobuf/commit/dce6b0f14bd264d2fc9d92a7f5005d7a87b80b02)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (https://github.com/protocolbuffers/protobuf/commit/ba6b54d6bcd5c118fda1cc20ab7afaba4b4ef93d)
  • Tolerate message set extensions encoded as normal deliminited submessages (https://github.com/protocolbuffers/protobuf/commit/c63fd563095adae535732b9464f4ab99f31c1bb4)
  • Automated rollback of commit 6bde8c4. (https://github.com/protocolbuffers/protobuf/commit/8ef81fbd928bd820d9bb318bfb6243c1ddb51c54)
  • Fix UPB fast table build. (https://github.com/protocolbuffers/protobuf/commit/46f9e29d1a0151aa3432e463b2f8efeacb92c87a)
Other
  • Restore JDK8 compatibility in Bazel for libraries with dependencies from Maven (e.g. //java/util) (https://github.com/protocolbuffers/protobuf/commit/e8edc5d5e72fa091b0086b4a6d12af0bb66d664b)
  • Protobuf: add //:go_features_proto Bazel alias (https://github.com/protocolbuffers/protobuf/commit/f79be3e55ce60e583c7e07bda4ccbbe42ca1ee84)
  • Fixes -lpthread problem when building with android_arm64 config (#​20337) (https://github.com/protocolbuffers/protobuf/commit/4f5968a208ea0f7b9835708b6ce16df69dd3e450)

v31-dev

Compare Source

v30.2: Protocol Buffers v30.2

Compare Source

Announcements

  • Protobuf 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://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)

C++

  • Remove dllexport attribute on variable definition. (#​20833) (https://github.com/protocolbuffers/protobuf/commit/783166965aa8808ec1b74d4890088e3b0799ac08)
  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)
  • Change how we decide which empty string implementation to use. (#​20708) (https://github.com/protocolbuffers/protobuf/commit/221b2a0081ebdba6cf3b7278bf65528316ba4480)

Java

  • Remove dllexport attribute on variable definition. (#​20833) (https://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://github.com/protocolbuffers/protobuf/commit/09b5078524d60917d1fa8c635bcee52e608f2f04)
  • Add volatile to featuresResolved (#​20766) (https://github.com/protocolbuffers/protobuf/commit/b7f06f1ed07a463a9279f7019653fe6c3e90282d)
  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://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://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://github.com/protocolbuffers/protobuf/commit/2dc9f35e83f4b55e58443421266b0f9a158d91dd)
  • Fix lite classes in the protobuf-java Maven release to be JDK8 compatible. (#​20843) (https://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://github.com/protocolbuffers/protobuf/commit/f4b0a79783aa1c579bfe005908f723fdc6d68169)

Csharp

  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)

Objective-C

  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)

Python

  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)

Ruby

  • Restore generator headers in cmake install until the next breaking C++ release (#​20749) (https://github.com/protocolbuffers/protobuf/commit/b69f653d6ebc90d88032b8cc82d626758a74ef77)

Other

  • Restore JDK8 compatibility in Bazel for libraries with dependencies from Maven (e.g. //java/util) (#​20832) (https://github.com/protocolbuffers/protobuf/commit/da9cadcb975654e3d158796b642ec27ba5f4509d)

v30.1: Protocol Buffers v30.1

Compare Source

Announcements
  • Protobuf 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://github.com/protocolbuffers/protobuf/commit/3576a1f8732c4a42df90e406e07326198182b6fb)
Compiler
  • Fix python codegen crash when C++ features are used. (#​20577) (https://github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e)
C++
  • Fix python codegen crash when C++ features are used. (#​20577) (https://github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e)
Java
  • Remove Java runtime classes from kotlin release. (#​20607) (https://github.com/protocolbuffers/protobuf/commit/4747628cce300d58e3bb0da4f3ee7cbfa1ac853b)
Kotlin
  • Remove Java runtime classes from kotlin release. (#​20607) (https://github.com/protocolbuffers/protobuf/commit/4747628cce300d58e3bb0da4f3ee7cbfa1ac853b)
Python
  • Fix python codegen crash when C++ features are used. (#​20577) (https://github.com/protocolbuffers/protobuf/commit/250c5502fa436e82fca50937db7d28f43855b09e)
Other
  • Re-add system_python repo alias to MODULE.bazel (#​20662) (https://github.com/protocolbuffers/protobuf/commit/ebb5224493150126861ce2e192d7ae244bfea1df)

v30.0: Protocol Buffers v30.0

Compare Source

Announcements

  • This version includes breaking changes to: Objective-C, Python, C++.
    • [Objective-C] Remove legacy WKT headers. (https://github.com/protocolbuffers/protobuf/commit/d9caebc313256ea2f5c6922113c1f3edf14b24ad)
    • [Objective-C] Remove deprecated apis. (https://github.com/protocolbuffers/protobuf/commit/2a52b900a1b71d57fc68624a989145f57abefdf1)
    • [Objective-C] Remove support for older generated code. (https://github.com/protocolbuffers/protobuf/commit/cffa5902606ee3ebf23214b80251722b3654d5be)
    • [Objective-C] Remove GPBUnknownFieldSet. (https://github.com/protocolbuffers/protobuf/commit/2b93422f7eea500b26d1a9aaf7d07b3120f83d39)
    • [Python] Fix closed enum validation under editions (https://github.com/protocolbuffers/protobuf/commit/72b3eda2ec385863d7416f067f6cd0cefeed72bb)
    • [Python] Remove deprecated GetDebugString() from protobuf python cpp extension. (https://github.com/protocolbuffers/protobuf/commit/721a45265b4e1d0f18d6775a0f1bafffdfc3088e)
    • [Python] Remove deprecated reflection methods (https://github.com/protocolbuffers/protobuf/commit/292f9646797d9e23fc66ba70fbda5903f2301ff0)
    • [Python] Remove deprecated GetPrototype MessageFactory.GetPrototype(), (https://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) (https://github.com/protocolbuffers/protobuf/commit/0720536eca20ca2f801127869d7f1211bceb3865)
    • [Python] Remove deprecated Python RPC Service Interfaces (https://github.com/protocolbuffers/protobuf/commit/5ba74b11e8d2bd5e9b22e972beb572668bf6191c)
    • [Python] Python setdefault behavior change for map field. (https://github.com/protocolbuffers/protobuf/commit/81da6b999a8229942436f6c203a20633c65ebd26)
    • [Python] Remove deprecated py_proto_library macro.
    • [C++] Prohibit using Bazel+MSVC to build protobuf (https://github.com/protocolbuffers/protobuf/commit/117e7bbe74ac7c7faa9b6f44c1b22de366302854)
    • [C++] Remove deprecated Arena::CreateMessage. (https://github.com/protocolbuffers/protobuf/commit/d83a5365d16cff4be7da7d9a34eef14b24cc8733)
    • [C++] Remove CMake submodule support in favor of fetched or installed dependencies. (https://github.com/protocolbuffers/protobuf/commit/3f06ca4306a682e6ee631d8ea94b82baaafb14f0)
    • [C++] Flip default behavior for handling cmake dependencies. (https://github.com/protocolbuffers/protobuf/commit/9cc685edf867acf5024a94502a3cbd7afa7a3daa)
    • [C++] Add ASAN poisoning after clearing oneof messages on arena. (https://github.com/protocolbuffers/protobuf/commit/54d068e11c77ed387b97a60f435998b384e36e34)
    • [C++] Upgrade return type of type_name() and cpp_type_name() from const char* to absl::string_view. (https://github.com/protocolbuffers/protobuf/commit/a9ad51f5b6a19eacc934bcb51db6282ec1fabb8c)
    • [C++] Remove deprecated RepeatedPtrField::ClearedCount(). (https://github.com/protocolbuffers/protobuf/commit/e8e3253f63f52d314af0e317d09642b9ceb1b40e)
    • [C++] Upgrade return type of several string returning functions to absl::string_view. (https://github.com/protocolbuffers/protobuf/commit/d1990d968a54176eb9f4229abe7f7c97ece50cec)
    • [C++] Strip ctype from options in C++ (https://github.com/protocolbuffers/protobuf/commit/aebf8b9459f1da347a353c2fbbfe76230a457209)
    • [C++] Remove MutableRepeatedFieldRef::Reserve() in reflection (https://github.com/protocolbuffers/protobuf/commit/913f7b0c6d3c3e9876aea913b0d83bbd7fffe22c)
    • [C++] Remove deprecated JsonOptions alias. (https://github.com/protocolbuffers/protobuf/commit/e2eb0a19aa95497c8979d71031edbbab721f5f0a)
    • [C++] Remove deprecated Arena::GetArena. (https://github.com/protocolbuffers/protobuf/commit/30ed452eddacace2c3270dce9645b8f1f453ae4b)
  • Protobuf News may include additional announcements or pre-announcements for upcoming changes.
  • Migration Guide includes migration instructions for breaking changes for this release.

Bazel

  • Remove reference to cc_proto_aspect (https://github.com/protocolbuffers/protobuf/commit/fa02f768e3a793195e62ad70f9694106b893b0f3)
  • Remove deprecated bazel/system_python.bzl alias. (https://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. (https://github.com/protocolbuffers/protobuf/commit/a7df327bcdcecd09fcf7c987daa75714221c396e)
  • Have the protoc CLI properly report any parser warnings. (https://github.com/protocolbuffers/protobuf/commit/cafeaa41fb3c8d67eef0de11ed60ff539fd3318f)
  • Split protoc apart from libprotoc in our cmake configs. (https://github.com/protocolbuffers/protobuf/commit/b4b93b36245a88a3efa19261638f5da61a9be44f)
  • Begin adding extension numbers to SourceCodeInfo and FileDescriptorSet for tooling purposes. (https://github.com/protocolbuffers/protobuf/commit/9d7236b421634afcecc24b6fd63da0ff5b506394)
  • Fix various unsigned to signed comparison warnings. (#​17212) (https://github.com/protocolbuffers/protobuf/commit/67de0878d6dc3b411b13fec0bff9200c71a3ca07)

C++

  • Fixing staleness tests (https://github.com/protocolbuffers/protobuf/commit/6abaf774bfe84cf3d359c22385354de566602458)
  • Add notices.h with information about our dependencies' licenses and add --notices flag to protoc to print the contents of that file. (https://github.com/protocolbuffers/protobuf/commit/a7df327bcdcecd09fcf7c987daa75714221c396e)
  • Backport: Remove if_constexpr usage for future Abseil compatibility (#​20488) (https://github.com/protocolbuffers/protobuf/commit/450ee76a1e06cd469e0f9bd9f8d6aa0241edcb39)
  • Add tests for older gcc versions we still support (#​20463) (https://github.com/protocolbuffers/protobuf/commit/0778473da9f5fdec8346853b6a5c84cc21ba8e7e)
  • Fix a bug in handling of implicit-presence string_view fields. (#​20403) (https://github.com/protocolbuffers/protobuf/commit/81196acc7e3e859a0dbb26223516462c3f6e4e40)
  • Remove rules_rust dependency from MODULE.bazel for 30.x (#​20310) (https://github.com/protocolbuffers/protobuf/commit/b8248f687f07d78a4baedd1581843883544ae239)
  • Upgrade abseil-cpp to 2025012 and use @​com_google_absl -> @​abseil-cpp and com_google_googletest -> @​googletest canonical BCR names. (#​20295) (https://github.com/protocolbuffers/protobuf/commit/df849cc9c54d43de4d9986287ef3fafb487f45e3)
  • Replace std::any with a custom solution. (#​20251) (https://github.com/protocolbuffers/protobuf/commit/6250d09c426f5b42b7d9f954fc73d24c644a221e)
  • Make DebugString print debug output, enable debug markers for debug output (https://github.com/protocolbuffers/protobuf/commit/9a033327c6382bdd78412ff9f60e512a19a4129a)
  • Fix missing port_undef (#​20052) (https://github.com/protocolbuffers/protobuf/commit/064438830bff4d87bb7fcfdaa53aa2598168e524)
  • Use __builtin_expect_with_probability for proto field presence checks. (https://github.com/protocolbuffers/protobuf/commit/e9584192996ba6ae9a071973c3c903b693359217)
  • Enable meta-tagging for redaction purposes (https://github.com/protocolbuffers/protobuf/commit/1f487953bfafc717fecf7f7e01ca141f09b861c3)
  • Breaking change: Prohibit using Bazel+MSVC to build protobuf (https://github.com/protocolbuffers/protobuf/commit/117e7bbe74ac7c7faa9b6f44c1b22de366302854)
  • Breaking change: Upgrade return type of several string returning functions to absl::string_view. (https://github.com/protocolbuffers/protobuf/commit/d1990d968a54176eb9f4229abe7f7c97ece50cec)
  • Print the presence probability when analysis is enabled. (https://github.com/protocolbuffers/protobuf/commit/d4ba7ff998ea865121d864bd627cb0b98948c8ea)
  • Split protoc apart from libprotoc in our cmake configs. (https://github.com/protocolbuffers/protobuf/commit/b4b93b36245a88a3efa19261638f5da61a9be44f)
  • Breaking change: Strip ctype from options in C++ (https://github.com/protocolbuffers/protobuf/commit/aebf8b9459f1da347a353c2fbbfe76230a457209)
  • Breaking change: Remove MutableRepeatedFieldRef::Reserve() in reflection (https://github.com/protocolbuffers/protobuf/commit/913f7b0c6d3c3e9876aea913b0d83bbd7fffe22c)
  • Remove stale references to C++14. (https://github.com/protocolbuffers/protobuf/commit/f4cc92c73de43a1455f63cb734ad161d9c03a4a8)
  • Breaking change: Upgrade return type of type_name() and cpp_type_name() from const char* to absl::string_view. (https://github.com/protocolbuffers/protobuf/commit/a9ad51f5b6a19eacc934bcb51db6282ec1fabb8c)
  • Update cmake minimum version to >=3.16. (https://github.com/protocolbuffers/protobuf/commit/21f535c978812ab2d9afcbe887fc2ad228c0d92e)
  • Migrate coded output stream arguments from const std::string& to absl::string_view. (https://github.com/protocolbuffers/protobuf/commit/0361a59322277a50f36b913f306884f5dda7c4c9)
  • Breaking change: Remove deprecated Arena::GetArena. (https://github.com/protocolbuffers/protobuf/commit/30ed452eddacace2c3270dce9645b8f1f453ae4b)
  • Remove the time (or time-based) entropy being added to Map's seed. (https://github.com/protocolbuffers/protobuf/commit/a7875bb3432678f1e54e5c08c58e35d678cadbe1)
  • Don't use CLOCK_UPTIME_RAW if it won't be defined (#​16951) (https://github.com/protocolbuffers/protobuf/commit/097dcda8f2029f3a08ef487893e79410257cf7cf)
  • Fix DEPENDENCIES in protobuf_generate() to accept multiple values instead of silently dropping (https://github.com/protocolbuffers/protobuf/commit/52887e1cc726bff24b8b0dd6f2b1babf7632db8a)
  • Use ABSL_PREDICT_TRUE|FALSE instead of PROTOBUF_PREDICT_TRUE|FALSE. (https://github.com/protocolbuffers/protobuf/commit/fd477301f8c4c76f61c2b9e323f77a824d733174)
  • Breaking change: Flip default behavior for handling cmake dependencies. (https://github.com/protocolbuffers/protobuf/commit/9cc685edf867acf5024a94502a3cbd7afa7a3daa)
  • Use [[maybe_unused]] instead of PROTOBUF_UNUSED. (https://github.com/protocolbuffers/protobuf/commit/a7dd1559ee05d2e7997d5e55bbbbf2d3d461715f)
  • Use [[nodiscard]] instead of PROTOBUF_NODISCARD (https://github.com/protocolbuffers/protobuf/commit/1ceedf88ca4c6f151f08a10244005cee6c814f40)
  • Breaking change: Remove deprecated JsonOptions alias. (https://github.com/protocolbuffers/protobuf/commit/e2eb0a19aa95497c8979d71031edbbab721f5f0a)
  • Generate internal hasbits for singular proto3 implicit presence fields. (https://github.com/protocolbuffers/protobuf/commit/3e82ed436b498a8ea953c89f99fc66eba0bdc6a0)
  • Add name mangling to nested names that collide with known generated names, like (https://github.com/protocolbuffers/protobuf/commit/f2cf85c9418173c7f294a5999a0023db1272f84c)
  • Breaking change: Remove deprecated RepeatedPtrField::ClearedCount(). (https://github.com/protocolbuffers/protobuf

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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.


This change is Reviewable

renovate-bot avatar Jun 09 '25 04:06 renovate-bot

/gcbrun

dpebot avatar Jun 09 '25 04:06 dpebot

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 31.x releases. But if you manually upgrade to 31.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

forking-renovate[bot] avatar Jun 30 '25 22:06 forking-renovate[bot]