Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wire to v4.9.3 #665

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Update wire to v4.9.3 #665

merged 1 commit into from
Dec 6, 2023

Conversation

slack-oss-bot
Copy link
Collaborator

This PR contains the following updates:

Package Type Update Change
com.squareup.wire plugin patch 4.9.1 -> 4.9.3
com.squareup.wire:wire-gradle-plugin dependencies patch 4.9.1 -> 4.9.3

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

square/wire (com.squareup.wire)

v4.9.3

Compare Source

2023-11-23

  • Breaking: Encoding and decoding of negative Int32s was broken in Swift and did not match protobuf spec.
    Negative Int32s are now correctly encoded as unsigned Int64s. Prior versions of Wire that have
    serialized a proto containing negative Int32 fields will not be correctly decoded using this
    version onwards.
  • Fix: Swift ProtoDefaulted was incorrectly applied in cross-module contexts
  • Fix: Message's Builder won't break compilation on multiplatform projects.
  • Fix: No hanging anymore on gRPC when receiving an unexpected response.

v4.9.2

Compare Source

2023-11-13

  • New: Opaque types. You can now specify types you want Wire to evaluate as being of type bytes.
    On code generation, the fields of such types will be using the platform equivalent of bytes,
    like okio.ByteString for the JVM. Use this if there's a dependency heavy type which you do
    not use. Note that scalar types cannot be opaqued.
  • New: Adds a closure into generate types allowing the creation of an instance via the Kotlin DSL.
  • Fix: Don't arbitrarily prune oneOf options.
  • Change: Swift Defaulted has been renamed CustomDefaulted
  • New: Swift ProtoDefaulted property wrapper and ProtoDefaultedValue protocol
    • Similar to `CustomDefaulted, this adds as projection of the protocol defined default value
    • This should not take up any additional storage
    • This is attached to optional scalar values and messages with entirely optional values
  • New: ProtoDefaulted and CustomDefaulted include setter support
    • This enables you to do something like Foo().$bar.$baz += 1
  • Change: Swift ProtoEnum types now have a raw value of Int32.
    • The runtime and generated code both need to be updated to reflect this.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@slack-oss-bot slack-oss-bot added this pull request to the merge queue Dec 6, 2023
Merged via the queue into main with commit 338236f Dec 6, 2023
2 checks passed
@slack-oss-bot slack-oss-bot deleted the test-renovate/wire branch December 6, 2023 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants