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 dependency com.squareup.wire:wire-gradle-plugin to v4.9.9 - autoclosed #243

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 31, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup.wire:wire-gradle-plugin 4.8.0 -> 4.9.9 age adoption passing confidence

Release Notes

square/wire (com.squareup.wire:wire-gradle-plugin)

v4.9.9

Compare Source

2024-04-02

Common
  • Backport JSON serialization for Android SDK below 26 (#​2881 by [Damian Wieczorek][damianw])

v4.9.8

Compare Source

2024-03-18

Common
  • Retain imports for types used in maps (#​2864)

v4.9.7

Compare Source

2024-02-12

Common
  • Support all struct types for JSON encoding (#​2824 by [Arnaud Frugier][quanturium])

v4.9.6

Compare Source

2024-02-02

Common
  • Add public dependencies when encoding the schema (#​2801 by [Michael Peyper][mpeyper])
Kotlin
  • Fix RealGrpcCall timeout (#​2816 by [Jeff Gulbronson][JGulbronson])

v4.9.5

Compare Source

2024-01-27

Common
  • Fix over pruning imports when only option types are being extended in a file (#​2800 by [Michael Peyper][mpeyper])

v4.9.4

Compare Source

2024-01-26

Common
  • Added linuxArm64 target to wire-runtime module (#​2733 by [Shay Oinif][ShayOinif])
  • Add ProtoReader API for length-delimited stream reads (#​2747 by [Jake Wharton][JakeWharton])
    • You can now call ProtoReader#nextLengthDelimited to read and return the length of the next message in a length-delimited stream.
  • Ensure ConsoleWireLogger does not print anything if in quiet mode (#​2754 by [Dimitris Koutsogiorgas][dnkoutso])
  • Provide a built in public EmptyWireLoggerFactory class (#​2776 by [Dimitris Koutsogiorgas][dnkoutso])
  • Stop logging includes and excludes (#​2777)
  • Implement equals/hash for Duration and Instant on native and JS (#​2781)
  • Prune imports no longer used by retained entities in the schema (#​2797 by [Michael Peyper][mpeyper])
Kotlin
  • Generate Grpc SERVICE_NAME as const (#​2773 by [Marius Volkhart][MariusVolkhart])
  • Use %N in KotlinGenerator to ensure names are escaped (#​2784 by [Egor Andreevich][Egorand])
  • Add escapeKotlinKeywords parameter to Kotlin target (#​2785 by [Egor Andreevich][Egorand])
    • You can now set escapeKotlinKeywords = true within our kotlin {} targets to escape Kotlin keywords with backticks rather than having them suffixed with an _.
  • Don't retransmit a PipeDuplexRequestBody (#​2791)
    • We had crashes that occurred when OkHttp attempted to retry sending the request body of a gRPC streaming connection.
Swift
  • Remove deprecated cruft (#​2721 by [Adam Lickel][lickel])
  • Always qualify names for types that conflict with common Swift types (#​2764 by [Dimitris Koutsogiorgas][dnkoutso])
  • Fix edge case for heap based messages using a redacted description field (#​2772 by [Dimitris Koutsogiorgas][dnkoutso])
  • Change unknownFields type to [UInt32: Data] from just Data. (#​2789 by [Dimitris Koutsogiorgas][dnkoutso])
  • Introduce a ProtoExtensible protocol that all messages that have been extended conform to. (#​2790 by [Dimitris Koutsogiorgas][dnkoutso])
Announcement

Wire 5.0 is happening soon. This will happen:

  • SchemaHandler.Factory#create() will be removed. Override its counterpart for painless migration SchemaHandler.Factory#create(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, options: Map<String, String>).
  • The module wire-grpc-server will be extracted into its own repository: https://github.com/square/wire-grpc-server/
    • Here is how one should migrate: // TODO

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.

v4.9.1

Compare Source

2023-09-26

  • Fix: Missing Swift imports.

v4.9.0

Compare Source

2023-09-20

  • Fix: Swift generates all Storage properties. This mitigates performance issues with dynamicMemberLookup
  • Change: Swift codegen was reordered for readability
  • Change: the type of the Wire option use_array has been changed from string to bool, and its tag has changed from 1180 to 1185.
  • New: Swift propertyWrapper @​CopyOnWrite. @​Heap is now deprecated and will be removed in November 2024.
  • New: Wildcards are supported when pruning members such as my.namespace.Type#another.namespace.*. This is handy if one wants to prune extension fields.
  • New: Adds warning when one defines a protoLibrary without source sets, which happens on native and JavaScript platforms.
  • New: project(..) dependencies are now explicitly limited to the JVM, for otherwise Wire isn't able to pick the correct platform to resolve them.
  • New: Wire runtime proto files, such as google/protobuf/descriptor.proto or wire/extensions.proto will not be emitted anymore when protoLibrary = true.
  • New: A custom logger can now be configured via the WireCompiler.
  • New: wire-schema, and wire-schema-tests are now available on JavaScript and native platforms.
  • Update: Okio to 3.5.0. All java.nio file systems should now be supported when using Wire.
  • Update: Kotlin to 1.9.10, Gradle to 8.x, and many others to most recent versions.

v4.8.1

Compare Source

2023-08-17

  • New: Swift messages now have the form init(REQUIRED FIELDS, (inout Storage) -> Void)
  • New: Swift, the member-wise initializer has been removed by default. It can be re-enabled by defining WIRE_INCLUDE_MEMBERWISE_INITIALIZER; however, it will be removed in November 2024. See https://github.com/square/wire/pull/2561 for details
  • Fix: Correctly define sources folders vs. resources folders for Wire generated code.
  • Fix: Generated .proto are correctly added to the built artifact.
  • New: All options of KotlinTarget available on CLI.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/protowireplugin branch from f31af20 to 65ecde7 Compare April 2, 2024 16:43
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-gradle-plugin to v4.9.8 Update dependency com.squareup.wire:wire-gradle-plugin to v4.9.9 Apr 2, 2024
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-gradle-plugin to v4.9.9 Update dependency com.squareup.wire:wire-gradle-plugin to v4.9.9 - autoclosed Apr 6, 2024
@renovate renovate bot closed this Apr 6, 2024
@renovate renovate bot deleted the renovate/protowireplugin branch April 6, 2024 22:49
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.

0 participants