Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency protoc to v27 (#1573)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [protoc](https://togithub.com/protocolbuffers/protobuf) | major | `26.1` -> `27.0` | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (protoc)</summary> ### [`v27.0`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v27.0): Protocol Buffers v27.0 ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Future-proof edition 2023 against feature value support windows. (protocolbuffers/protobuf@fea6847) - Mark deleted fields in `descriptor.proto` reserved (protocolbuffers/protobuf@d2da463) - Add extension declarations for known features. (protocolbuffers/protobuf@f8d0a5b) - Refactored the Java generator into separate packages and targets. (protocolbuffers/protobuf@bd81fd9) - Officially release Editions in 27.0. (protocolbuffers/protobuf@baa83b6) - Define lifetimes of edition 2023 features (protocolbuffers/protobuf@77f62de) - Implement feature lifetime validation in protoc and the C++ runtime. (protocolbuffers/protobuf@b3b4497) - Add edition lifetime options for feature specs. (protocolbuffers/protobuf@b09b3e4) - Enable editions support for Java Lite. (protocolbuffers/protobuf@500c953) - Release edition defaults CLI arguments. (protocolbuffers/protobuf@7a0e10e) - Update protoc release to include editions language features protos for Java and C++ (protocolbuffers/protobuf@6483c47) ### C++ - Future-proof edition 2023 against feature value support windows. (protocolbuffers/protobuf@fea6847) - Prohibit using features in the same file they're defined in. (protocolbuffers/protobuf@8c5f3a7) - Fix validation checks of implicit presence. (protocolbuffers/protobuf@bdf6b10) - Clarify map behaviors in editions. (protocolbuffers/protobuf@61c9187) - Ensure we allocate overaligned types with aligned `operator new`. (protocolbuffers/protobuf@11ef0ff) - Fix text-format delimited field handling.(protocolbuffers/protobuf@29c69ff) - In debug mode, after clearing `oneof` messages on arenas, poison them if ASAN. (protocolbuffers/protobuf@8826baf) - Allow `string_type` for Edition 2023. (protocolbuffers/protobuf@d8251eb) - Breaking change: Ensure we allocate overaligned types with aligned `operator new`. (protocolbuffers/protobuf@11ef0ff) - Python JSON parser: Ignore invalid enum string values if `ignore_unknown_fields` is set ([#​15887](https://togithub.com/protocolbuffers/protobuf/issues/15887)) (protocolbuffers/protobuf@86abf35) - Move `java_features.proto` to `java/core/srce/main/resources` (protocolbuffers/protobuf@274bc7f) - Add an RAII namespace printer helper for C++ codegen. (protocolbuffers/protobuf@8599ab5) - Enable editions support for Java Lite. (protocolbuffers/protobuf@500c953) - Add an RAII `ifndef` helper for C++ codegen. (protocolbuffers/protobuf@1087274) - Clear `oneof` message fields even on arena on non-OPT builds. (protocolbuffers/protobuf@5c183bd) - Implement edition 2023 support in all Ruby runtimes. (protocolbuffers/protobuf@bca8fb6) - Release edition defaults CLI arguments. (protocolbuffers/protobuf@7a0e10e) - Deprecate `Arena::CreateMessage` for OSS. (protocolbuffers/protobuf@d4bfe52) - Open sourcing `reflection_visit_fieds`. (protocolbuffers/protobuf@cfc07df) - Fixed the use of c++ keywords within namespace names ([#​15954](https://togithub.com/protocolbuffers/protobuf/issues/15954)) (protocolbuffers/protobuf@988194a) - Fix pkg-config metadata for shared abseil on windows ([#​15888](https://togithub.com/protocolbuffers/protobuf/issues/15888)) (protocolbuffers/protobuf@fe6edca) - Add `GetStringView()` and `GetRepeatedStringView()` with scratch. (protocolbuffers/protobuf@a3f5af0) - Avoid a 'may be used uninitialized' warning when built with '-c opt'. ([#​15846](https://togithub.com/protocolbuffers/protobuf/issues/15846)) (protocolbuffers/protobuf@eb70b34) - Add software prefetch to `ByteSizeLong` (protocolbuffers/protobuf@948ca2e) - Add prefetching in arena blocks. (protocolbuffers/protobuf@9e57b8e) - Rename the `includingDefaultValueWithoutPresenceFields` and `always_print_without_presence_fields` to `alwaysPrintFieldsWithNoPresence` in the C++, Py and Java JSON serializers for consistency. (protocolbuffers/protobuf@7d43131) - Remove tags for arena cleanup nodes now that we have dedicated string cleanup blocks. (protocolbuffers/protobuf@202b106) - Avoid unused-parameter warning in field accessor listeners. (protocolbuffers/protobuf@f4d5c2c) - Add new `always_print_without_presence_fields` option to the C++ JSON serializer. (protocolbuffers/protobuf@671b61b) - Fail to build descriptor if `ctype` is specified for non string/bytes fields (protocolbuffers/protobuf@8b4c7a1) - Check `ctype()` in `DescriptorBuilder` for edition 2023 and beyond. (protocolbuffers/protobuf@307aeac) - Fail building descriptors if `ctype` is used for fields other than string or bytes. (protocolbuffers/protobuf@403e207) - Fix generation of `HasExtension` and `ExtensionSize` functions to restrict to the (protocolbuffers/protobuf@9f5be07) - Add the privacy manifest to the C++ CocoaPod. (protocolbuffers/protobuf@982ea24) ### Java - Lazily resolve features for proto2 and proto3 for compatibility with old open source gencode that does not invoke feature resolution from gencode static init. ([#​16907](https://togithub.com/protocolbuffers/protobuf/issues/16907)) (protocolbuffers/protobuf@4483c6b) - Add `java` to reserved names to escape extensions to `java_`. This may break existing references to gencode for extensions named `java`. (protocolbuffers/protobuf@c18cb95) - Deprecate building from source with Maven to be removed in 4.28.x. (protocolbuffers/protobuf@51b48a4) - Split bootstrapped `java_features.proto` to keep it from leaking out. (protocolbuffers/protobuf@d56cb7d) - Refactored the Java generator into separate packages and targets. (protocolbuffers/protobuf@bd81fd9) - Define lifetimes of edition 2023 features (protocolbuffers/protobuf@77f62de) - Check that size is non-negative when reading string or bytes in `StreamDecoder`. (protocolbuffers/protobuf@a94f57b) - Fix text-format delimited field handling (protocolbuffers/protobuf@29c69ff) - Move `java_features.proto` to `java/core/srce/main/resources` (protocolbuffers/protobuf@274bc7f) - Add `java_features.proto` to `kotlin_mvn` release (protocolbuffers/protobuf@369732a) - Enable editions support for Java Lite. (protocolbuffers/protobuf@500c953) - Fix descriptor to access type via `getType()` s.t. messages using delimited encoding are consistently treated as groups for Java lite. (protocolbuffers/protobuf@9f001a9) - Make `UnsafeByteOperations` stable; removing experimental annotation. (protocolbuffers/protobuf@0070ac1) - Fix features inheritance of `oneof` fields and extensions and fix/move unit tests to actually run. (protocolbuffers/protobuf@eb10ebd) - Add software prefetch to `ByteSizeLong` (protocolbuffers/protobuf@948ca2e) - Rename the `includingDefaultValueWithoutPresenceFields` and `always_print_without_presence_fields` to `alwaysPrintFieldsWithNoPresence` in the C++, Py and Java JSON serializers for consistency. (protocolbuffers/protobuf@7d43131) - Add a new `includingDefaultValueWithoutPresenceFields` option to the Java parser which is intended to replace the current `includingDefaultValueFields`. (protocolbuffers/protobuf@58baeb4) ##### Kotlin - Add `java_features.proto` to `kotlin_mvn` release (protocolbuffers/protobuf@369732a) ### Csharp - Regenerate stale files (protocolbuffers/protobuf@c3417f5) - Optimize JSON parsing in `JsonTokenizer`. (protocolbuffers/protobuf@68e6e3e) - Avoid string concatenation when looking up enum values by name. (protocolbuffers/protobuf@e6684ac) - Cache `StringBuilder` instances in the .NET `JsonTextTokenizer`. (protocolbuffers/protobuf@fac929d) - Enable Editions in the C# generator. (protocolbuffers/protobuf@421040b) - Runtime support for Protobuf Editions in C#. (protocolbuffers/protobuf@450022d) - Tweak "group to property name" mapping for C#. Under editions, where fields using a delimited encoding have independent field names from type names, we want to use the specified field name. (protocolbuffers/protobuf@139ea4d) - Ignore invalid enum string values in JSON, when invalid fields are being ignored. (protocolbuffers/protobuf@55e50ba) ### Objective-C - Optimize startup be reducing selector lookup. (protocolbuffers/protobuf@b375d01) - Add the privacy manifest to the ObjC CocoaPod. (protocolbuffers/protobuf@0d91515) ### Python - Add temporary alias for `system_python.bzl` at previous location . ([#​16787](https://togithub.com/protocolbuffers/protobuf/issues/16787)) (protocolbuffers/protobuf@ffd753f) - Implement feature lifetime validation in `protoc` and the C++ runtime. (protocolbuffers/protobuf@b3b4497) - Fix text-format delimited field handling (protocolbuffers/protobuf@29c69ff) - Python JSON parser: Ignore invalid enum string values if `ignore_unknown_fields` is set ([#​15887](https://togithub.com/protocolbuffers/protobuf/issues/15887)) (protocolbuffers/protobuf@86abf35) - Fix upb python: DO NOT create empty optional field after sorting empty repeated field (protocolbuffers/protobuf@7cf0238) - Enable Protobuf Python version check. (protocolbuffers/protobuf@0442ed6) - Register Scalar/MessageMapContainerTypes as virtual subclasses of MutableMapping instead of inheriting directly. (protocolbuffers/protobuf@5b32936) - Rename the `includingDefaultValueWithoutPresenceFields` and `always_print_without_presence_fields` to `alwaysPrintFieldsWithNoPresence` in the C++, Py and Java JSON serializers for consistency. (protocolbuffers/protobuf@7d43131) - Add new `including_default_value_without_presence_fields` to Python JSON serializer. (protocolbuffers/protobuf@25c6d34) - Adhere to PEP 8 ([#​15127](https://togithub.com/protocolbuffers/protobuf/issues/15127)) (protocolbuffers/protobuf@21ab745) ### PHP - Don't break the trace ([#​11311](https://togithub.com/protocolbuffers/protobuf/issues/11311)) (protocolbuffers/protobuf@d67f921) - Fix inconsistent timestamp json encode/decode ([#​12396](https://togithub.com/protocolbuffers/protobuf/issues/12396)) (protocolbuffers/protobuf@47e92cd) - Feat: more readable phpdoc escaping ([#​11208](https://togithub.com/protocolbuffers/protobuf/issues/11208)) (protocolbuffers/protobuf@f929439) ##### PHP C-Extension - Regenerate stale files (protocolbuffers/protobuf@c3417f5) - *See also UPB changes below, which may affect PHP C-Extension.* ### Ruby - Add bigdecimal to dependencies ([#​16379](https://togithub.com/protocolbuffers/protobuf/issues/16379)) (protocolbuffers/protobuf@d810ef6) - Implement service & method descriptor lookup in Ruby ([#​15817](https://togithub.com/protocolbuffers/protobuf/issues/15817)) (protocolbuffers/protobuf@2082ee8) - Implement edition 2023 support in all Ruby runtimes. (protocolbuffers/protobuf@bca8fb6) - Ruby implement `memsize` functions for native types ([#​10291](https://togithub.com/protocolbuffers/protobuf/issues/10291)) (protocolbuffers/protobuf@87cbddd) - Moved `ObjectCache` into an internal module. (protocolbuffers/protobuf@f824f6d) - \[Ruby] Delegate difference, intersection, union from `RepeatedField` to `Array` ([#​15652](https://togithub.com/protocolbuffers/protobuf/issues/15652)) (protocolbuffers/protobuf@11eab86) - Move the `RubyMessage.java` JSON "include defaults" to use alwaysPrintFieldsWithNoPresence. (protocolbuffers/protobuf@4d23fa0) - Increased the size of the error message buffer by 4x, to 511 bytes. (protocolbuffers/protobuf@32a6f7a) ##### Ruby C-Extension - Regenerate stale files (protocolbuffers/protobuf@c3417f5) - Implement service & method descriptor lookup in Ruby ([#​15817](https://togithub.com/protocolbuffers/protobuf/issues/15817)) (protocolbuffers/protobuf@2082ee8) - Implement edition 2023 support in all Ruby runtimes. (protocolbuffers/protobuf@bca8fb6) - Ruby implement `memsize` functions for native types ([#​10291](https://togithub.com/protocolbuffers/protobuf/issues/10291)) (protocolbuffers/protobuf@87cbddd) - Moved `ObjectCache` into an internal module. (protocolbuffers/protobuf@f824f6d) - *See also UPB changes below, which may affect Ruby C-Extension.* ### UPB (Python/PHP/Ruby C-Extension) - Regenerate stale files (protocolbuffers/protobuf@c3417f5) - Setup upb installation with `cmake`. (protocolbuffers/protobuf@6898451) - Fix text-format delimited field handling (protocolbuffers/protobuf@29c69ff) - Print non-extension fields by field number order instead of `.proto` file order. (protocolbuffers/protobuf@8612d5e) - Implement service & method descriptor lookup in Ruby ([#​15817](https://togithub.com/protocolbuffers/protobuf/issues/15817)) (protocolbuffers/protobuf@2082ee8) - Implement edition 2023 support in all Ruby runtimes. (protocolbuffers/protobuf@bca8fb6) - Adds mutable extension accessors to the codegen for upb C for getting mutable extension messages. (protocolbuffers/protobuf@e8244da) - Ruby implement `memsize` functions for native types ([#​10291](https://togithub.com/protocolbuffers/protobuf/issues/10291)) (protocolbuffers/protobuf@87cbddd) - Increased the size of the error message buffer by 4x, to 511 bytes. (protocolbuffers/protobuf@32a6f7a) ### Other - MODULE.bazel fixes for protobuf BCR release. ([#​16927](https://togithub.com/protocolbuffers/protobuf/issues/16927)) (protocolbuffers/protobuf@f396506) - Fix whitespace merge issue in gencode (protocolbuffers/protobuf@f8a4a68) - Work around windows path length limitations by moving immutable -> full in open source (new generator paths) and shortening long file names. ([#​16825](https://togithub.com/protocolbuffers/protobuf/issues/16825)) (protocolbuffers/protobuf@615e704) - Move the windows path length workarounds out of protobuf-ci (protocolbuffers/protobuf@9d715cb) - Update `src/file_lists.cmake` for staleness (protocolbuffers/protobuf@cd337dd) - Add `system_python` to `protobuf_deps.bzl`. (protocolbuffers/protobuf@65ee123) - Migrate bazel tests to protobuf-ci. (protocolbuffers/protobuf@1ee203b) - Fix bazel cache issues in 7.0.0 (protocolbuffers/protobuf@16acf7e) - Add redirects for C++ and Java proto rules (protocolbuffers/protobuf@9da1b86) - Add redirects for proto rules (protocolbuffers/protobuf@d4d34ab) - Feat: automate publishing releases to Bazel Central Registry ([#​16014](https://togithub.com/protocolbuffers/protobuf/issues/16014)) (protocolbuffers/protobuf@d2b71b3) - Add PrivacyInfo.xcprivacy ([#​15557](https://togithub.com/protocolbuffers/protobuf/issues/15557)) (protocolbuffers/protobuf@684660f) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/TBD54566975/ftl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information