Skip to content

Commit e6eb2f9

Browse files
renovate[bot]github-actions[bot]zeitlinger
authored
fix(deps): update protobuf (#1936)
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [protoc](https://redirect.github.com/protocolbuffers/protobuf) | | major | `33.5` → `34.0` | ![age](https://developer.mend.io/api/mc/badges/age/github-releases/protocolbuffers%2fprotobuf/34.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-releases/protocolbuffers%2fprotobuf/33.5/34.0?slim=true) | | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://redirect.github.com/protocolbuffers/protobuf)) | compile | minor | `4.33.5` → `4.34.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.protobuf:protobuf-java/4.34.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.protobuf:protobuf-java/4.33.5/4.34.0?slim=true) | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (protoc)</summary> ### [`v34.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v34.0): Protocol Buffers v34.0 [Compare Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.5...v34.0-rc2) ### Announcements - **This version includes potential breaking changes with major version bump to: Objective-C, Python, PHP, C++. Bazel** - \[Objective-C] Remove `-[GPBFieldDescriptor optional]` ([`3414dc1`](https://redirect.github.com/protocolbuffers/protobuf/commit/3414dc151eb4dcbdb2ca952e2589993bf7af75c4)) - \[Objective-C] Fix nullability annotations on some `GPB*Dictionary` types. ([`ea67d6d`](https://redirect.github.com/protocolbuffers/protobuf/commit/ea67d6d26a48478a567c404679e3bb99cf230d50)) - \[Objective-C] Remove `generate_minimal_imports` generation option warning ([`45b1297`](https://redirect.github.com/protocolbuffers/protobuf/commit/45b1297fdaad5a9436d0e207422168c38dc45ac4)) - \[Python] Raise errors in OSS when assign bool to int/enum field in Python Proto. ([`5b116fe`](https://redirect.github.com/protocolbuffers/protobuf/commit/5b116fe2f14f49dd0cc3b76089983717f211025c)) - \[Python] Remove deprecated UseDeprecatedLegacyJsonFieldConflicts() ([`c301c2c`](https://redirect.github.com/protocolbuffers/protobuf/commit/c301c2ca286327a21c50c0c4cd877afc9c655b00)) - \[Python] Remove deprecated FieldDescriptor.label ([`0a8ff55`](https://redirect.github.com/protocolbuffers/protobuf/commit/0a8ff55518ea5874478ad5b26515b31d186045a9)) - \[Python] Remove float\_format/double\_format from python proto text\_format ([`e4854a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4854a186e0bfa867d5bfa5cd850608a948fd488)) - \[Python] Remove deprecated FieldDescriptor::label() in OSS. Use is\_repeated() or is\_required() instead ([`b76faa9`](https://redirect.github.com/protocolbuffers/protobuf/commit/b76faa921fdd244f374c7be0bddd4050fc42c292)) - \[Python] Raise TypeError when convert non-timedelta to Duration, or convert non-datetime to Timestamp in python proto. (Original code may raise ArributeError) ([`00aaca1`](https://redirect.github.com/protocolbuffers/protobuf/commit/00aaca1b4d98954bc2933d7c8a5379ba6088124c)) - \[Python] Remove float\_precision from python proto json\_format ([`f027f1f`](https://redirect.github.com/protocolbuffers/protobuf/commit/f027f1fcd52b9d080b7ee79f4024f53cf54e0dc5)) - \[PHP] Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead. ([`4208121`](https://redirect.github.com/protocolbuffers/protobuf/commit/42081219920c6fad17ba6ddd1e28d111bcfb3345)) - \[PHP] Remove deprecated PHP APIs ([`9c45014`](https://redirect.github.com/protocolbuffers/protobuf/commit/9c45014099a4f7004fab6dd1278de2f4f2a393c5)) - \[PHP] Add PHP typehints for setters and remove redundant GPBUtil checks ([`aee03b7`](https://redirect.github.com/protocolbuffers/protobuf/commit/aee03b78929c02461a5f9d8e136a2a016359b0cd)) - \[PHP] support default values for editions/proto2 ([`b01099d`](https://redirect.github.com/protocolbuffers/protobuf/commit/b01099d56350551bae3da88b97bf3027274c9f17)) - \[C++] Remove deprecated UseDeprecatedLegacyJsonFieldConflicts() ([`c301c2c`](https://redirect.github.com/protocolbuffers/protobuf/commit/c301c2ca286327a21c50c0c4cd877afc9c655b00)) - \[C++] Add a debug check that the target of CopyFrom is not a descendant of the source. ([`7a75898`](https://redirect.github.com/protocolbuffers/protobuf/commit/7a7589823d2cfaaf7994b050e98d5d553bc9b1c1)) - \[C++] Add \[\[nodiscard]] to many APIs. ([`a70115f`](https://redirect.github.com/protocolbuffers/protobuf/commit/a70115f33f9af2c4b2202c800b84837e7fe0d738)) - \[C++] Make generator headers private ([`3a2af35`](https://redirect.github.com/protocolbuffers/protobuf/commit/3a2af3510f0d454dbe3e4dc281674b61c4d20b9e)) - \[C++] Remove deprecated FieldDescriptor::has\_optional\_keyword() in OSS. Use is\_repeated() or has\_presence() instead ([`68346ec`](https://redirect.github.com/protocolbuffers/protobuf/commit/68346ec9348e932664e58c3ecdcd1478f95233a8)) - \[C++] Remove deprecated FieldDescriptor::label() in OSS. Use is\_repeated() or is\_required() instead ([`b76faa9`](https://redirect.github.com/protocolbuffers/protobuf/commit/b76faa921fdd244f374c7be0bddd4050fc42c292)) - \[C++] Remove deprecated FieldDescriptor::is\_optional() in OSS. Use (!is\_required() && !is\_repeated()) instead ([`9dbc5d4`](https://redirect.github.com/protocolbuffers/protobuf/commit/9dbc5d479a8e453921485d8d3de47fb3c005f1af)) - \[C++] Remove AddUnusedImportTrackFile() and ClearUnusedImportTrackFiles(). Remove PROTOBUF\_FUTURE\_RENAME\_ADD\_UNUSED\_IMPORT ([`837a2cd`](https://redirect.github.com/protocolbuffers/protobuf/commit/837a2cd1d6c75402b2503ffe7cd8aeaf25868536)) - \[C++] Removes proto2::util::MessageDifferencer::AddIgnoreCriteria that takes a raw pointer as an argument in favor of the overload that takes a unique\_ptr. Remove macro PROTOBUF\_FUTURE\_REMOVE\_ADD\_IGNORE\_CRITERIA ([`b115358`](https://redirect.github.com/protocolbuffers/protobuf/commit/b115358c64127896fed88b8b5ef5d91d86d8cbae)) - \[C++] Make the arena-enabled constructors of `RepeatedField`, `RepeatedPtrField`, and `Map` private. ([`ef890c3`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef890c3d0c79398c70e047fe5dd893f460ba2336)) - \[C++] All entity names have length limit ([`2afb0dc`](https://redirect.github.com/protocolbuffers/protobuf/commit/2afb0dc390eae546056fb5b3c67b6c015b7b2617)) - \[Other] Remove deprecated flag for enabling MSVC support ([`97c979b`](https://redirect.github.com/protocolbuffers/protobuf/commit/97c979be6e0907e1051bee62584dac4594e73fa7)) - \[Bazel] Remove deprecated ProtoInfo.transitive\_imports. Use equivalent transitive\_sources instead ([`0a5c2f6`](https://redirect.github.com/protocolbuffers/protobuf/commit/0a5c2f6b633c1e5259f566cb42d30fe347b8aadb)) - \[Bazel] Change @&#8203;protobuf//bazel/flags:prefer\_prebuilt\_proto flag to True. ([`84a30b5`](https://redirect.github.com/protocolbuffers/protobuf/commit/84a30b561f740a1f3458c25bca99b6358c350838)) - \[Bazel] Only respect the Starlark versions of --proto\_toolchain\_for\*([`b5685c4`](https://redirect.github.com/protocolbuffers/protobuf/commit/b5685c48b52eb38b2849a10666ba981bb626fd7a)) - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Bazel - Only respect the Starlark versions of --proto\_toolchain\_for\*. This is a breaking change. ([#&#8203;26090](https://redirect.github.com/protocolbuffers/protobuf/issues/26090)) ([#&#8203;26091](https://redirect.github.com/protocolbuffers/protobuf/issues/26091)) ([`b5685c4`](https://redirect.github.com/protocolbuffers/protobuf/commit/b5685c48b52eb38b2849a10666ba981bb626fd7a)) - Breaking change: Change @&#8203;protobuf//bazel/flags:prefer\_prebuilt\_proto flag to True. ([`84a30b5`](https://redirect.github.com/protocolbuffers/protobuf/commit/84a30b561f740a1f3458c25bca99b6358c350838)) - Dropped support for Bazel 7. ([`304c9ba`](https://redirect.github.com/protocolbuffers/protobuf/commit/304c9ba5311db66a3b5dde7ed4ccafe9e0c0c893)) - Don't check for native protobuf flags if the proto fragment doesn't exist. ([#&#8203;25803](https://redirect.github.com/protocolbuffers/protobuf/issues/25803)) ([`5975f13`](https://redirect.github.com/protocolbuffers/protobuf/commit/5975f138121c6ae2a48958f2cdece711dc23bd36)) - Fix the prefer\_prebuilt\_protoc alias to use the correct originally announced location ([`732ed49`](https://redirect.github.com/protocolbuffers/protobuf/commit/732ed49b0ae330830ba08d2b761ce0a77b48cb73)) - Actually fix breaking change related to `upb_proto_reflection_library` ([`86d434b`](https://redirect.github.com/protocolbuffers/protobuf/commit/86d434bc3022db3c7069466a967362dc4592a4a2)) - Fix breaking change related to `upb_c_proto_library` and `upb_proto_reflection_library` ([`b0150c0`](https://redirect.github.com/protocolbuffers/protobuf/commit/b0150c0f13bd1467ec8cfedcc521d3b2c7d14e57)) - Add an alias to undo accidental unannounced breaking change ([`e71d379`](https://redirect.github.com/protocolbuffers/protobuf/commit/e71d37900eafaca6f553548ac2e114eaebc4f3ef)) - Moved prebuilt-related Bazel files to standard locations. ([`cfe8991`](https://redirect.github.com/protocolbuffers/protobuf/commit/cfe89912e50db8f6af2f98b30b2f26677abb5aa9)) - Refactored and rearranged Bazel rules. ([`d7dd1e1`](https://redirect.github.com/protocolbuffers/protobuf/commit/d7dd1e1bce613fa4441382e5fc43cb7f7d0ababb)) - Removed the `third_party/upb/upb/bazel` directory. ([`7efbfe1`](https://redirect.github.com/protocolbuffers/protobuf/commit/7efbfe1692cbd4c880d4e870ec8cf4b35a30e447)) - Introduce Starlark versions of Protobuf flags. ([`d1f4b2f`](https://redirect.github.com/protocolbuffers/protobuf/commit/d1f4b2f3640eb809f8413413eb2fd4b0bafb2305)) - Fix: cc\_toolchain should prefer protoc when prebuilt flag is flipped. ([#&#8203;25168](https://redirect.github.com/protocolbuffers/protobuf/issues/25168)) ([`8c857c3`](https://redirect.github.com/protocolbuffers/protobuf/commit/8c857c3a1c6a106b0a096f1c9fa504bfaca035a9)) - Breaking change: Remove deprecated ProtoInfo.transitive\_imports. Use equivalent transitive\_sources instead ([`0a5c2f6`](https://redirect.github.com/protocolbuffers/protobuf/commit/0a5c2f6b633c1e5259f566cb42d30fe347b8aadb)) - Feat(bazel): wire up prebuilt protoc toolchain ([#&#8203;24115](https://redirect.github.com/protocolbuffers/protobuf/issues/24115)) ([`cc23698`](https://redirect.github.com/protocolbuffers/protobuf/commit/cc23698b486e690ea2eb873cc7596a87c74a3ba6)) - Migrate `proto_descriptor_set` ([#&#8203;23369](https://redirect.github.com/protocolbuffers/protobuf/issues/23369)) ([`8d4dfdd`](https://redirect.github.com/protocolbuffers/protobuf/commit/8d4dfdd39a7a242a9ed631a6ab2192c57dd9b9c8)) ### Compiler - Removed the `third_party/upb/upb/bazel` directory. ([`7efbfe1`](https://redirect.github.com/protocolbuffers/protobuf/commit/7efbfe1692cbd4c880d4e870ec8cf4b35a30e447)) - Validate Feature Support on Custom Options ([`2985930`](https://redirect.github.com/protocolbuffers/protobuf/commit/29859301bdf0082575b6fbda22ebfb453eb518fd)) - Ruby codegen: support generation of rbs files ([#&#8203;15633](https://redirect.github.com/protocolbuffers/protobuf/issues/15633)) ([`6ebdf85`](https://redirect.github.com/protocolbuffers/protobuf/commit/6ebdf851ba78728f0aa145d38454ed9a316fb08d)) - Avoid collision name problems between a message named `Xyz` and a direct sibling enum named `XyzView` ([`eba53e8`](https://redirect.github.com/protocolbuffers/protobuf/commit/eba53e8f172b273d679759a72ce4250131ee3df1)) - Generalizing and implementing ValidateFeatureSupport for both Options and Features during proto parsing ([`ed3c571`](https://redirect.github.com/protocolbuffers/protobuf/commit/ed3c57114d8e2b47cca7697ddaa50c1b3762a6b0)) - Fix a bug with custom features outside of the `pb` package. ([`872d3ce`](https://redirect.github.com/protocolbuffers/protobuf/commit/872d3ce7a4da00d7dcec33ced20cfe45235935e8)) - Fix import option handling when include\_imports isn't set. ([`9ef9e80`](https://redirect.github.com/protocolbuffers/protobuf/commit/9ef9e80afd9bc8379d578fe67e5ab0738728c04e)) - Fix a bug in STRICT check of namespaced enums to properly check for 'reserved 1 to max' ([`1229d4a`](https://redirect.github.com/protocolbuffers/protobuf/commit/1229d4adba24c0952ab85ce96bc7b7f8a1fe6d0f)) - Prevent accidental stripping of `debug_redact` options via import option. ([`f58b098`](https://redirect.github.com/protocolbuffers/protobuf/commit/f58b098bffa7ca4045ef7773b09151a6af5d0c28)) ### C++ - Regenerated files. ([`a9bbf7a`](https://redirect.github.com/protocolbuffers/protobuf/commit/a9bbf7a248d08c57803a300fbf457bf6ded1498a)) - Dropped support for Bazel 7. ([`304c9ba`](https://redirect.github.com/protocolbuffers/protobuf/commit/304c9ba5311db66a3b5dde7ed4ccafe9e0c0c893)) - Remove direct dependency on rules\_apple ([#&#8203;25708](https://redirect.github.com/protocolbuffers/protobuf/issues/25708)) ([`e06c026`](https://redirect.github.com/protocolbuffers/protobuf/commit/e06c02619bde66ec04cf793d954c5ef47bb0d7ae)) - Fix broken `field_mask_upb_proto` and `field_mask_upb_reflection_proto` aliases ([`d808a97`](https://redirect.github.com/protocolbuffers/protobuf/commit/d808a97af081620da214b52586ee7bdc8d692463)) - Removed the `third_party/upb/upb/bazel` directory. ([`7efbfe1`](https://redirect.github.com/protocolbuffers/protobuf/commit/7efbfe1692cbd4c880d4e870ec8cf4b35a30e447)) - Validate Feature Support on Custom Options ([`2985930`](https://redirect.github.com/protocolbuffers/protobuf/commit/29859301bdf0082575b6fbda22ebfb453eb518fd)) - Auto-generate files after PR [#&#8203;25437](https://redirect.github.com/protocolbuffers/protobuf/issues/25437) ([`8be64ea`](https://redirect.github.com/protocolbuffers/protobuf/commit/8be64ea97c5bc6b3e990cd9939bf8f612b8fd088)) - Update rules\_apple dependency to support rules\_swift 3.x ([#&#8203;25437](https://redirect.github.com/protocolbuffers/protobuf/issues/25437)) ([`c0e15f2`](https://redirect.github.com/protocolbuffers/protobuf/commit/c0e15f2b6231d121e027ec07c6da9b4b3ced1adf)) - Fix UTF-8 Validation of string extensions in C++ ([`35ba5cf`](https://redirect.github.com/protocolbuffers/protobuf/commit/35ba5cf151b76079eaf42f2b56c38311284d397b)) - Improve wire compatibility of `TestAllTypes` with `TestAllExtensions`. ([`08355bd`](https://redirect.github.com/protocolbuffers/protobuf/commit/08355bdfcf4acdb61648011b4622fce9a065a5a9)) - Add EnumerateEnumValues function. ([`397d5d9`](https://redirect.github.com/protocolbuffers/protobuf/commit/397d5d99db274b379d1384814074bf7df39d32f7)) - Add conformance tests for utf8 validation. ([`e8923a8`](https://redirect.github.com/protocolbuffers/protobuf/commit/e8923a8ea72d5573f0380030a482ba440b5eb2dc)) - Disable constinit on MSVC for static library builds ([`783da0a`](https://redirect.github.com/protocolbuffers/protobuf/commit/783da0a9407f6bf890455e5ba05e861df11f600f)) - Breaking change: Make generator headers private ([`3a2af35`](https://redirect.github.com/protocolbuffers/protobuf/commit/3a2af3510f0d454dbe3e4dc281674b61c4d20b9e)) - Add bounds checking to ExtractSubrange. ([`5687acc`](https://redirect.github.com/protocolbuffers/protobuf/commit/5687acc54cab007591b60d23e7f055209df03eac)) - This CL starts failing on `[unverified_lazy = true]` on extensions, which have been ([`d2a42e7`](https://redirect.github.com/protocolbuffers/protobuf/commit/d2a42e74b9ee7d7a11c5bca95ab7b49c0d4fea27)) - Refine the conditions for the MSVC constinit workaround ([`38927bf`](https://redirect.github.com/protocolbuffers/protobuf/commit/38927bf2b93a42e2a155b49f9d610c70cc5942ec)) - Add conformance test cases about handling of google.protobuf.Empty inside any Any in JSON. ([`0f3dd06`](https://redirect.github.com/protocolbuffers/protobuf/commit/0f3dd063c6fd301cb73c3148f8ac7b570f773e94)) - Remove PROTOBUF\_CONSTEXPR to unconditionally use constexpr ([`7f431bb`](https://redirect.github.com/protocolbuffers/protobuf/commit/7f431bb54a7659725c1b5668a83c7c400ac90026)) - Add bounds checking to `DeleteSubrange`, create new helper, `RuntimeAssertInBoundsGE`, and modify `LogIndexOutOfBoundsAndAbort` to customize the message being logged. ([`71cc97c`](https://redirect.github.com/protocolbuffers/protobuf/commit/71cc97ce5a81549312d77f62c85024851702b313)) - Breaking change: Remove deprecated UseDeprecatedLegacyJsonFieldConflicts() ([`c301c2c`](https://redirect.github.com/protocolbuffers/protobuf/commit/c301c2ca286327a21c50c0c4cd877afc9c655b00)) - Fix issue where BinaryToJson a Skip()'s failure on unknown fields was ignored instead of resulting in a parse failure. ([`2ec322e`](https://redirect.github.com/protocolbuffers/protobuf/commit/2ec322ed576f0610b94f43cc9a98211058a93770)) - Breaking change: Add \[\[nodiscard]] to many APIs. ([`a70115f`](https://redirect.github.com/protocolbuffers/protobuf/commit/a70115f33f9af2c4b2202c800b84837e7fe0d738)) - Abort on out of bounds accesses. ([`3acf23c`](https://redirect.github.com/protocolbuffers/protobuf/commit/3acf23cce5aac088a7c6585484a8b38c48448255)) - Fix JSON printing of Any of an empty message in C++Proto. ([`014f676`](https://redirect.github.com/protocolbuffers/protobuf/commit/014f676e8898e0e47919911cb759094acf607236)) - FieldMaskUtil::TrimMessage: Handle repeated messages. ([`0f109cb`](https://redirect.github.com/protocolbuffers/protobuf/commit/0f109cb7089805c438b9f64a1cc52bfdddb4bd70)) - Breaking change: Remove deprecated FieldDescriptor::label() in OSS. Use is\_repeated() or is\_required() instead ([`b76faa9`](https://redirect.github.com/protocolbuffers/protobuf/commit/b76faa921fdd244f374c7be0bddd4050fc42c292)) - Generalizing and implementing ValidateFeatureSupport for both Options and Features during proto parsing ([`ed3c571`](https://redirect.github.com/protocolbuffers/protobuf/commit/ed3c57114d8e2b47cca7697ddaa50c1b3762a6b0)) - Breaking change: Remove deprecated FieldDescriptor::has\_optional\_keyword() in OSS. Use is\_repeated() or has\_presence() instead ([`68346ec`](https://redirect.github.com/protocolbuffers/protobuf/commit/68346ec9348e932664e58c3ecdcd1478f95233a8)) - Test that all entity names have some limit, and that passing that limit will ([`2afb0dc`](https://redirect.github.com/protocolbuffers/protobuf/commit/2afb0dc390eae546056fb5b3c67b6c015b7b2617)) - Breaking change: Remove deprecated FieldDescriptor::is\_optional() in OSS. Use (!is\_required() && !is\_repeated()) instead ([`9dbc5d4`](https://redirect.github.com/protocolbuffers/protobuf/commit/9dbc5d479a8e453921485d8d3de47fb3c005f1af)) - Breaking change: Remove AddUnusedImportTrackFile() and ClearUnusedImportTrackFiles(). Remove PROTOBUF\_FUTURE\_RENAME\_ADD\_UNUSED\_IMPORT ([`837a2cd`](https://redirect.github.com/protocolbuffers/protobuf/commit/837a2cd1d6c75402b2503ffe7cd8aeaf25868536)) - Breaking change: Removes proto2::util::MessageDifferencer::AddIgnoreCriteria that takes a raw pointer as an argument in favor of the overload that takes a unique\_ptr. Remove macro PROTOBUF\_FUTURE\_REMOVE\_ADD\_IGNORE\_CRITERIA ([`b115358`](https://redirect.github.com/protocolbuffers/protobuf/commit/b115358c64127896fed88b8b5ef5d91d86d8cbae)) - Mark mutable repeated fields/maps as \[\[nodiscard]] ([`bc60e2e`](https://redirect.github.com/protocolbuffers/protobuf/commit/bc60e2e8077867eaf9bcc65e42d6d36a7a959a5d)) - Apply \[\[nodiscard]] to constant, non-message accessors. ([`46575f0`](https://redirect.github.com/protocolbuffers/protobuf/commit/46575f0e8d1e16aec817e77711561a983aa13355)) - Add \[\[nodiscard]] to many const methods of Message/Reflection. ([`8c981b8`](https://redirect.github.com/protocolbuffers/protobuf/commit/8c981b87ac0902c761920e9d3270242afe63ef31)) - Fix a bug with custom features outside of the `pb` package. ([`872d3ce`](https://redirect.github.com/protocolbuffers/protobuf/commit/872d3ce7a4da00d7dcec33ced20cfe45235935e8)) - Delete safe\_boundary\_check as this now supported via build flag, `--//third_party/protobuf:bounds_check_mode`. ([`3079d15`](https://redirect.github.com/protocolbuffers/protobuf/commit/3079d15176586dff25a2ea43c60921404b2dda2a)) - Add \[\[nodiscard]] to `const` message field accessors. ([`60f60d0`](https://redirect.github.com/protocolbuffers/protobuf/commit/60f60d0614fca0787f52484159cc7bf8df321e8a)) - CMake: Stop building tests by default (related to [#&#8203;20539](https://redirect.github.com/protocolbuffers/protobuf/issues/20539)) ([#&#8203;24373](https://redirect.github.com/protocolbuffers/protobuf/issues/24373)) ([`88261aa`](https://redirect.github.com/protocolbuffers/protobuf/commit/88261aab23498a853d63dfd008545f3ae6cfe86d)) - Optimize TcParser::RepeatedVarint ([`88efe88`](https://redirect.github.com/protocolbuffers/protobuf/commit/88efe88a6bceffa2ec37f172d161a8549f92b133)) - Add nodiscard to has\_*/*\_size accessors. ([`40fe103`](https://redirect.github.com/protocolbuffers/protobuf/commit/40fe103a798b52dc0c3072d249e766063db241ac)) - Enable removed arena pointers from all fields. ([`1f3fe2e`](https://redirect.github.com/protocolbuffers/protobuf/commit/1f3fe2eeb79f79fe16d6e8f870acddbf19a4d8ee)) - Fix a bug in STRICT check of namespaced enums to properly check for 'reserved 1 to max' ([`1229d4a`](https://redirect.github.com/protocolbuffers/protobuf/commit/1229d4adba24c0952ab85ce96bc7b7f8a1fe6d0f)) - Breaking change: Add a debug check that the target of CopyFrom is not a descendant of the source. ([`7a75898`](https://redirect.github.com/protocolbuffers/protobuf/commit/7a7589823d2cfaaf7994b050e98d5d553bc9b1c1)) - Breaking change: Make the arena-enabled constructors of `RepeatedField`, `RepeatedPtrField`, and `Map` private. ([`ef890c3`](https://redirect.github.com/protocolbuffers/protobuf/commit/ef890c3d0c79398c70e047fe5dd893f460ba2336)) - Update AddAlreadyReserved/AddNAlreadyReserved to use the runtime bounds checks. ([`b8e690a`](https://redirect.github.com/protocolbuffers/protobuf/commit/b8e690a381da9d2f1c55ddd044f2e50ac6db5921)) - Use \_\_builtin\_operator\_new to faciliate compiler optimizations of these allocs. ([`4624d81`](https://redirect.github.com/protocolbuffers/protobuf/commit/4624d8120afd4a71f8ada0ff66cceb04d45d5409)) - Add has\_default\_instance() to ImplicitWeakTypeHandler ([`818b8ef`](https://redirect.github.com/protocolbuffers/protobuf/commit/818b8efbaa200bcdbac329930fef4cc3ec70441a)) - Add a macro to make `RepeatedField(Arena*)` constructor private in a future release. ([`b39f10c`](https://redirect.github.com/protocolbuffers/protobuf/commit/b39f10c4a29d1a3d02906750cac889c4b1b5ee7c)) - Use \_\_builtin\_operator\_new to faciliate compiler optimizations of these allocs. ([`195da19`](https://redirect.github.com/protocolbuffers/protobuf/commit/195da19b9617eb8da9716db7408cb987faec9085)) - Change LogIndexOutOfBoundsAndAbort logging message. ([`bc0b635`](https://redirect.github.com/protocolbuffers/protobuf/commit/bc0b635b4bedca2c3e0f55dcce6971db6c024f23)) ### Java - Dropped support for Bazel 7. ([`304c9ba`](https://redirect.github.com/protocolbuffers/protobuf/commit/304c9ba5311db66a3b5dde7ed4ccafe9e0c0c893)) - Optimize TextFormatEscaper to just return the String input if it didn't need any escaping. ([`e536204`](https://redirect.github.com/protocolbuffers/protobuf/commit/e5362043d3938208e5d469e0d2116746eb0b9e09)) - Adding deprecation comment when isInitialized() accessor is deprecated ([`2732c60`](https://redirect.github.com/protocolbuffers/protobuf/commit/2732c601605ef6085ab11e7ca9e5a88531a1f66f)) - Deprecating isInitialized() if there aren't required fields ([`2607595`](https://redirect.github.com/protocolbuffers/protobuf/commit/260759508eced9f0d2a0a6b22734c691c1d834a5)) - Avoid skipping descriptors with option dependencies ([`1bc2c63`](https://redirect.github.com/protocolbuffers/protobuf/commit/1bc2c6352acadf5192c53fce4755553b656360e9)) - Remove PROTOBUF\_CONSTEXPR to unconditionally use constexpr ([`7f431bb`](https://redirect.github.com/protocolbuffers/protobuf/commit/7f431bb54a7659725c1b5668a83c7c400ac90026)) - Correctly apply JSON recursion limit when parsing an Any-of-Any. ([`33b16e8`](https://redirect.github.com/protocolbuffers/protobuf/commit/33b16e8302d9aae1f4838296443bfebbac5b4978)) - Avoid potential exceptions on serialize in the face of malformed lazy extensions. ([`531c644`](https://redirect.github.com/protocolbuffers/protobuf/commit/531c644c7d2dee3e57e25025fcd6be19191eb5c2)) - Remove unused canUseUnsafe() protected method from GeneratedMessage ([`1041d62`](https://redirect.github.com/protocolbuffers/protobuf/commit/1041d6274fa07625f17eb5b574daf624b423c9e9)) - Apply \[\[nodiscard]] to constant, non-message accessors. ([`46575f0`](https://redirect.github.com/protocolbuffers/protobuf/commit/46575f0e8d1e16aec817e77711561a983aa13355)) - Add check if sun.misc.Unsafe is present but throws on use, to use the preexisting no-Unsafe paths if it does. ([`3514901`](https://redirect.github.com/protocolbuffers/protobuf/commit/35149013bfce328da702fee003fff9e69c9e3ba4)) - Fix a bug with custom features outside of the `pb` package. ([`872d3ce`](https://redirect.github.com/protocolbuffers/protobuf/commit/872d3ce7a4da00d7dcec33ced20cfe45235935e8)) - Expose NestedInFileClass naming helpers for Java immutable. ([`0c48552`](https://redirect.github.com/protocolbuffers/protobuf/commit/0c485521586958c5b486954fb4eb1d3028688ea5)) - Add nodiscard to has\_*/*\_size accessors. ([`40fe103`](https://redirect.github.com/protocolbuffers/protobuf/commit/40fe103a798b52dc0c3072d249e766063db241ac)) - Remove defunct protected mergeFromAndMakeImmutableInternal method. This method was planned to be used by gencode but was never used in practice. ([`57770eb`](https://redirect.github.com/protocolbuffers/protobuf/commit/57770eb7b7bc75be576cd980cdd08b8579c75731)) - Fix bugs in Java Large Enums that have aliased values, and improve performance of valueOf / forNumber. ([`57338e8`](https://redirect.github.com/protocolbuffers/protobuf/commit/57338e8c6df24817f4d0fbaa30eb51f45751d59b)) - Remove unused test-only method Protobuf.registerSchemaOverride ([`8e623d1`](https://redirect.github.com/protocolbuffers/protobuf/commit/8e623d185b5ff318279127c267f9d9fad9f44a10)) - Remove unused method com.google.protobuf.Protobuf.mergeFrom(T,Reader) ([`7b6be54`](https://redirect.github.com/protocolbuffers/protobuf/commit/7b6be541e80e54bd8fed61473a806fe1ebbd4752)) - Remove unused method com.google.protobuf.Protobuf.makeImmutable ([`8fa15e9`](https://redirect.github.com/protocolbuffers/protobuf/commit/8fa15e99244e0113276c9c1ebc9654ad8e9e5963)) - Mark com.google.protobuf.Protobuf.registerSchema as private ([`db16bca`](https://redirect.github.com/protocolbuffers/protobuf/commit/db16bca5e83cb81bf75851cdb8e51864c38e2ac7)) - Remove "public" from methods in com.google.protobuf.Protobuf ([`f50c425`](https://redirect.github.com/protocolbuffers/protobuf/commit/f50c425568b1586738f5ed55211b09a2c32250c8)) - Remove unused method com.google.protobuf.Protobuf.getTotalSchemaSize() ([`dead64c`](https://redirect.github.com/protocolbuffers/protobuf/commit/dead64c507f0e5b51d381b6b6bf58af0138a1915)) - Fix large java enums not being honored on lite runtime. ([`ec3c8a7`](https://redirect.github.com/protocolbuffers/protobuf/commit/ec3c8a7856642c692b4685e2e0965d93141651ff)) ### Csharp - Regenerated files. ([`a9bbf7a`](https://redirect.github.com/protocolbuffers/protobuf/commit/a9bbf7a248d08c57803a300fbf457bf6ded1498a)) - Fix: apply recursion limits when parsing JSON well-known types with deep arrays ([`c3ddacb`](https://redirect.github.com/protocolbuffers/protobuf/commit/c3ddacbd2e67af0f7bbd463ebbe3db814bd5291b)) ### Objective-C - Adds support for 3 modes for proto extension generation: ([`0bc4192`](https://redirect.github.com/protocolbuffers/protobuf/commit/0bc41927e92cff886cd306a3545628c713cd27e5)) - Breaking change: Remove `generate_minimal_imports` generation option warning ([`45b1297`](https://redirect.github.com/protocolbuffers/protobuf/commit/45b1297fdaad5a9436d0e207422168c38dc45ac4)) - Emit hassers for oneofs in objectivec. ([`2aae07e`](https://redirect.github.com/protocolbuffers/protobuf/commit/2aae07eafa173b4d0177f11a3ede2ae33e777562)) - Breaking change: Fix nullability annotations on some `GPB*Dictionary` types. ([`ea67d6d`](https://redirect.github.com/protocolbuffers/protobuf/commit/ea67d6d26a48478a567c404679e3bb99cf230d50)) - Breaking change: Remove `-[GPBFieldDescriptor optional]` ([`3414dc1`](https://redirect.github.com/protocolbuffers/protobuf/commit/3414dc151eb4dcbdb2ca952e2589993bf7af75c4)) ### Rust - Rust protobuf: use crate name aliases to disambiguate generated dependencies ([`1f07ec6`](https://redirect.github.com/protocolbuffers/protobuf/commit/1f07ec66e374071f0f58a4a25590a51b3a8a719e)) - Avoid collision name problems between a message named `Xyz` and a direct sibling enum named `XyzView` ([`eba53e8`](https://redirect.github.com/protocolbuffers/protobuf/commit/eba53e8f172b273d679759a72ce4250131ee3df1)) - Mark MessageMut trait as `+ Send` ([`bc517b9`](https://redirect.github.com/protocolbuffers/protobuf/commit/bc517b9b92aa47fd2cf476ae0c246fdbca8e312e)) - Protobuf-rust: adapt for rules\_rust 0.67 ([`eb8d34e`](https://redirect.github.com/protocolbuffers/protobuf/commit/eb8d34e4d244d7a3ee274874dd55159840281212)) - Adapt for rules\_rust 0.66.0. ([`adb1957`](https://redirect.github.com/protocolbuffers/protobuf/commit/adb1957e315c3187fe844b7b31189d0dbd035b96)) - Expose protobuf::message\_eq() free function on the Rust Protobuf runtime api. ([`cfa8f67`](https://redirect.github.com/protocolbuffers/protobuf/commit/cfa8f677592a11651959105b5286c26b4fa76688)) - Protobuf-rust: pass DepVariantInfo's attributes explicitily ([`a42e64f`](https://redirect.github.com/protocolbuffers/protobuf/commit/a42e64f906ef715924dd2d19af3cf6b2fd82d462)) - *See also UPB changes below, which may affect Rust.* ### Python - Updated release builds to use Bazel 8 and platforms. ([`5d4ad45`](https://redirect.github.com/protocolbuffers/protobuf/commit/5d4ad457306b6562d40e43e584c6100d2d06069c)) - Add recursion guards for the following nested messages: ([#&#8203;25807](https://redirect.github.com/protocolbuffers/protobuf/issues/25807)) ([`c52dcb4`](https://redirect.github.com/protocolbuffers/protobuf/commit/c52dcb41b0901a9d96bbac6ae1db35994049e68c)) - Use the toolchain protoc by default in internal rules. ([`41ad19a`](https://redirect.github.com/protocolbuffers/protobuf/commit/41ad19a7a4204ff25bd1d37d905d9a11732309a1)) - Removed the `third_party/upb/upb/bazel` directory. ([`7efbfe1`](https://redirect.github.com/protocolbuffers/protobuf/commit/7efbfe1692cbd4c880d4e870ec8cf4b35a30e447)) - Prevent crashes when creating objects during interpreter shutdown ([`46061cb`](https://redirect.github.com/protocolbuffers/protobuf/commit/46061cb99d68d8fc0c46833b0ea8cee410bebbb8)) - Drop Python 3.9 support ([`bbc9dd9`](https://redirect.github.com/protocolbuffers/protobuf/commit/bbc9dd9e8a1bc669c8ca8cd2bd85a42bc4154255)) - Breaking change: Remove deprecated UseDeprecatedLegacyJsonFieldConflicts() ([`c301c2c`](https://redirect.github.com/protocolbuffers/protobuf/commit/c301c2ca286327a21c50c0c4cd877afc9c655b00)) - Breaking change: Remove deprecated FieldDescriptor::label() in OSS. Use is\_repeated() or is\_required() instead ([`b76faa9`](https://redirect.github.com/protocolbuffers/protobuf/commit/b76faa921fdd244f374c7be0bddd4050fc42c292)) - Support more chars in type URLs in the Python text-format parser. ([`4459a20`](https://redirect.github.com/protocolbuffers/protobuf/commit/4459a202053881e6e7ab0badd515b124be626ba3)) - Breaking change: Raise errors in OSS when assign bool to int/enum field in Python Proto. ([`5b116fe`](https://redirect.github.com/protocolbuffers/protobuf/commit/5b116fe2f14f49dd0cc3b76089983717f211025c)) - Breaking change: Remove float\_format/double\_format from python proto text\_format ([`e4854a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4854a186e0bfa867d5bfa5cd850608a948fd488)) - Two new functions in PyProto\_API to manage DescriptorPools ([`59f2a6e`](https://redirect.github.com/protocolbuffers/protobuf/commit/59f2a6e145065b23ea72039e57a2c7d8a6b04246)) - Breaking change: Remove deprecated FieldDescriptor.label ([`0a8ff55`](https://redirect.github.com/protocolbuffers/protobuf/commit/0a8ff55518ea5874478ad5b26515b31d186045a9)) - Python Proto scalar repeated numpy binding. ([`1eb4e52`](https://redirect.github.com/protocolbuffers/protobuf/commit/1eb4e5290a66ff387914f80925936d275453014f)) - Python Proto Free Threading tests/experimental ([`b8bef14`](https://redirect.github.com/protocolbuffers/protobuf/commit/b8bef14b3c262d48bc9d6458d4de11532dca8247)) - Add Python 3.14 test coverage ([`8e35431`](https://redirect.github.com/protocolbuffers/protobuf/commit/8e3543177ef10c5967daeb12456ca9a1b2638942)) - Put ABSL annotations back in descriptor ([`e2ddebe`](https://redirect.github.com/protocolbuffers/protobuf/commit/e2ddebe709ae045df876a93b0268cf459817a067)) - Free threading compat - Only access interned\_descriptors behind a mutex ([`13fe37f`](https://redirect.github.com/protocolbuffers/protobuf/commit/13fe37f25f187b7a2e79faa962df6a69bdb3d5b8)) - Breaking change: Remove float\_precision from python proto json\_format ([`f027f1f`](https://redirect.github.com/protocolbuffers/protobuf/commit/f027f1fcd52b9d080b7ee79f4024f53cf54e0dc5)) - Breaking change: Raise TypeError when convert non-timedelta to Duration, or convert non-datetime to Timestamp in python proto. (Original code may raise ArributeError) ([`00aaca1`](https://redirect.github.com/protocolbuffers/protobuf/commit/00aaca1b4d98954bc2933d7c8a5379ba6088124c)) - Python: kwargs initialization would silently swallow some errors with repeated fields. ([`412d0a2`](https://redirect.github.com/protocolbuffers/protobuf/commit/412d0a2f07e64d4123d3606b247db8789b0d5967)) - Fix Python cpp memory crash when MergeFrom Oneof. ([`26d08d5`](https://redirect.github.com/protocolbuffers/protobuf/commit/26d08d51b95fcaf8cfea9d1d12fba1ce3725502b)) ### PHP - Bump version dependencies on phpunit/phpunit to ">=11.5.0 <12.0.0" ([`4e82ce4`](https://redirect.github.com/protocolbuffers/protobuf/commit/4e82ce4c14bcdb5e447df40578d1c0d1c1312728)) - Feat(php): Add PHP typehints for setters and remove redundant GPBUtil checks ([#&#8203;25296](https://redirect.github.com/protocolbuffers/protobuf/issues/25296)) ([`aee03b7`](https://redirect.github.com/protocolbuffers/protobuf/commit/aee03b78929c02461a5f9d8e136a2a016359b0cd)) - Raise minimum php version to 8.2.0. Drop tests for 8.1. ([`5d29dca`](https://redirect.github.com/protocolbuffers/protobuf/commit/5d29dcaed075be6be00ddf669830fca7e5f0e941)) - Feat(php): support default values for editions/proto2 ([#&#8203;25161](https://redirect.github.com/protocolbuffers/protobuf/issues/25161)) ([`b01099d`](https://redirect.github.com/protocolbuffers/protobuf/commit/b01099d56350551bae3da88b97bf3027274c9f17)) - Breaking change: Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead. ([`4208121`](https://redirect.github.com/protocolbuffers/protobuf/commit/42081219920c6fad17ba6ddd1e28d111bcfb3345)) - Automated rollback of commit [`8f569de`](https://redirect.github.com/protocolbuffers/protobuf/commit/8f569de0baec06079a1bb6aa149215d369600975). ([`94fe944`](https://redirect.github.com/protocolbuffers/protobuf/commit/94fe944f49ff40db4a29050e98e184d06cd6cd6c)) - Breaking change: Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead ([`cd76e67`](https://redirect.github.com/protocolbuffers/protobuf/commit/cd76e675b14d00dda5623b30835d2bc7105fccc6)) - Breaking change: Remove deprecated PHP APIs ([`9c45014`](https://redirect.github.com/protocolbuffers/protobuf/commit/9c45014099a4f7004fab6dd1278de2f4f2a393c5)) - Make PHPDoc for enum getters/setters correspond to enum class. ([#&#8203;24515](https://redirect.github.com/protocolbuffers/protobuf/issues/24515)) ([`996e04c`](https://redirect.github.com/protocolbuffers/protobuf/commit/996e04c5efe88c2f12317e70957931ad5211f128)) - Add option for PHP to emit default values for JSON. ([#&#8203;23985](https://redirect.github.com/protocolbuffers/protobuf/issues/23985)) ([`6df6c8a`](https://redirect.github.com/protocolbuffers/protobuf/commit/6df6c8aace4d6097100558992b384077811f21e9)) - Implement hasPresence helper in PHP, remove broken hasOptionalKeyword. ([`69efbc6`](https://redirect.github.com/protocolbuffers/protobuf/commit/69efbc67c5a7aac7b2d66d88796895319af799d3)) ##### PHP C-Extension - Regenerated files. ([`a9bbf7a`](https://redirect.github.com/protocolbuffers/protobuf/commit/a9bbf7a248d08c57803a300fbf457bf6ded1498a)) - Raise minimum php version to 8.2.0. Drop tests for 8.1. ([`5d29dca`](https://redirect.github.com/protocolbuffers/protobuf/commit/5d29dcaed075be6be00ddf669830fca7e5f0e941)) - Feat(php): support default values for editions/proto2 ([#&#8203;25161](https://redirect.github.com/protocolbuffers/protobuf/issues/25161)) ([`b01099d`](https://redirect.github.com/protocolbuffers/protobuf/commit/b01099d56350551bae3da88b97bf3027274c9f17)) - Breaking change: Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead. ([`4208121`](https://redirect.github.com/protocolbuffers/protobuf/commit/42081219920c6fad17ba6ddd1e28d111bcfb3345)) - Automated rollback of commit [`8f569de`](https://redirect.github.com/protocolbuffers/protobuf/commit/8f569de0baec06079a1bb6aa149215d369600975). ([`94fe944`](https://redirect.github.com/protocolbuffers/protobuf/commit/94fe944f49ff40db4a29050e98e184d06cd6cd6c)) - Add option for PHP to emit default values for JSON. ([#&#8203;23985](https://redirect.github.com/protocolbuffers/protobuf/issues/23985)) ([`6df6c8a`](https://redirect.github.com/protocolbuffers/protobuf/commit/6df6c8aace4d6097100558992b384077811f21e9)) - Implement hasPresence helper in PHP, remove broken hasOptionalKeyword. ([`69efbc6`](https://redirect.github.com/protocolbuffers/protobuf/commit/69efbc67c5a7aac7b2d66d88796895319af799d3)) - *See also UPB changes below, which may affect PHP C-Extension.* ### Ruby - Drop references to `x64-mingw32` since we no longer support Ruby 3.0. ([`2b927f1`](https://redirect.github.com/protocolbuffers/protobuf/commit/2b927f17bdac40fbbdb0a84572b3afa6ca278556)) - Bump gem dependencies ([`659e0f3`](https://redirect.github.com/protocolbuffers/protobuf/commit/659e0f36955bbf102d562e151c3e32d36d0cb7f9)) - Ruby codegen: support generation of rbs files ([#&#8203;15633](https://redirect.github.com/protocolbuffers/protobuf/issues/15633)) ([`6ebdf85`](https://redirect.github.com/protocolbuffers/protobuf/commit/6ebdf851ba78728f0aa145d38454ed9a316fb08d)) - Support Ruby 4.0 ([#&#8203;25051](https://redirect.github.com/protocolbuffers/protobuf/issues/25051)) ([`93f4eba`](https://redirect.github.com/protocolbuffers/protobuf/commit/93f4eba2585a84ed26c29c6120a6d2ae37b68b60)) ##### Ruby C-Extension - Regenerated files. ([`a9bbf7a`](https://redirect.github.com/protocolbuffers/protobuf/commit/a9bbf7a248d08c57803a300fbf457bf6ded1498a)) - Remove direct dependency on rules\_apple ([#&#8203;25708](https://redirect.github.com/protocolbuffers/protobuf/issues/25708)) ([`e06c026`](https://redirect.github.com/protocolbuffers/protobuf/commit/e06c02619bde66ec04cf793d954c5ef47bb0d7ae)) - *See also UPB changes below, which may affect Ruby C-Extension.* ### UPB (Python/PHP/Ruby C-Extension) - Add recursion guards for the following nested messages: ([#&#8203;25807](https://redirect.github.com/protocolbuffers/protobuf/issues/25807)) ([`c52dcb4`](https://redirect.github.com/protocolbuffers/protobuf/commit/c52dcb41b0901a9d96bbac6ae1db35994049e68c)) - Fix breaking change related to `upb_c_proto_library` and `upb_proto_reflection_library` ([`b0150c0`](https://redirect.github.com/protocolbuffers/protobuf/commit/b0150c0f13bd1467ec8cfedcc521d3b2c7d14e57)) - Removed the `third_party/upb/upb/bazel` directory. ([`7efbfe1`](https://redirect.github.com/protocolbuffers/protobuf/commit/7efbfe1692cbd4c880d4e870ec8cf4b35a30e447)) - Add conformance tests for utf8 validation. ([`e8923a8`](https://redirect.github.com/protocolbuffers/protobuf/commit/e8923a8ea72d5573f0380030a482ba440b5eb2dc)) - Added more validations of `syntax` and `edition` when parsing descriptors. ([`4c5c4b2`](https://redirect.github.com/protocolbuffers/protobuf/commit/4c5c4b2cd0049de2b2baa24b7441d039cf79d56e)) - Fixes a compiler crash when building the Windows arm64 Ruby/Python extension ([`0e84323`](https://redirect.github.com/protocolbuffers/protobuf/commit/0e84323cd6fba27c7834b5596f3ef14b7e69e7b8)) - Add BTI to branch targets when branch protection is enabled. This resolves ([`a3ca522`](https://redirect.github.com/protocolbuffers/protobuf/commit/a3ca522fc5d9e364910dee60e1f30a945ebf6762)) - Enable edition 2024 in upb generators ([`e44d421`](https://redirect.github.com/protocolbuffers/protobuf/commit/e44d4210ba0de96ef5c255ad3d04a74e75802c67)) ### Other - Replace lingering references to cpu with platform equivalents. ([`3dfa37f`](https://redirect.github.com/protocolbuffers/protobuf/commit/3dfa37fbb33ae2cd4b6382ea8c8e4399faf79ff4)) - Internal change ([#&#8203;25839](https://redirect.github.com/protocolbuffers/protobuf/issues/25839)) ([`a2ae0e5`](https://redirect.github.com/protocolbuffers/protobuf/commit/a2ae0e5f202b1d53ae1daa535bc3b61ae47bc765)) - Update the path to prebuilt\_tool\_integrity.bzl after refactor. ([`5c2ac46`](https://redirect.github.com/protocolbuffers/protobuf/commit/5c2ac46986af634a4f2e74aaa1153293761c02a7)) - Add missing `timestamp_upb_reflection_proto` alias ([`e9d6bcb`](https://redirect.github.com/protocolbuffers/protobuf/commit/e9d6bcb01f2e948db110a498c58a6f3f4fbdefc3)) - Update Ruby 4.0 test Docker image and enable continuous tests. ([`0ecc6fe`](https://redirect.github.com/protocolbuffers/protobuf/commit/0ecc6fedc99a36b7218b83a371340ae60429096d)) - Auto-generate files after cl/862026607 ([`978b556`](https://redirect.github.com/protocolbuffers/protobuf/commit/978b5566f810075a33c84319d7e2cb8d0506e5c9)) - Roll forward generate\_release\_notes = false ([`b6e3802`](https://redirect.github.com/protocolbuffers/protobuf/commit/b6e3802629594a7861137a6da718e85ebd65f7f1)) - Revert release\_ruleset version ([`88d2062`](https://redirect.github.com/protocolbuffers/protobuf/commit/88d2062ccf5df986b2fdfa6b3539a5adf61b5422)) - Fix generate\_changelog -> generate\_release\_notes ([#&#8203;25442](https://redirect.github.com/protocolbuffers/protobuf/issues/25442)) ([`68ac7b9`](https://redirect.github.com/protocolbuffers/protobuf/commit/68ac7b9c88da881c4f51aedec27d8299e4ca3e25)) - Update release\_bazel\_module.yaml ([#&#8203;25441](https://redirect.github.com/protocolbuffers/protobuf/issues/25441)) ([`1add73b`](https://redirect.github.com/protocolbuffers/protobuf/commit/1add73b5ff6d19b63f2e4bcb716a8697cdc8dee5)) - Drop Bazel 7 tests for bazel, python, partially java partially cpp. ([`b046c9a`](https://redirect.github.com/protocolbuffers/protobuf/commit/b046c9a30e3c32084dd7732dc776624f9aa8121a)) - Update protobuf's dep on bazel-skylib to version 1.9.0 ([`27e67a7`](https://redirect.github.com/protocolbuffers/protobuf/commit/27e67a7e30811dfe6247de6915abaca9f0848e10)) - Breaking change: Remove deprecated flag for enabling MSVC support ([`97c979b`](https://redirect.github.com/protocolbuffers/protobuf/commit/97c979be6e0907e1051bee62584dac4594e73fa7)) - Protobuf: update php from macos-13 to macos-15-intel ([`7b9feca`](https://redirect.github.com/protocolbuffers/protobuf/commit/7b9fecae659e31dd75e46b38ba422b498f3e4b65)) - Bazel: Remove hardcoded dependency on `//:protoc` from language runtimes ([#&#8203;19679](https://redirect.github.com/protocolbuffers/protobuf/issues/19679)) ([`4986a77`](https://redirect.github.com/protocolbuffers/protobuf/commit/4986a7722460e3163f37c98da1cb47f52c6406e1)) - Move ObjC to the next major version to be ready for release in 2026Q1. ([`31cadad`](https://redirect.github.com/protocolbuffers/protobuf/commit/31cadad0ed92060f5405de0f663181b2dc891f94)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41Ni4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 7b9d2be commit e6eb2f9

File tree

13 files changed

+1067
-966
lines changed

13 files changed

+1067
-966
lines changed

integration-tests/it-common/src/test/java/io/prometheus/client/it/common/ExporterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import static org.assertj.core.api.Assertions.assertThat;
55
import static org.assertj.core.api.Assertions.fail;
66

7-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
7+
import io.prometheus.metrics.expositionformats.generated.Metrics;
88
import java.io.ByteArrayInputStream;
99
import java.io.IOException;
1010
import java.io.InputStream;

integration-tests/it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test/DuplicateMetricsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.assertj.core.api.Assertions.assertThat;
44

55
import io.prometheus.client.it.common.ExporterTest;
6-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
6+
import io.prometheus.metrics.expositionformats.generated.Metrics;
77
import java.io.IOException;
88
import java.net.URISyntaxException;
99
import java.util.List;

integration-tests/it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test/ExporterIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import com.google.common.io.Resources;
77
import io.prometheus.client.it.common.ExporterTest;
8-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
8+
import io.prometheus.metrics.expositionformats.generated.Metrics;
99
import java.io.IOException;
1010
import java.net.URISyntaxException;
1111
import java.net.URLEncoder;

integration-tests/it-spring-boot-smoke-test/src/test/java/io/prometheus/metrics/it/springboot/ApplicationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.assertj.core.api.Assertions.assertThat;
44

55
import io.prometheus.client.it.common.ExporterTest;
6-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
6+
import io.prometheus.metrics.expositionformats.generated.Metrics;
77
import java.io.IOException;
88
import java.net.URI;
99
import java.util.List;

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ java = "temurin-25.0.2+10.0.LTS"
55
lychee = "0.23.0"
66
node = "24.14.0"
77
"npm:renovate" = "43.45.1"
8-
protoc = "33.5"
8+
protoc = "34.0"
99

1010
[env]
1111
RENOVATE_TRACKED_DEPS_EXCLUDE="github-actions,github-runners"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<properties>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<automatic.module.name>--module-name-need-to-be-overridden--</automatic.module.name>
25-
<protobuf-java.version>4.33.5</protobuf-java.version>
25+
<protobuf-java.version>4.34.0</protobuf-java.version>
2626
<guava.version>33.5.0-jre</guava.version>
2727
<junit-jupiter.version>6.0.3</junit-jupiter.version>
2828
<otel.instrumentation.version>2.25.0-alpha</otel.instrumentation.version>

prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/CounterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import io.prometheus.metrics.config.MetricsProperties;
1010
import io.prometheus.metrics.config.PrometheusProperties;
1111
import io.prometheus.metrics.core.exemplars.ExemplarSamplerConfigTestUtil;
12-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
12+
import io.prometheus.metrics.expositionformats.generated.Metrics;
1313
import io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl;
1414
import io.prometheus.metrics.expositionformats.internal.ProtobufUtil;
1515
import io.prometheus.metrics.model.registry.PrometheusRegistry;

prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/CustomBucketsHistogramTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import io.prometheus.metrics.config.EscapingScheme;
77
import io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter;
8-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
8+
import io.prometheus.metrics.expositionformats.generated.Metrics;
99
import io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl;
1010
import io.prometheus.metrics.model.snapshots.ClassicHistogramBucket;
1111
import io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets;

prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/HistogramTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import io.prometheus.metrics.core.datapoints.DistributionDataPoint;
1414
import io.prometheus.metrics.core.exemplars.ExemplarSamplerConfigTestUtil;
1515
import io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter;
16-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
16+
import io.prometheus.metrics.expositionformats.generated.Metrics;
1717
import io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl;
1818
import io.prometheus.metrics.expositionformats.internal.ProtobufUtil;
1919
import io.prometheus.metrics.model.snapshots.*;

prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/InfoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import io.prometheus.metrics.config.EscapingScheme;
77
import io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter;
8-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_33_5.Metrics;
8+
import io.prometheus.metrics.expositionformats.generated.Metrics;
99
import io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl;
1010
import io.prometheus.metrics.expositionformats.internal.ProtobufUtil;
1111
import io.prometheus.metrics.model.snapshots.Labels;

0 commit comments

Comments
 (0)