Skip to content

chore(deps): bump com.squareup.wire:wire-runtime from 7.1.2 to 7.2.1 - #46

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/gradle/com.squareup.wire-wire-runtime-7.2.1
Nov 16, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/gradle/com.squareup.wire-wire-runtime-7.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown

Bumps com.squareup.wire:wire-runtime from 7.1.2 to 7.2.1.

Changelog

Sourced from com.squareup.wire:wire-runtime's changelog.

Version 7.2.1

2026-11-12

Swift

  • Fix: Swift generation adds the _OneOf 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 (#3761 by [Max Meyers][maxmeyers])

Version 7.2.0

2026-11-10

Common

  • New: encodeInTagOrder option on the kotlin {} and java {} targets. When it is true, the generated encode 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 compact and encodeInTagOrder together on a java {} target, because compact code encodes by reflection (#3751)
  • New: ProtoAdapter.BYTES and ProtoAdapter.STRING decode a top-level payload that has no length prefix. A gRPC call can use ProtoAdapter.BYTES as its response adapter to receive the raw message bytes without decoding them (#3745)
  • New: Schema.protoAdapter supports map fields. Before, it threw UnsupportedOperationException for any message with a map field (#3756)
  • Fix: Schema.protoAdapter writes [packed = true] proto2 fields and proto3 repeated scalars packed, as protoc does. Before, it wrote them unpacked. The descriptor bytes that SchemaEncoder and the wire-reflector gRPC reflection service return also change when a custom option has a packed field (#3749)
  • 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 (#3749)
  • Change: the identity 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 (#3756)
  • Fix: generated code and Schema.protoAdapter decode map<K, google.protobuf.NullValue> entries, and map<K, google.protobuf.Value> entries that hold null_value. Before, decoding failed with "Map entry with null value" (#3756)
  • 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 (#3740)
  • Fix: decoding an empty packed record for a repeated scalar field adds no values. Before, it threw EOFException. Regenerate Java and Kotlin sources to apply this fix to generated adapters (#3741)
  • Fix: decoding a message field that has the VARINT, FIXED32 or FIXED64 wire type throws ProtocolException instead of IllegalStateException (#3739)
  • Fix: normalize line terminators in schema paths before Wire writes them into the // Source: comment of the .proto files it emits (#3735)
  • Update the bundled google/protobuf well-known type protos to their latest versions (#3747)

Java

  • Fix: generated builder setters accept null elements in repeated and map fields of type google.protobuf.Value and google.protobuf.NullValue. Before, they threw NullPointerException. build() still rejects null map keys (#3760)

Kotlin

  • Fix: Kotlin proto3 enums generated with enumMode = sealed_class now have a correct ADAPTER.identity in any class initialization order. Before, ADAPTER.identity could be null when code touched an enum constant before ADAPTER. ProtoAdapter.identity is now open so that the generated adapter can override it (#3755)
  • ⚠ Breaking: proto3 sealed enums generated with this version require the matching wire-runtime version. With an older runtime, the JVM throws IncompatibleClassChangeError when it loads the enum adapter. Proto2 sealed enums and enum class mode do not have this requirement (#3755)
  • ⚠ Breaking: Kotlin code generated with this version for fields with [(wire.use_array) = true] requires the matching wire-runtime version. It calls com.squareup.wire.internal.beforePossiblyPackedScalar, which older runtimes do not have, so decoding throws NoSuchMethodError (#3741)
  • Fix: the generated fromValue function follows the per-enum wire.enum_mode option. Before, it used the global enumMode (#3755)

Swift

  • Fix: ProtoWriter 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 (#3750)
  • 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 (#3736 by [Matt Van Horn][mvanhorn])
Commits
  • e2b9202 Prepare for release 7.2.1.
  • c6a7a8d Merge pull request #3761 from maxmeyers/mmeyers/swift-oneof-nested-type-colli...
  • b741258 Avoid Swift oneof collisions with nested types
  • bb77508 Prepare next development version.
  • fe70b17 Prepare for release 7.2.0.
  • bd1dc6d Merge pull request #3760 from square/bquenaudon/java-map-null-values
  • 4244ad7 Merge pull request #3755 from square/bquenaudon/sealed-enum-adapter-identity
  • 0ea016a Merge pull request #3751 from square/bquenaudon/encode-in-tag-order
  • 8c4109a Merge pull request #3756 from square/bquenaudon/schema-adapter-maps
  • 5080edd Merge pull request #3749 from square/bquenaudon/schema-adapter-packed
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [com.squareup.wire:wire-runtime](https://github.com/square/wire) from 7.1.2 to 7.2.1.
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](square/wire@7.1.2...7.2.1)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-runtime
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from heberjeur as a code owner November 16, 2026 04:30
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: android. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
github-actions Bot merged commit 5374724 into master Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants