Skip to content

Commit

Permalink
chore(deps): update dependency protoc to v29 (#3592)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [protoc](https://redirect.github.com/protocolbuffers/protobuf) | major
| `28.3` -> `29.0` |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf (protoc)</summary>

###
[`v29.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v29.0):
Protocol Buffers v29.0

### Announcements

- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.

### Bazel

- Add missing line to docstring after Args
([#&#8203;19213](https://redirect.github.com/protocolbuffers/protobuf/issues/19213))
(protocolbuffers/protobuf@6f310d5)
- Fix proto_info_bzl
([#&#8203;18918](https://redirect.github.com/protocolbuffers/protobuf/issues/18918))
(protocolbuffers/protobuf@083de5f)
- Use rules_cc everywhere in protobuf
(protocolbuffers/protobuf@ddadd0b)
- Upgrade rules_cc to 0.0.13
(protocolbuffers/protobuf@3dd4835)
- Convert proto toolchain string to Label
(protocolbuffers/protobuf@aa181e2)
- Prepare supporting targets for testing
(protocolbuffers/protobuf@a748b10)
- Support --incompatible_enable_proto_toolchain_resolution
(protocolbuffers/protobuf@372ddb3)
- Move ProtoInfo and ProtoLangToolchainInfo from Bazel
(protocolbuffers/protobuf@426ca8a)
- Move java\_{lite\_}proto_library from Bazel repository
(protocolbuffers/protobuf@d77bdac)
- Move proto_toolchain from rules_proto to protobuf
(protocolbuffers/protobuf@9f9cb7a)
- Move proto_library from Bazel repository
(protocolbuffers/protobuf@3ff2cf0)
- Move proto_common implementation from Bazel binary
(protocolbuffers/protobuf@b19fbe6)

### Compiler

- Begin adding extension numbers to SourceCodeInfo and FileDescriptorSet
for tooling purposes.
(protocolbuffers/protobuf@07e489d)
- Update protoc release to include editions language features proto for
Go
([#&#8203;19013](https://redirect.github.com/protocolbuffers/protobuf/issues/19013))
(protocolbuffers/protobuf@63d966b)
- Introduce lifetimes for individual feature values.
(protocolbuffers/protobuf@0b6e768)
- Windows - Fix handling of utf8 command line arguments
([#&#8203;17854](https://redirect.github.com/protocolbuffers/protobuf/issues/17854))
(protocolbuffers/protobuf@b9d1800)
- Limit feature deprecation warnings to reduce noise.
(protocolbuffers/protobuf@5cd9a46)

### C++

- Fix C++ ifndef_guard printer to also convert "-" to "\_".
(protocolbuffers/protobuf@7331b77)
- Fix C++ codegen namespace printer to print closing namespaces in
reverse order.
(protocolbuffers/protobuf@3bf9c40)
- Fix raw_ptr.cc on exotic architectures
([#&#8203;18193](https://redirect.github.com/protocolbuffers/protobuf/issues/18193))
(protocolbuffers/protobuf@63f6262)
- Fix cord handling in DynamicMessage and oneofs.
(protocolbuffers/protobuf@9e8b30c)
- Fix packed reflection handling bug in edition 2023.
(protocolbuffers/protobuf@4c92328)
- Add JsonStreamToMessage method
(protocolbuffers/protobuf@0259cc3)
- Introduce lifetimes for individual feature values.
(protocolbuffers/protobuf@0b6e768)
- Insert software prefetches into merge functions. This improves
performance when hardware prefetchers are disabled on AMD machines.
(protocolbuffers/protobuf@d993365)
- Insert software prefetches into proto parsing functions. This improves
performance when hardware prefetchers are disabled on AMD platforms.
(protocolbuffers/protobuf@8aa0add)
- Add prefetching of subsequent extensions in ExtensionSet::ForEach.
(protocolbuffers/protobuf@9b019ee)
- Remove the AnyMetadata class and use free functions instead.
(protocolbuffers/protobuf@920d5c3)
- Add `[[deprecated]]` attribute when generating enums and classes.
(protocolbuffers/protobuf@23aada2)
- Use linear search instead of binary search in flat mode of
ExtensionSet.
(protocolbuffers/protobuf@0ed61f0)
- Prepare `MessageLite::GetTypeName` to be upgraded to return
(protocolbuffers/protobuf@30a8ef5)
- Limit feature deprecation warnings to reduce noise.
(protocolbuffers/protobuf@5cd9a46)
- Add Compiler Condition to use inline assembly optimizations with ARM64
for Compatibility with MSVC
([#&#8203;17671](https://redirect.github.com/protocolbuffers/protobuf/issues/17671))
(protocolbuffers/protobuf@c5f6231)
- Enable small object optimization (SOO) for RepeatedField in order to
reduce data indirections.
(protocolbuffers/protobuf@e2525e6)
- Return backing array memory to arena in ExtensionSet.
(protocolbuffers/protobuf@5ac8ee1)
- In edition 2024, `Enum_Name(value)` functions return
`absl::string_view` by default.
(protocolbuffers/protobuf@e3fa6aa)
- Add Prefetchers to Proto Copy Construct to help address load misses
(protocolbuffers/protobuf@cdb7238)
- Reduced nesting in GenerateByteSize: slight readability improvements
in generated code.
(protocolbuffers/protobuf@162a740)
- Introduce FieldDescriptor::cpp_string_type() API to replace direct
ctype inspection which will be removed in the next breaking change
(protocolbuffers/protobuf@d0e49df)
- Update the comment of TextFormat::Printer::RegisterMessagePrinter that
the method takes ownerhip of the `printer` pointer.
(protocolbuffers/protobuf@d911161)
- Prepare the code for migrating return types from `const std::string&`
to
(protocolbuffers/protobuf@e13b8e9)

### Java

- Remove deprecation warnings for Timestamp and Duration
add/subtract/between that we do not yet have alternatives to.
(protocolbuffers/protobuf@f606c13)
- \[29.x] Add missing java load
([#&#8203;19016](https://redirect.github.com/protocolbuffers/protobuf/issues/19016))
(protocolbuffers/protobuf@bb287be)
- Give Kotlin jars an OSGi Manifest
([#&#8203;18812](https://redirect.github.com/protocolbuffers/protobuf/issues/18812))
(protocolbuffers/protobuf@0c51eba)
- Re-export includingDefaultValueFields in deprecated state for
important Cloud customer.
(protocolbuffers/protobuf@7321b2f)
- Restore compatibility with 3.22 gencode by re-adding mutableCopy
helpers
(protocolbuffers/protobuf@1b1e90b)
- Speed up CodedOutputStream by extracting rarely-executed string
formatting code
(protocolbuffers/protobuf@f8f5136)
- Return constant Value objects for true, false, and ""
(protocolbuffers/protobuf@4fbb0c5)
- Optimise
CodedOutputStream.ArrayEncoder.writeFixed32NoTag/writeFixed64NoTag
(protocolbuffers/protobuf@a51f98c)
- CodedOutputStream: avoid updating position to go beyond end of array.
(protocolbuffers/protobuf@76ab5f2)
- Convert IndexOutOfBoundsException to OutOfSpaceException in
UnsafeDirectNioEncoder
(protocolbuffers/protobuf@0e75d92)
- Suppress ReturnValueIgnored errorprone issues
(protocolbuffers/protobuf@bbbc7b9)
- Fix packed reflection handling bug in edition 2023.
(protocolbuffers/protobuf@4c92328)
- Move cc_proto_library from Bazel repository
(protocolbuffers/protobuf@5254448)
- Protobuf Lite ArrayLists: Defer allocating backing array until we have
some idea how much to allocate.
(protocolbuffers/protobuf@05a8a40)
- Allocate correct-sized array when parsing packed fixed-width
primitives
(protocolbuffers/protobuf@4e8469c)
- Bugfix: Make extensions beyond n=16 immutable.
(protocolbuffers/protobuf@ee419f2)
- Reserve capacity in ProtobufArrayList when calling
Builder.addAllRepeatedMessage(Collection)
(protocolbuffers/protobuf@e3cc31a)
- Avoid allocating iterators when calling
Message.Builder.addAllFoo(RandomAccess List)
(protocolbuffers/protobuf@bd1887e)
- Remove the AnyMetadata class and use free functions instead.
(protocolbuffers/protobuf@920d5c3)
- Add `[[deprecated]]` attribute when generating enums and classes.
(protocolbuffers/protobuf@23aada2)
- Binary compatibility shims for GeneratedMessageV3,
SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes
to restore binary compatibility with <=v3.x.x generated code built
against v3.x.x prior to v4.26.0 breaking release.
(protocolbuffers/protobuf@df8a11e)
- Implement a mechanism to control the output format of Message.toString
within a Runnable instance.
(protocolbuffers/protobuf@737803e)
- Fix `TextFormat.Parser` to appropriately handle unknown values for
open enums
(protocolbuffers/protobuf@df1aad4)
- Inline ArrayList's array into SmallSortedMap
(protocolbuffers/protobuf@910f627)
- Deprecated unused/obsolete mutable APIs, to be removed in next
breaking change.
(protocolbuffers/protobuf@e889b0b)

##### Kotlin

- Give Kotlin jars an OSGi Manifest
([#&#8203;18812](https://redirect.github.com/protocolbuffers/protobuf/issues/18812))
(protocolbuffers/protobuf@0c51eba)
- Support building //java with bzlmod
(protocolbuffers/protobuf@507ba36)
- Replace deprecated use of `toBytes()` with `Character` property
`.code`
([#&#8203;18236](https://redirect.github.com/protocolbuffers/protobuf/issues/18236))
(protocolbuffers/protobuf@5d9deab)

### Csharp

- Begin adding extension numbers to SourceCodeInfo and FileDescriptorSet
for tooling purposes.
(protocolbuffers/protobuf@07e489d)

### Objective-C

- \[ObjC] Make debug runtime tell developers to update their generated
code.
(protocolbuffers/protobuf@cdd3cf7)
- \[ObjC] Issue stderr warnings for deprecated generation options.
(protocolbuffers/protobuf@e9140a1)
- \[ObjC] Deprecate GPBUnknownFieldSet and related apis.
(protocolbuffers/protobuf@d794139)
- \[ObjC] Deprecate GPBTextFormatForUnknownFieldSet().
(protocolbuffers/protobuf@55e997e)

### Python

- Fix a python bug when assign an empty Struct at creation.
([#&#8203;18977](https://redirect.github.com/protocolbuffers/protobuf/issues/18977))
(protocolbuffers/protobuf@bb0d575)
- Add a deprecation warning to py_proto_library
([#&#8203;19032](https://redirect.github.com/protocolbuffers/protobuf/issues/19032))
(protocolbuffers/protobuf@53cde64)
- Load Python rules everywhere in protobuf
(protocolbuffers/protobuf@a18f0de)
- Fix cord handling in DynamicMessage and oneofs.
(protocolbuffers/protobuf@9e8b30c)
- Fix packed reflection handling bug in edition 2023.
(protocolbuffers/protobuf@4c92328)
- Fix ContainerBase::DeepCopy to not modify the source object.
(protocolbuffers/protobuf@9fa1f4f)
- Introduce lifetimes for individual feature values.
(protocolbuffers/protobuf@0b6e768)
- Nextgen Proto Pythonic API: Add any.py
(protocolbuffers/protobuf@dd95e5b)
- Add test that tries to parse a JSON string that exceeds the recursion
limit.
(protocolbuffers/protobuf@5a22455)
- Raise warnings for deprecated python cpp extension GetDebugString().
(protocolbuffers/protobuf@b70c4b0)
- Nextgen Proto Pythonic API: Add duration.py
(protocolbuffers/protobuf@903c3f1)
- Nextgen Proto Pythonic API: Add timestamp.py
(protocolbuffers/protobuf@ee26f27)
- \-Remove service.py usages in builder
(protocolbuffers/protobuf@2967c52)
- Raise warnings for deprecated google/protobuf/reflection.py APIs.
(protocolbuffers/protobuf@55705f8)

### PHP

- Fix: do not throw deprecated warning on field getters for default
values
([#&#8203;17788](https://redirect.github.com/protocolbuffers/protobuf/issues/17788))
(protocolbuffers/protobuf@6d84da5)

##### PHP C-Extension

- Fixed non-conformance in JSON parsing for empty strings in numeric
fields.
([#&#8203;19259](https://redirect.github.com/protocolbuffers/protobuf/issues/19259))
(protocolbuffers/protobuf@b69ea96)
-   *See also UPB changes below, which may affect PHP C-Extension.*

### Ruby

- Fixed non-conformance in JSON parsing for empty strings in numeric
fields.
([#&#8203;19259](https://redirect.github.com/protocolbuffers/protobuf/issues/19259))
(protocolbuffers/protobuf@b69ea96)
- Remove codes for unsupported Ruby
([#&#8203;17353](https://redirect.github.com/protocolbuffers/protobuf/issues/17353))
(protocolbuffers/protobuf@184f3a3)
- \[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8.
([#&#8203;17253](https://redirect.github.com/protocolbuffers/protobuf/issues/17253))
(protocolbuffers/protobuf@b07e4b1)

##### Ruby C-Extension

- Fixed non-conformance in JSON parsing for empty strings in numeric
fields.
([#&#8203;19259](https://redirect.github.com/protocolbuffers/protobuf/issues/19259))
(protocolbuffers/protobuf@b69ea96)
- Fix a potential Ruby-upb use of uninitialized memory.
(protocolbuffers/protobuf@4d75c82)
- \[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8.
([#&#8203;17253](https://redirect.github.com/protocolbuffers/protobuf/issues/17253))
(protocolbuffers/protobuf@b07e4b1)
-   *See also UPB changes below, which may affect Ruby C-Extension.*

### UPB (Python/PHP/Ruby C-Extension)

- Fixed non-conformance in JSON parsing for empty strings in numeric
fields.
([#&#8203;19259](https://redirect.github.com/protocolbuffers/protobuf/issues/19259))
(protocolbuffers/protobuf@b69ea96)
- Load Python rules everywhere in protobuf
(protocolbuffers/protobuf@a18f0de)
- Fix a potential Ruby-upb use of uninitialized memory.
(protocolbuffers/protobuf@4d75c82)
- Fixed `NAN`/`INFINITY` definitions to work on Windows 11 SDK.
(protocolbuffers/protobuf@0309d86)

### Other

- Fix typo in BCR maintainer name config for acozzette@
([#&#8203;19307](https://redirect.github.com/protocolbuffers/protobuf/issues/19307))
(protocolbuffers/protobuf@02cffa4)
- Remove Bazel 6 in BCR presubmits
([#&#8203;19309](https://redirect.github.com/protocolbuffers/protobuf/issues/19309))
(protocolbuffers/protobuf@7537b03)
- Upgrade rules_cc 0.0.15 and rules_java 8.3.1
([#&#8203;19215](https://redirect.github.com/protocolbuffers/protobuf/issues/19215))
(protocolbuffers/protobuf@fb8ee79)
- Upgrade rules_java and remove experimental_google_legacy_api flag
([#&#8203;18889](https://redirect.github.com/protocolbuffers/protobuf/issues/18889))
(protocolbuffers/protobuf@f25389b)
- Replace use of C++17 with disabling a warning
(protocolbuffers/protobuf@111584f)
- Load Shell rules everywhere in protobuf
(protocolbuffers/protobuf@1822c8a)
- Fix Bazel dependency cycle issue affecting Kythe
([#&#8203;18768](https://redirect.github.com/protocolbuffers/protobuf/issues/18768))
(protocolbuffers/protobuf@6df33a4)
- Remove rules_rust dependency
(protocolbuffers/protobuf@4329b89)
- Remove release branch staleness tests.
(protocolbuffers/protobuf@3551ee3)
- Remove javaopts requiring java8 in non-release builds.
(protocolbuffers/protobuf@98beac0)
- Docs: add nebius.ai custom options to registry
([#&#8203;18297](https://redirect.github.com/protocolbuffers/protobuf/issues/18297))
(protocolbuffers/protobuf@e5d2dbd)
- Protobuf-mode: add edition keyword for syntax highlighting
(protocolbuffers/protobuf@1384512)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * 1" (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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TBD54566975/ftl).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicnVuLWFsbCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Wes <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2024
1 parent 3ee16bc commit 50131f0
Show file tree
Hide file tree
Showing 23 changed files with 72 additions and 72 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/protoc
2 changes: 1 addition & 1 deletion cmd/go2proto/testdata/testdatapb/model.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions python-runtime/compile/testdata/echo/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python-runtime/ftl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
]
requires-python = ">=3.12"
dependencies = [
"protobuf>=5.28.3",
"protobuf>=5.29.1",
]

[build-system]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions python-runtime/ftl/src/ftl/protos/xyz/block/ftl/v1/ftl_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50131f0

Please sign in to comment.