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-bom to v4.9.11 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup.wire:wire-bom 4.5.5 -> 4.9.11 age adoption passing confidence

Release Notes

square/wire (com.squareup.wire:wire-bom)

v4.9.11

Compare Source

2024-10-09

Common
  • Fix Gradle project isolation issue when reading a property (#​3078 by [Aurimas][liutikas])

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

2024-10-09

Common
  • Fix Gradle project isolation issue when reading a property (#​3078 by [Aurimas][liutikas])

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.

v4.8.0

Compare Source

2023-07-21

  • Fix: JSON to Kotlin deserialization is now really bullet-proofed against
    Class.getDeclaredFields random ordering.
  • Fix: proto3 types (Duration, Struct, etc) are now supported when doing dynamic serialization.
  • Fix: GrpcStatus is now serializable which enables GrpcException serialization.
  • New: GrpcClient is now abstract. You can customize how network calls are implemented.
  • New: You can now pass an [event listener][event_listener] to receive metric events.
  • New: New option for the Wire Gradle plugin. rejectUnusedRootsOrPrunes = true will fail the build if
    any roots or prunes are not used when refactoring the schema. This can help discover incorrect
    configurations early and avoid mis-expectations about the built schema.
  • New: OneOf's options are now loaded to the schema.
  • New: Wire will now fail if it detects a type name collision which can happen if a same file is loaded from different paths.
  • New: wire-schema-tests is now multiplatform.
  • New: SchemaHandler.Factory can now receive payload set within the Wire Gradle plugin. Implement
    the method fun create(includes, excludes, exclusive, outDirectory. options): SchemaHandler to receive it.
  • New: custom targets can now pass custom payloads to their SchemaHandler.Factory. The custom {}
    takes a map<string, string> to its new field options.
  • Swift: Default values are now generated via a Defaulted property wrapper.
  • Swift: Fully-qualify Foundation.Data to prevent name collisions with messages named Data.
  • Move: Some types have been moved from wire-compiler to wire-run: WireRun, Target, DirectedAcyclicGraph, PartitionedSchema.
  • Dependency: KotlinPoet has been bumped to 1.14.2.

v4.7.2

Compare Source

2023-06-18

  • Swift: Resolve Redactable regression.

v4.7.1

Compare Source

2023-06-16

  • Swift: Heap types should use DynamicMemberLookup for storage.
  • Fix: Don't drop the wire_package in a protoPath.
  • Fix: Normalize conflict strategy for boxed oneof field names.
  • Fix: Support all the scalar types in SchemaEncoder.

v4.7.0

Compare Source

2023-05-24

  • New: Add a dry run option. If enabled, the compiler will just emit the names of the source files that would be
    otherwise * generated to stdout. You can use the flag --dry_run with the Wire compiler or define the option with
    Gradle as the following:

    wire {
      dryRun = true
    }
  • Fix: Correctly set task dependencies on processResources if protoLibrary is set to true.

  • Fix: If a valid grpc-status header is present, raise a GrpcException rather than an IOException.

v4.6.2

Compare Source

2023-05-11

  • Fix: Explicitly adds jvm variants of multiplatform artifacts into the BOM.
  • Fix: Produce Descriptors for messages without fields after pruning.

v4.6.1

Compare Source

2023-05-10

  • Fix: Handle length-prefixed messages of length 0.
  • Swift: Bump to 1.5.

v4.6.0

Compare Source

2023-05-01

  • Fix: the version 4.5.6 had a breaking change which has been reverted in 4.6.0 without losing
    any functionality.
  • Update descriptor.proto from the 7dbe742 version of protocolbuffers/protobuf.

v4.5.6

Compare Source

2023-04-25

  • Fix: JSON serialization is now bullet-proofed against Class.getDeclaredFields random ordering.
  • Perf: Add option wire.use_array to use primitive arrays for packed scalars. This should improve
    performances as it avoids autoboxing on the JVM. It will use the appropriate array type, for
    example repeated float would be represented as a FloatArray.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 7c10b12 to a6c7a66 Compare June 17, 2023 02:53
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.7.0 Update dependency com.squareup.wire:wire-bom to v4.7.1 Jun 17, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from a6c7a66 to bb5d5f2 Compare June 18, 2023 17:11
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.7.1 Update dependency com.squareup.wire:wire-bom to v4.7.2 Jun 18, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from bb5d5f2 to 65d50f7 Compare July 22, 2023 06:54
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.7.2 Update dependency com.squareup.wire:wire-bom to v4.8.0 Jul 22, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 65d50f7 to c71940b Compare August 19, 2023 08:27
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.8.0 Update dependency com.squareup.wire:wire-bom to v4.8.1 Aug 19, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from c71940b to fc460d2 Compare September 21, 2023 05:30
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.8.1 Update dependency com.squareup.wire:wire-bom to v4.9.0 Sep 21, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from fc460d2 to a14fd8e Compare September 26, 2023 11:48
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.0 Update dependency com.squareup.wire:wire-bom to v4.9.1 Sep 26, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from a14fd8e to 583d994 Compare November 14, 2023 23:29
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.1 Update dependency com.squareup.wire:wire-bom to v4.9.2 Nov 14, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 583d994 to 5dd475e Compare November 24, 2023 05:15
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.2 Update dependency com.squareup.wire:wire-bom to v4.9.3 Nov 24, 2023
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 5dd475e to 568ee12 Compare January 30, 2024 23:52
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.3 Update dependency com.squareup.wire:wire-bom to v4.9.5 Jan 30, 2024
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 568ee12 to 47fe157 Compare February 3, 2024 00:14
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.5 Update dependency com.squareup.wire:wire-bom to v4.9.6 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 47fe157 to 2237bb9 Compare February 13, 2024 02:55
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.6 Update dependency com.squareup.wire:wire-bom to v4.9.7 Feb 13, 2024
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from 2237bb9 to a8ef8ca Compare March 19, 2024 05:44
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.7 Update dependency com.squareup.wire:wire-bom to v4.9.8 Mar 19, 2024
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from a8ef8ca to f7df852 Compare April 3, 2024 05:44
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.8 Update dependency com.squareup.wire:wire-bom to v4.9.9 Apr 3, 2024
@renovate renovate bot force-pushed the renovate/dependencies.wirebom branch from f7df852 to f81522b Compare October 10, 2024 11:58
@renovate renovate bot changed the title Update dependency com.squareup.wire:wire-bom to v4.9.9 Update dependency com.squareup.wire:wire-bom to v4.9.11 Oct 10, 2024
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