dependabot[bot] opened a new pull request, #20268: URL: https://github.com/apache/pinot/pull/20268
Bumps `wire.version` from 7.1.2 to 7.2.1. Updates `com.squareup.wire:wire-schema-jvm` from 7.1.2 to 7.2.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/square/wire/blob/master/CHANGELOG.md">com.squareup.wire:wire-schema-jvm's changelog</a>.</em></p> <blockquote> <h2>Version 7.2.1</h2> <p><em>2026-11-12</em></p> <h3>Swift</h3> <ul> <li>Fix: Swift generation adds the <code>_OneOf</code> suffix to a oneof enum whose name matches a nested message or enum of the same message. Before, the generated code declared two types with the same name and did not compile (<a href="https://redirect.github.com/square/wire/issues/3761">#3761</a> by [Max Meyers][maxmeyers])</li> </ul> <h2>Version 7.2.0</h2> <p><em>2026-11-10</em></p> <h3>Common</h3> <ul> <li>New: <code>encodeInTagOrder</code> option on the <code>kotlin {}</code> and <code>java {}</code> targets. When it is true, the generated <code>encode</code> functions write fields in ascending tag order, so the bytes are the same as protoc. This includes oneof and extension fields. It is false by default, and generated code does not change when it is false. The Gradle plugin rejects <code>compact</code> and <code>encodeInTagOrder</code> together on a <code>java {}</code> target, because compact code encodes by reflection (<a href="https://redirect.github.com/square/wire/issues/3751">#3751</a>)</li> <li>New: <code>ProtoAdapter.BYTES</code> and <code>ProtoAdapter.STRING</code> decode a top-level payload that has no length prefix. A gRPC call can use <code>ProtoAdapter.BYTES</code> as its response adapter to receive the raw message bytes without decoding them (<a href="https://redirect.github.com/square/wire/issues/3745">#3745</a>)</li> <li>New: <code>Schema.protoAdapter</code> supports map fields. Before, it threw <code>UnsupportedOperationException</code> for any message with a map field (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: <code>Schema.protoAdapter</code> writes <code>[packed = true]</code> proto2 fields and proto3 repeated scalars packed, as protoc does. Before, it wrote them unpacked. The descriptor bytes that <code>SchemaEncoder</code> and the <code>wire-reflector</code> gRPC reflection service return also change when a custom option has a packed field (<a href="https://redirect.github.com/square/wire/issues/3749">#3749</a>)</li> <li>Fix: the schema enum adapter computes the size of a negative enum value as the 5-byte varint that it writes, as generated enum adapters do. Before, it computed 10 bytes, so a packed field with a negative enum value got a wrong length prefix (<a href="https://redirect.github.com/square/wire/issues/3749">#3749</a>)</li> <li>Change: the <code>identity</code> of a schema enum adapter is now the name of its constant with tag 0, or null if there is none. A map entry without an enum value now decodes to this constant (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: generated code and <code>Schema.protoAdapter</code> decode <code>map<K, google.protobuf.NullValue></code> entries, and <code>map<K, google.protobuf.Value></code> entries that hold <code>null_value</code>. Before, decoding failed with "Map entry with null value" (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: decoding ignores a length-delimited payload for a singular numeric, boolean or enum field, as protoc does. Regenerate Java and Kotlin sources to apply this fix to generated adapters (<a href="https://redirect.github.com/square/wire/issues/3740">#3740</a>)</li> <li>Fix: decoding an empty packed record for a repeated scalar field adds no values. Before, it threw <code>EOFException</code>. Regenerate Java and Kotlin sources to apply this fix to generated adapters (<a href="https://redirect.github.com/square/wire/issues/3741">#3741</a>)</li> <li>Fix: decoding a message field that has the <code>VARINT</code>, <code>FIXED32</code> or <code>FIXED64</code> wire type throws <code>ProtocolException</code> instead of <code>IllegalStateException</code> (<a href="https://redirect.github.com/square/wire/issues/3739">#3739</a>)</li> <li>Fix: normalize line terminators in schema paths before Wire writes them into the <code>// Source:</code> comment of the <code>.proto</code> files it emits (<a href="https://redirect.github.com/square/wire/issues/3735">#3735</a>)</li> <li>Update the bundled <code>google/protobuf</code> well-known type protos to their latest versions (<a href="https://redirect.github.com/square/wire/issues/3747">#3747</a>)</li> </ul> <h3>Java</h3> <ul> <li>Fix: generated builder setters accept null elements in repeated and map fields of type <code>google.protobuf.Value</code> and <code>google.protobuf.NullValue</code>. Before, they threw <code>NullPointerException</code>. <code>build()</code> still rejects null map keys (<a href="https://redirect.github.com/square/wire/issues/3760">#3760</a>)</li> </ul> <h3>Kotlin</h3> <ul> <li>Fix: Kotlin proto3 enums generated with <code>enumMode = sealed_class</code> now have a correct <code>ADAPTER.identity</code> in any class initialization order. Before, <code>ADAPTER.identity</code> could be null when code touched an enum constant before <code>ADAPTER</code>. <code>ProtoAdapter.identity</code> is now <code>open</code> so that the generated adapter can override it (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> <li>⚠ Breaking: proto3 sealed enums generated with this version require the matching <code>wire-runtime</code> version. With an older runtime, the JVM throws <code>IncompatibleClassChangeError</code> when it loads the enum adapter. Proto2 sealed enums and enum class mode do not have this requirement (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> <li>⚠ Breaking: Kotlin code generated with this version for fields with <code>[(wire.use_array) = true]</code> requires the matching <code>wire-runtime</code> version. It calls <code>com.squareup.wire.internal.beforePossiblyPackedScalar</code>, which older runtimes do not have, so decoding throws <code>NoSuchMethodError</code> (<a href="https://redirect.github.com/square/wire/issues/3741">#3741</a>)</li> <li>Fix: the generated <code>fromValue</code> function follows the per-enum <code>wire.enum_mode</code> option. Before, it used the global <code>enumMode</code> (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> </ul> <h3>Swift</h3> <ul> <li>Fix: <code>ProtoWriter</code> writes unknown fields and extensions in ascending tag order. Before, it used dictionary order, so a message with two or more unknown tags encoded to different bytes on each launch (<a href="https://redirect.github.com/square/wire/issues/3750">#3750</a>)</li> <li>Fix: Swift generation with a module manifest no longer fails with "Missing a zero value" when a proto3 message uses an enum from another module (<a href="https://redirect.github.com/square/wire/issues/3736">#3736</a> by [Matt Van Horn][mvanhorn])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/square/wire/commit/e2b920215926533431fc78be5b4d1b83110f522c"><code>e2b9202</code></a> Prepare for release 7.2.1.</li> <li><a href="https://github.com/square/wire/commit/c6a7a8dbb224c5908695326e65c1cbd2880e0291"><code>c6a7a8d</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3761">#3761</a> from maxmeyers/mmeyers/swift-oneof-nested-type-colli...</li> <li><a href="https://github.com/square/wire/commit/b741258f0f71f8dbd0473ac7fa99b2dde8bf8011"><code>b741258</code></a> Avoid Swift oneof collisions with nested types</li> <li><a href="https://github.com/square/wire/commit/bb775089d7c398eb94e7056e8ede6580aa476d17"><code>bb77508</code></a> Prepare next development version.</li> <li><a href="https://github.com/square/wire/commit/fe70b17f7c1460634e7cf7a0814d643f205e5874"><code>fe70b17</code></a> Prepare for release 7.2.0.</li> <li><a href="https://github.com/square/wire/commit/bd1dc6df53822c1fa330dfdad57d6662a04b707d"><code>bd1dc6d</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3760">#3760</a> from square/bquenaudon/java-map-null-values</li> <li><a href="https://github.com/square/wire/commit/4244ad74bcda04c3796d06953f4ffb032e80716d"><code>4244ad7</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3755">#3755</a> from square/bquenaudon/sealed-enum-adapter-identity</li> <li><a href="https://github.com/square/wire/commit/0ea016a8c6be6c94dd35e2b46658596c0f966e51"><code>0ea016a</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3751">#3751</a> from square/bquenaudon/encode-in-tag-order</li> <li><a href="https://github.com/square/wire/commit/8c4109a71921285c3de7ac3bc03b5f4ff90bfd68"><code>8c4109a</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3756">#3756</a> from square/bquenaudon/schema-adapter-maps</li> <li><a href="https://github.com/square/wire/commit/5080edde95b4bbe525af7801677eb1fabcd8bf26"><code>5080edd</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3749">#3749</a> from square/bquenaudon/schema-adapter-packed</li> <li>Additional commits viewable in <a href="https://github.com/square/wire/compare/7.1.2...7.2.1">compare view</a></li> </ul> </details> <br /> Updates `com.squareup.wire:wire-runtime-jvm` from 7.1.2 to 7.2.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/square/wire/blob/master/CHANGELOG.md">com.squareup.wire:wire-runtime-jvm's changelog</a>.</em></p> <blockquote> <h2>Version 7.2.1</h2> <p><em>2026-11-12</em></p> <h3>Swift</h3> <ul> <li>Fix: Swift generation adds the <code>_OneOf</code> suffix to a oneof enum whose name matches a nested message or enum of the same message. Before, the generated code declared two types with the same name and did not compile (<a href="https://redirect.github.com/square/wire/issues/3761">#3761</a> by [Max Meyers][maxmeyers])</li> </ul> <h2>Version 7.2.0</h2> <p><em>2026-11-10</em></p> <h3>Common</h3> <ul> <li>New: <code>encodeInTagOrder</code> option on the <code>kotlin {}</code> and <code>java {}</code> targets. When it is true, the generated <code>encode</code> functions write fields in ascending tag order, so the bytes are the same as protoc. This includes oneof and extension fields. It is false by default, and generated code does not change when it is false. The Gradle plugin rejects <code>compact</code> and <code>encodeInTagOrder</code> together on a <code>java {}</code> target, because compact code encodes by reflection (<a href="https://redirect.github.com/square/wire/issues/3751">#3751</a>)</li> <li>New: <code>ProtoAdapter.BYTES</code> and <code>ProtoAdapter.STRING</code> decode a top-level payload that has no length prefix. A gRPC call can use <code>ProtoAdapter.BYTES</code> as its response adapter to receive the raw message bytes without decoding them (<a href="https://redirect.github.com/square/wire/issues/3745">#3745</a>)</li> <li>New: <code>Schema.protoAdapter</code> supports map fields. Before, it threw <code>UnsupportedOperationException</code> for any message with a map field (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: <code>Schema.protoAdapter</code> writes <code>[packed = true]</code> proto2 fields and proto3 repeated scalars packed, as protoc does. Before, it wrote them unpacked. The descriptor bytes that <code>SchemaEncoder</code> and the <code>wire-reflector</code> gRPC reflection service return also change when a custom option has a packed field (<a href="https://redirect.github.com/square/wire/issues/3749">#3749</a>)</li> <li>Fix: the schema enum adapter computes the size of a negative enum value as the 5-byte varint that it writes, as generated enum adapters do. Before, it computed 10 bytes, so a packed field with a negative enum value got a wrong length prefix (<a href="https://redirect.github.com/square/wire/issues/3749">#3749</a>)</li> <li>Change: the <code>identity</code> of a schema enum adapter is now the name of its constant with tag 0, or null if there is none. A map entry without an enum value now decodes to this constant (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: generated code and <code>Schema.protoAdapter</code> decode <code>map<K, google.protobuf.NullValue></code> entries, and <code>map<K, google.protobuf.Value></code> entries that hold <code>null_value</code>. Before, decoding failed with "Map entry with null value" (<a href="https://redirect.github.com/square/wire/issues/3756">#3756</a>)</li> <li>Fix: decoding ignores a length-delimited payload for a singular numeric, boolean or enum field, as protoc does. Regenerate Java and Kotlin sources to apply this fix to generated adapters (<a href="https://redirect.github.com/square/wire/issues/3740">#3740</a>)</li> <li>Fix: decoding an empty packed record for a repeated scalar field adds no values. Before, it threw <code>EOFException</code>. Regenerate Java and Kotlin sources to apply this fix to generated adapters (<a href="https://redirect.github.com/square/wire/issues/3741">#3741</a>)</li> <li>Fix: decoding a message field that has the <code>VARINT</code>, <code>FIXED32</code> or <code>FIXED64</code> wire type throws <code>ProtocolException</code> instead of <code>IllegalStateException</code> (<a href="https://redirect.github.com/square/wire/issues/3739">#3739</a>)</li> <li>Fix: normalize line terminators in schema paths before Wire writes them into the <code>// Source:</code> comment of the <code>.proto</code> files it emits (<a href="https://redirect.github.com/square/wire/issues/3735">#3735</a>)</li> <li>Update the bundled <code>google/protobuf</code> well-known type protos to their latest versions (<a href="https://redirect.github.com/square/wire/issues/3747">#3747</a>)</li> </ul> <h3>Java</h3> <ul> <li>Fix: generated builder setters accept null elements in repeated and map fields of type <code>google.protobuf.Value</code> and <code>google.protobuf.NullValue</code>. Before, they threw <code>NullPointerException</code>. <code>build()</code> still rejects null map keys (<a href="https://redirect.github.com/square/wire/issues/3760">#3760</a>)</li> </ul> <h3>Kotlin</h3> <ul> <li>Fix: Kotlin proto3 enums generated with <code>enumMode = sealed_class</code> now have a correct <code>ADAPTER.identity</code> in any class initialization order. Before, <code>ADAPTER.identity</code> could be null when code touched an enum constant before <code>ADAPTER</code>. <code>ProtoAdapter.identity</code> is now <code>open</code> so that the generated adapter can override it (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> <li>⚠ Breaking: proto3 sealed enums generated with this version require the matching <code>wire-runtime</code> version. With an older runtime, the JVM throws <code>IncompatibleClassChangeError</code> when it loads the enum adapter. Proto2 sealed enums and enum class mode do not have this requirement (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> <li>⚠ Breaking: Kotlin code generated with this version for fields with <code>[(wire.use_array) = true]</code> requires the matching <code>wire-runtime</code> version. It calls <code>com.squareup.wire.internal.beforePossiblyPackedScalar</code>, which older runtimes do not have, so decoding throws <code>NoSuchMethodError</code> (<a href="https://redirect.github.com/square/wire/issues/3741">#3741</a>)</li> <li>Fix: the generated <code>fromValue</code> function follows the per-enum <code>wire.enum_mode</code> option. Before, it used the global <code>enumMode</code> (<a href="https://redirect.github.com/square/wire/issues/3755">#3755</a>)</li> </ul> <h3>Swift</h3> <ul> <li>Fix: <code>ProtoWriter</code> writes unknown fields and extensions in ascending tag order. Before, it used dictionary order, so a message with two or more unknown tags encoded to different bytes on each launch (<a href="https://redirect.github.com/square/wire/issues/3750">#3750</a>)</li> <li>Fix: Swift generation with a module manifest no longer fails with "Missing a zero value" when a proto3 message uses an enum from another module (<a href="https://redirect.github.com/square/wire/issues/3736">#3736</a> by [Matt Van Horn][mvanhorn])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/square/wire/commit/e2b920215926533431fc78be5b4d1b83110f522c"><code>e2b9202</code></a> Prepare for release 7.2.1.</li> <li><a href="https://github.com/square/wire/commit/c6a7a8dbb224c5908695326e65c1cbd2880e0291"><code>c6a7a8d</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3761">#3761</a> from maxmeyers/mmeyers/swift-oneof-nested-type-colli...</li> <li><a href="https://github.com/square/wire/commit/b741258f0f71f8dbd0473ac7fa99b2dde8bf8011"><code>b741258</code></a> Avoid Swift oneof collisions with nested types</li> <li><a href="https://github.com/square/wire/commit/bb775089d7c398eb94e7056e8ede6580aa476d17"><code>bb77508</code></a> Prepare next development version.</li> <li><a href="https://github.com/square/wire/commit/fe70b17f7c1460634e7cf7a0814d643f205e5874"><code>fe70b17</code></a> Prepare for release 7.2.0.</li> <li><a href="https://github.com/square/wire/commit/bd1dc6df53822c1fa330dfdad57d6662a04b707d"><code>bd1dc6d</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3760">#3760</a> from square/bquenaudon/java-map-null-values</li> <li><a href="https://github.com/square/wire/commit/4244ad74bcda04c3796d06953f4ffb032e80716d"><code>4244ad7</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3755">#3755</a> from square/bquenaudon/sealed-enum-adapter-identity</li> <li><a href="https://github.com/square/wire/commit/0ea016a8c6be6c94dd35e2b46658596c0f966e51"><code>0ea016a</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3751">#3751</a> from square/bquenaudon/encode-in-tag-order</li> <li><a href="https://github.com/square/wire/commit/8c4109a71921285c3de7ac3bc03b5f4ff90bfd68"><code>8c4109a</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3756">#3756</a> from square/bquenaudon/schema-adapter-maps</li> <li><a href="https://github.com/square/wire/commit/5080edde95b4bbe525af7801677eb1fabcd8bf26"><code>5080edd</code></a> Merge pull request <a href="https://redirect.github.com/square/wire/issues/3749">#3749</a> from square/bquenaudon/schema-adapter-packed</li> <li>Additional commits viewable in <a href="https://github.com/square/wire/compare/7.1.2...7.2.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
