Skip to content

Commit 320538a

Browse files
renovate[bot]github-actions[bot]zeitlinger
authored
fix(deps): update protobuf (#2129)
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 | `34.1` → `35.0` | ![age](https://developer.mend.io/api/mc/badges/age/github-releases/protocolbuffers%2fprotobuf/35.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-releases/protocolbuffers%2fprotobuf/34.1/35.0?slim=true) | | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://redirect.github.com/protocolbuffers/protobuf)) | compile | minor | `4.34.1` → `4.35.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.protobuf:protobuf-java/4.35.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.protobuf:protobuf-java/4.34.1/4.35.0?slim=true) | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (protoc)</summary> ### [`v35.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v35.0): Protocol Buffers v35.0 [Compare Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v34.1...v35.0-rc2) ### Announcements - This version includes potential breaking changes without a major version bump to: Bazel.\*\* - \[Bazel] Change @&#8203;protobuf//bazel/flags:prefer\_prebuilt\_proto flag to True. ([`f9f32d2`](https://redirect.github.com/protocolbuffers/protobuf/commit/f9f32d28007ae692a494e70d6a5e808069938843)) - **This version includes potential breaking changes without a major version bump to: Bazel.** - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Bazel - Bazel 9 Support: Upgrade tests to Bazel 9 ([`3ee8d8a`](https://redirect.github.com/protocolbuffers/protobuf/commit/3ee8d8a008a5696f61aa72327e2c4cf2ae068e00)) - Moved `protocopt` flag out of the `cc` dir, since it is not a c++-specific flag. ([`325d8dc`](https://redirect.github.com/protocolbuffers/protobuf/commit/325d8dca2ffdc658824aa6b05d825dcb86cca2cb)) - Add support for bazel 9.x ([#&#8203;26201](https://redirect.github.com/protocolbuffers/protobuf/issues/26201)) ([`f08d703`](https://redirect.github.com/protocolbuffers/protobuf/commit/f08d70329211dfd74584c3761da5da5e32ab34f3)) - Breaking change: Change @&#8203;protobuf//bazel/flags:prefer\_prebuilt\_proto flag to True. ([`f9f32d2`](https://redirect.github.com/protocolbuffers/protobuf/commit/f9f32d28007ae692a494e70d6a5e808069938843)) - Dropped support for Bazel 7. ([`1816758`](https://redirect.github.com/protocolbuffers/protobuf/commit/181675806987071b1a9af6e22b881cf9c3dca73e)) ### Compiler - Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. ([`ae0d964`](https://redirect.github.com/protocolbuffers/protobuf/commit/ae0d964699968a13977ceabfe7ed0127e125c624)) - Add enum to `enforce_naming_style` feature to avoid field naming collisions which will be implemented in Edition 2026. ([`e4911a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4911a17241386611643972b977edaf2ce83468f)) - Fail writing files in protoc CLI if any file output path is relative. ([`3bf2b07`](https://redirect.github.com/protocolbuffers/protobuf/commit/3bf2b07b2a77c8c8840031a3ef5867acf1b97f30)) - Mangle types named `XyzView` if there is any direct sibling named `Xyz` ([`63d6ef0`](https://redirect.github.com/protocolbuffers/protobuf/commit/63d6ef01b0e669333dda6fd91728862725c38968)) - Improve the namespacing selected by rustc used for gencode types in errors. ([`ce2eb73`](https://redirect.github.com/protocolbuffers/protobuf/commit/ce2eb733c7cb025c13a20735e8a8d005ba0fe19e)) - Fully qualify scalar types in Kotlin/Native proto generator. ([`adc8d22`](https://redirect.github.com/protocolbuffers/protobuf/commit/adc8d22a30cc8369d5976c8b2685374e938640a5)) - Change \_opt() accessors to return an std::Option instead of protobuf::Optional ([`6ced612`](https://redirect.github.com/protocolbuffers/protobuf/commit/6ced6127bc5fb4d65ae0cbfad7a5625d7aceab23)) - Make Message's trait bounds much better for generic use ([`be1292f`](https://redirect.github.com/protocolbuffers/protobuf/commit/be1292fbe2fc84ad59b6365a7620625e30114181)) - Support more chars in type URLs in the C++ text-format parser. ([`3a87c6c`](https://redirect.github.com/protocolbuffers/protobuf/commit/3a87c6c1fd7fdb7f88540bf3f378f53d3ca1f00d)) - Validate Feature Support on Custom Options ([`34c1110`](https://redirect.github.com/protocolbuffers/protobuf/commit/34c1110d38f225b0edcb14db965d3a5130e3ab29)) - Trait clarity effort: introduce `Singular` trait, for types which are allowed as simple fields ([`cdbfaf1`](https://redirect.github.com/protocolbuffers/protobuf/commit/cdbfaf118e9906c8ca7c27b641a8abafbd129b0b)) - Trait clarity improvement on Map traits ([`a8daa95`](https://redirect.github.com/protocolbuffers/protobuf/commit/a8daa95057bab1ca7f62830a539dc549359df78f)) ### C++ - Workaround for attribute handling bug in gcc < 13 ([`78dc67e`](https://redirect.github.com/protocolbuffers/protobuf/commit/78dc67e4d598d4e2ec8929105eb2ddbb4bf50935)) - Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. ([`ae0d964`](https://redirect.github.com/protocolbuffers/protobuf/commit/ae0d964699968a13977ceabfe7ed0127e125c624)) - Add enum to `enforce_naming_style` feature to avoid field naming collisions which will be implemented in Edition 2026. ([`e4911a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4911a17241386611643972b977edaf2ce83468f)) - Enhance ParseInfoTree to provide location of names and values. ([`1cb4fdb`](https://redirect.github.com/protocolbuffers/protobuf/commit/1cb4fdb8eaaa60917cdbd23cf6f38fc5f1307054)) - Add integer overflow check to RepeatedPtrField::MergeFrom. ([`cb5fe97`](https://redirect.github.com/protocolbuffers/protobuf/commit/cb5fe976f319683934d8153bdedb21355ab2e008)) - Adding sanity check for `ListFields` reflection call ([`555360e`](https://redirect.github.com/protocolbuffers/protobuf/commit/555360e3b52f63e9a29d075c5e6900f7db7fdd2c)) - Introduce `Arena::UniquePtr` and `Arena::Ptr` as smart pointers to better manage ([`bb00218`](https://redirect.github.com/protocolbuffers/protobuf/commit/bb002180b59c957e6b2f0dddecf0e90ef5a26723)) - Bug fix for edition 2024 visibility checking. Visibility checking was not properly applied to service method input and output types. This is now applied properly and will error if method input/output types do not have visibility to those messages. ([`5a56dee`](https://redirect.github.com/protocolbuffers/protobuf/commit/5a56dee4de2b6e6ffcd963054d100fc610171427)) - Fixed data race in Python Free Threading by removing unnecessary `SetHasBitForRepeated()` call. ([`8c1a9a4`](https://redirect.github.com/protocolbuffers/protobuf/commit/8c1a9a4b0163eded7d9ff0c255507ed3163caf1f)) - Add support for bazel 9.x ([#&#8203;26201](https://redirect.github.com/protocolbuffers/protobuf/issues/26201)) ([`f08d703`](https://redirect.github.com/protocolbuffers/protobuf/commit/f08d70329211dfd74584c3761da5da5e32ab34f3)) - Add `proto2::sort`/`stable_sort` utilities that behave as the standard ones but are optimized for Protobuf containers. ([`252281f`](https://redirect.github.com/protocolbuffers/protobuf/commit/252281f6be6df834a0f64a7f8d085c0bd679d1da)) - Add `proto2::erase`/`erase_if` utilities that behave as the standard ones but are optimized for Protobuf containers. ([`dc9fb35`](https://redirect.github.com/protocolbuffers/protobuf/commit/dc9fb354dbb75c730cb57856a909015aac5d9595)) - Extend Abseil flag support for enums to include std::vector<Enum>. ([`bd42ac6`](https://redirect.github.com/protocolbuffers/protobuf/commit/bd42ac6b29603d5ba62d05d8f0dac6064d959b0d)) - Dropped support for Bazel 7. ([`1816758`](https://redirect.github.com/protocolbuffers/protobuf/commit/181675806987071b1a9af6e22b881cf9c3dca73e)) - Add native Abseil flag support to protobuf message types. ([`ec42e19`](https://redirect.github.com/protocolbuffers/protobuf/commit/ec42e190317343e78a5be17962a57e45e3ff439d)) - Support more chars in type URLs in the C++ text-format parser. ([`3a87c6c`](https://redirect.github.com/protocolbuffers/protobuf/commit/3a87c6c1fd7fdb7f88540bf3f378f53d3ca1f00d)) - Stripping empty options ([`d5d6d4c`](https://redirect.github.com/protocolbuffers/protobuf/commit/d5d6d4c89ef7f23b847d9e4fa459e57a4393b28d)) - Creating generic MaybeAddError helper function ([`4bcf773`](https://redirect.github.com/protocolbuffers/protobuf/commit/4bcf773b240132846e8dc3361b7e629fc0926ebb)) - Validate Feature Support on Custom Options ([`34c1110`](https://redirect.github.com/protocolbuffers/protobuf/commit/34c1110d38f225b0edcb14db965d3a5130e3ab29)) - Add bounds checks to `UnsafeArenaExtractSubrange`, `ReleaseLast` and `SwapElements`. ([`d124c2d`](https://redirect.github.com/protocolbuffers/protobuf/commit/d124c2dc26841e5ee0b8d1505438fcf0660c9db0)) - Fix UTF-8 Validation of string extensions in C++ ([`0936f33`](https://redirect.github.com/protocolbuffers/protobuf/commit/0936f33595ef736726f191c087eaabbc5d1c5fc6)) - Remove first implementation of protobuf out of bounds enforcement. ([`507f86b`](https://redirect.github.com/protocolbuffers/protobuf/commit/507f86bd3a9acdffaff10a32e8b48456b2559783)) - Add native Abseil flag support to protobuf enums. ([`a203388`](https://redirect.github.com/protocolbuffers/protobuf/commit/a203388028fc5e3374d30ff3a385202a330fbefb)) - Improve EINTR handling for close in `zero_copy_stream_impl.h` ([`a904af9`](https://redirect.github.com/protocolbuffers/protobuf/commit/a904af9cc8597eea47b3d4c657dd4f36eefa1145)) - Add cc\_proto\_library for MessageSet in //src/google/protobuf/bridge ([`6d23e8e`](https://redirect.github.com/protocolbuffers/protobuf/commit/6d23e8ec14908edda3fdb44027eb87b90499f789)) ### Java - Add BytecodeClassName functions, matching helpers in the java GeneratorNames utility. ([`514aceb`](https://redirect.github.com/protocolbuffers/protobuf/commit/514aceb974fbd55031169b79d2bd9f7646157787)) - Add enum to `enforce_naming_style` feature to avoid field naming collisions which will be implemented in Edition 2026. ([`e4911a1`](https://redirect.github.com/protocolbuffers/protobuf/commit/e4911a17241386611643972b977edaf2ce83468f)) - Avoid toBigIntegerExact in JsonFormat to avoid degenerate parse behavior in the face of large exponents. ([`57093a8`](https://redirect.github.com/protocolbuffers/protobuf/commit/57093a8bd5cb44211f323519a0045b883475666f)) - Dropped support for Bazel 7. ([`1816758`](https://redirect.github.com/protocolbuffers/protobuf/commit/181675806987071b1a9af6e22b881cf9c3dca73e)) - Add native Abseil flag support to protobuf enums. ([`a203388`](https://redirect.github.com/protocolbuffers/protobuf/commit/a203388028fc5e3374d30ff3a385202a330fbefb)) ### Csharp - Implement WriteDelimitedTo(BufferWriter<byte>) ([#&#8203;21325](https://redirect.github.com/protocolbuffers/protobuf/issues/21325)) ([`407f457`](https://redirect.github.com/protocolbuffers/protobuf/commit/407f4570b201293783f5416cdaae493366bc6b14)) - Add an "include" directory containing WKTs for Google.Protobuf.Tools nuget package. ([`6029d17`](https://redirect.github.com/protocolbuffers/protobuf/commit/6029d174f2eed7a64ad3a42182d08f2f3e66fcf6)) ### Objective-C - ObjC: Block Roots from being created. ([`8274114`](https://redirect.github.com/protocolbuffers/protobuf/commit/827411455abe4a62dd11b2c8afb15a594ff35b42)) - Fix naming convention in c\_function extension syntax ([`e3bee07`](https://redirect.github.com/protocolbuffers/protobuf/commit/e3bee077db853dc0d6e8e04d1e3071018e222faf)) - Modify unit tests to use c\_function extension syntax via ifdefs ([`e1f2f52`](https://redirect.github.com/protocolbuffers/protobuf/commit/e1f2f5272097cfd44dac849d7906b11445e93d38)) ### Rust - Mangle types named `XyzView` if there is any direct sibling named `Xyz` ([`63d6ef0`](https://redirect.github.com/protocolbuffers/protobuf/commit/63d6ef01b0e669333dda6fd91728862725c38968)) - Improve the namespacing selected by rustc used for gencode types in errors. ([`ce2eb73`](https://redirect.github.com/protocolbuffers/protobuf/commit/ce2eb733c7cb025c13a20735e8a8d005ba0fe19e)) - Allow ProtoStr to be used in const contexts. ([`7f7b974`](https://redirect.github.com/protocolbuffers/protobuf/commit/7f7b974fce500ad67ddb9aaa517c0bd6796d479d)) - Make any \&T impl AsView if T impl AsView ([`d787869`](https://redirect.github.com/protocolbuffers/protobuf/commit/d787869082f031e561d0dc7f31e5cfc03848bd15)) - Change \_opt() accessors to return an std::Option instead of protobuf::Optional ([`6ced612`](https://redirect.github.com/protocolbuffers/protobuf/commit/6ced6127bc5fb4d65ae0cbfad7a5625d7aceab23)) - Add some common methods to ProtoStr to make it more ergonomic to use without dropping down to &\[u8] ([`f8daf2f`](https://redirect.github.com/protocolbuffers/protobuf/commit/f8daf2fabc8601e69c547fbf8c0addb6d6837e47)) - Ffi\_11: Define basic arithmetic operations and comparison with underlying type ([`74b6f3f`](https://redirect.github.com/protocolbuffers/protobuf/commit/74b6f3fe0b9a80205309083ab88bd2ab012ed1eb)) - Make Message's trait bounds much better for generic use ([`be1292f`](https://redirect.github.com/protocolbuffers/protobuf/commit/be1292fbe2fc84ad59b6365a7620625e30114181)) - Remove ProxiedInMapValue alias, since it is superceded by MapValue ([`5bde6e8`](https://redirect.github.com/protocolbuffers/protobuf/commit/5bde6e8d3134cdf67a513cbff403d19526df11ad)) - Add fn push\_default(\&mut self) -> SomeMsgMut<> fn for Repeated message type fields. ([`a3bf3ec`](https://redirect.github.com/protocolbuffers/protobuf/commit/a3bf3ec75512e8bc89334b2e245924ad15f6352c)) - Fix that f32 and f64 were incorrectly tagged as legal for MapKeys in RustProto. ([`ab3793e`](https://redirect.github.com/protocolbuffers/protobuf/commit/ab3793e7a8f6270081cc0e74ba2ffd7b7ee35159)) - Trait clarity effort: introduce `Singular` trait, for types which are allowed as simple fields ([`cdbfaf1`](https://redirect.github.com/protocolbuffers/protobuf/commit/cdbfaf118e9906c8ca7c27b641a8abafbd129b0b)) - Trait clarity improvement on Map traits ([`a8daa95`](https://redirect.github.com/protocolbuffers/protobuf/commit/a8daa95057bab1ca7f62830a539dc549359df78f)) - *See also UPB changes below, which may affect Rust.* ### Python - Fix Python text\_format by adding an optional recursion depth limit ([#&#8203;26604](https://redirect.github.com/protocolbuffers/protobuf/issues/26604)) ([`8abff6b`](https://redirect.github.com/protocolbuffers/protobuf/commit/8abff6bb4b36575159bf247f3da62f4efa742bdd)) - Fix data race in CMessage lazy initialization for Python freethreading. ([`28e4512`](https://redirect.github.com/protocolbuffers/protobuf/commit/28e451233d38148856587c96bd8864b7e9767587)) - Fixed data race in Python Free Threading by removing unnecessary `SetHasBitForRepeated()` call. ([`8c1a9a4`](https://redirect.github.com/protocolbuffers/protobuf/commit/8c1a9a4b0163eded7d9ff0c255507ed3163caf1f)) - Fix type annotation for FindAllExtensionNumbers() to be a list rather than the more general Iterator. ([`3edd615`](https://redirect.github.com/protocolbuffers/protobuf/commit/3edd61508bed8b58e5190b6c28884d3e21cf5bdc)) - Add type hints to descriptor\_database.py. ([`cbe6403`](https://redirect.github.com/protocolbuffers/protobuf/commit/cbe6403761a4fa349c6612102f048ff584441f09)) - Fixed a bug in `msg.MergeFrom(msg2)` in Python. ([`ab14c0f`](https://redirect.github.com/protocolbuffers/protobuf/commit/ab14c0f8ad88109b99205af9bd2ef961e991ea41)) - Fix NULL byte handling issue in Python Protobuf find symbols in pool ([`059dc7e`](https://redirect.github.com/protocolbuffers/protobuf/commit/059dc7ed3256bd6c247694d92e624590c52a400a)) - Add support for bazel 9.x ([#&#8203;26201](https://redirect.github.com/protocolbuffers/protobuf/issues/26201)) ([`f08d703`](https://redirect.github.com/protocolbuffers/protobuf/commit/f08d70329211dfd74584c3761da5da5e32ab34f3)) - Add recursion guards for the following nested messages: ([`b4c3fec`](https://redirect.github.com/protocolbuffers/protobuf/commit/b4c3fecb8599b84967f293806d2db54aff77664b)) - Protobuf Python UPB Free Threading support. ([`f10c1de`](https://redirect.github.com/protocolbuffers/protobuf/commit/f10c1de25fa7285a41978e5d054d03c48d19b9f1)) - Fix Any recursion depth bypass in Python json\_format.ParseDict ([#&#8203;25239](https://redirect.github.com/protocolbuffers/protobuf/issues/25239)) ([`d2b0016`](https://redirect.github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b)) - Supports exporting `int` as `int` ([`ea78297`](https://redirect.github.com/protocolbuffers/protobuf/commit/ea78297e0a85dfd319381748d7c93dc69d2c5958)) ### PHP - Fail writing files in protoc CLI if any file output path is relative. ([`3bf2b07`](https://redirect.github.com/protocolbuffers/protobuf/commit/3bf2b07b2a77c8c8840031a3ef5867acf1b97f30)) ##### PHP C-Extension - Fix 1-byte stack overflow in PHP extension int64 formatting ([#&#8203;26530](https://redirect.github.com/protocolbuffers/protobuf/issues/26530)) ([`3f04505`](https://redirect.github.com/protocolbuffers/protobuf/commit/3f045053e2a3fe55d0e3bf2b14d4d29e4f863fd5)) - *See also UPB changes below, which may affect PHP C-Extension.* ### Ruby - Gracefully handle payloads >2GB. ([`918ad5b`](https://redirect.github.com/protocolbuffers/protobuf/commit/918ad5bff3f174a417dded6b58ceab4cf6720e65)) ##### Ruby C-Extension - Gracefully handle payloads >2GB. ([`918ad5b`](https://redirect.github.com/protocolbuffers/protobuf/commit/918ad5bff3f174a417dded6b58ceab4cf6720e65)) - *See also UPB changes below, which may affect Ruby C-Extension.* ### UPB (Python/PHP/Ruby C-Extension) - Fixed two GCC-only issues around upb's generated extension registry. - Avoid theoretical overflow of uintptr\_t in AddAllLinkedExtensions ([`e7785e0`](https://redirect.github.com/protocolbuffers/protobuf/commit/e7785e0509aab295692061fb569c00645d3ef3a4)) - Test(proto): Add message to test oneof name conflict resolution ([`29476e1`](https://redirect.github.com/protocolbuffers/protobuf/commit/29476e1a91dc3dfbc10a8d4a5bce998896452258)) - Add recursion guards for the following nested messages: ([`b4c3fec`](https://redirect.github.com/protocolbuffers/protobuf/commit/b4c3fecb8599b84967f293806d2db54aff77664b)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xODUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE4NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> --------- 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 2d0f508 commit 320538a

4 files changed

Lines changed: 1062 additions & 1014 deletions

File tree

  • prometheus-metrics-exposition-formats/src/main
    • generated/io/prometheus/metrics/expositionformats/generated/com_google_protobuf_4_35_0
    • java/io/prometheus/metrics/expositionformats/generated

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
hugo = "0.161.1"
44
java = "temurin-25.0.3+9.0.LTS"
55
node = "24.15.0"
6-
protoc = "34.1"
6+
protoc = "35.0"
77

88
# Linters
99
actionlint = "1.7.12"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<properties>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
<automatic.module.name>--module-name-need-to-be-overridden--</automatic.module.name>
23-
<protobuf-java.version>4.34.1</protobuf-java.version>
23+
<protobuf-java.version>4.35.0</protobuf-java.version>
2424
<guava.version>33.6.0-jre</guava.version>
2525
<junit-jupiter.version>6.0.3</junit-jupiter.version>
2626
<otel.instrumentation.version>2.28.0-alpha</otel.instrumentation.version>

0 commit comments

Comments
 (0)