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-runtime from v3.7.1 to v4 #366
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/major-wire.version
base: develop
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
September 29, 2022 15:35
69a2b37
to
9a2788e
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
October 6, 2022 22:34
9a2788e
to
1e27337
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
October 26, 2022 17:13
1e27337
to
9e89620
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
November 8, 2022 20:41
9e89620
to
a6ca0dc
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
November 28, 2022 14:45
a6ca0dc
to
82e6d9b
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
15 times, most recently
from
January 16, 2023 05:07
7cac719
to
aac3b39
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
2 times, most recently
from
February 3, 2023 00:20
c8565e0
to
93f5ba3
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
February 11, 2023 12:21
93f5ba3
to
8b0f49d
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
March 7, 2023 05:37
8b0f49d
to
2f1d0c9
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
3 times, most recently
from
March 30, 2023 12:17
c3f435c
to
4f82fae
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
March 31, 2023 18:19
4f82fae
to
1c9262d
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
April 12, 2023 18:18
1c9262d
to
89e4f11
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
April 25, 2023 13:43
89e4f11
to
c6ede96
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
2 times, most recently
from
May 1, 2023 09:18
3e7aacd
to
315c85e
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
2 times, most recently
from
May 11, 2023 20:21
c205646
to
5cd7b2f
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
May 25, 2023 04:10
5cd7b2f
to
15e2e65
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
June 7, 2023 23:08
15e2e65
to
4dda278
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
2 times, most recently
from
June 18, 2023 19:27
088b8ec
to
54d5bdc
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
July 4, 2023 09:28
54d5bdc
to
89b288d
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
July 21, 2023 22:29
89b288d
to
11e6e8b
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
August 18, 2023 17:20
11e6e8b
to
6523a84
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
2 times, most recently
from
September 26, 2023 10:44
488f762
to
c945f1f
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
November 13, 2023 14:24
c945f1f
to
62bd4fa
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
November 23, 2023 19:48
62bd4fa
to
28966cb
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
3 times, most recently
from
February 2, 2024 13:30
a29fdfe
to
5911f24
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
February 13, 2024 00:15
5911f24
to
9423c06
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
March 18, 2024 13:08
9423c06
to
fb95159
Compare
renovate
bot
force-pushed
the
renovate/major-wire.version
branch
from
April 2, 2024 14:14
fb95159
to
165f363
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.7.1
->4.9.9
Release Notes
square/wire (com.squareup.wire:wire-runtime)
v4.9.9
Compare Source
2024-04-02
Common
v4.9.8
Compare Source
2024-03-18
Common
v4.9.7
Compare Source
2024-02-12
Common
v4.9.6
Compare Source
2024-02-02
Common
Kotlin
v4.9.5
Compare Source
2024-01-27
Common
v4.9.4
Compare Source
2024-01-26
Common
linuxArm64
target to wire-runtime module (#2733 by [Shay Oinif][ShayOinif])ProtoReader
API for length-delimited stream reads (#2747 by [Jake Wharton][JakeWharton])ProtoReader#nextLengthDelimited
to read and return the length of the next message in a length-delimited stream.ConsoleWireLogger
does not print anything if in quiet mode (#2754 by [Dimitris Koutsogiorgas][dnkoutso])EmptyWireLoggerFactory
class (#2776 by [Dimitris Koutsogiorgas][dnkoutso])Kotlin
SERVICE_NAME
as const (#2773 by [Marius Volkhart][MariusVolkhart])%N
inKotlinGenerator
to ensure names are escaped (#2784 by [Egor Andreevich][Egorand])escapeKotlinKeywords
parameter to Kotlin target (#2785 by [Egor Andreevich][Egorand])escapeKotlinKeywords = true
within ourkotlin {}
targets to escape Kotlin keywords with backticks rather than having them suffixed with an_
.PipeDuplexRequestBody
(#2791)Swift
unknownFields
type to[UInt32: Data]
from justData
. (#2789 by [Dimitris Koutsogiorgas][dnkoutso])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 migrationSchemaHandler.Factory#create(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, options: Map<String, String>)
.wire-grpc-server
will be extracted into its own repository: https://github.com/square/wire-grpc-server/v4.9.3
Compare Source
2023-11-23
Int32
s was broken in Swift and did not match protobuf spec.Negative
Int32
s are now correctly encoded as unsignedInt64
s. Prior versions of Wire that haveserialized a proto containing negative
Int32
fields will not be correctly decoded using thisversion onwards.
ProtoDefaulted
was incorrectly applied in cross-module contextsv4.9.2
Compare Source
2023-11-13
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 donot use. Note that scalar types cannot be opaqued.
oneOf
options.Defaulted
has been renamedCustomDefaulted
ProtoDefaulted
property wrapper andProtoDefaultedValue
protocolProtoDefaulted
andCustomDefaulted
include setter supportFoo().$bar.$baz += 1
ProtoEnum
types now have a raw value ofInt32
.v4.9.1
Compare Source
2023-09-26
v4.9.0
Compare Source
2023-09-20
use_array
has been changed fromstring
tobool
, and its tag has changed from 1180 to 1185.my.namespace.Type#another.namespace.*
. This is handy if one wants to prune extension fields.project(..)
dependencies are now explicitly limited to the JVM, for otherwise Wire isn't able to pick the correct platform to resolve them.google/protobuf/descriptor.proto
orwire/extensions.proto
will not be emitted anymore whenprotoLibrary = true
.wire-schema
, andwire-schema-tests
are now available on JavaScript and native platforms.3.5.0
. Alljava.nio
file systems should now be supported when using Wire.1.9.10
, Gradle to8.x
, and many others to most recent versions.v4.8.1
Compare Source
2023-08-17
init(REQUIRED FIELDS, (inout Storage) -> Void)
WIRE_INCLUDE_MEMBERWISE_INITIALIZER
; however, it will be removed in November 2024. See https://github.com/square/wire/pull/2561 for details.proto
are correctly added to the built artifact.v4.8.0
Compare Source
2023-07-21
Class.getDeclaredFields
random ordering.Duration
,Struct
, etc) are now supported when doing dynamic serialization.GrpcStatus
is now serializable which enablesGrpcException
serialization.GrpcClient
is now abstract. You can customize how network calls are implemented.rejectUnusedRootsOrPrunes = true
will fail the build ifany 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.
OneOf
's options are now loaded to the schema.wire-schema-tests
is now multiplatform.SchemaHandler.Factory
can now receive payload set within the Wire Gradle plugin. Implementthe method
fun create(includes, excludes, exclusive, outDirectory. options): SchemaHandler
to receive it.SchemaHandler.Factory
. Thecustom {}
takes a map<string, string> to its new field
options
.Defaulted
property wrapper.Foundation.Data
to prevent name collisions with messages namedData
.wire-compiler
towire-run
:WireRun
,Target
,DirectedAcyclicGraph
,PartitionedSchema
.1.14.2
.v4.7.2
Compare Source
2023-06-18
v4.7.1
Compare Source
2023-06-16
DynamicMemberLookup
for storage.protoPath
.oneof
field names.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 withGradle as the following:
Fix: Correctly set task dependencies on
processResources
ifprotoLibrary
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
jvm
variants of multiplatform artifacts into the BOM.v4.6.1
Compare Source
2023-05-10
1.5
.v4.6.0
Compare Source
2023-05-01
4.5.6
had a breaking change which has been reverted in4.6.0
without losingany functionality.
descriptor.proto
from the7dbe742
version ofprotocolbuffers/protobuf
.v4.5.6
Compare Source
2023-04-25
Class.getDeclaredFields
random ordering.wire.use_array
to use primitive arrays for packed scalars. This should improveperformances as it avoids autoboxing on the JVM. It will use the appropriate array type, for
example
repeated float
would be represented as aFloatArray
.v4.5.5
Compare Source
2023-04-12
v4.5.4
Compare Source
2023-03-31
1.8.20
.v4.5.3
Compare Source
2023-03-23
mingwX64
target.1.8.20RC
.v4.5.2
Compare Source
2023-03-06
rawType
's classloader when accessingProtoAdapter
s.grpc-status-details-bin
and add it toGrpcException
.v4.5.1
Compare Source
2023-02-11
v4.5.0
Compare Source
2023-02-02
tvOS
.Swift
Sendable
conformance to all generated types.Struct
,Any
,Duration
, andTimestamp
.@JsonString
has been deprecated and will be removed in a future release.unknownFields
should never be encoded any more.v4.4.3
Compare Source
2022-10-26
1.7.20
.v4.4.2
Compare Source
2022-10-06
buildersOnly
will take precedence overjavaInterop
when generating Kotlin.v4.4.1
Compare Source
2022-08-05
GrpcClient
.visibility of generate types' constructor to non-public.
okio
inwire-schema
.1.7.20
around source sets.1.12.0
.v4.4.0
Compare Source
2022-06-07
schema the way you want. Check [our documentation][custom-handlers-doc] for details. You can
also check our [recipe directory][custom-handlers-recipes] for examples.
Note that this API obsoletes the
CustomHandlerBeta
type Wire had until now.SchemaBuilder
class.This lives in the new
wire-schema-tests
artifact. For usage examples, check the tests in[custom handler recipes][custom-handlers-recipes].
wire-profiles
artifact has been removed and is now inlined inwire-schema
.CoreLoader
'sisWireRuntimeProto
methods are now static.SchemaLoader
and related classes have been moved fromwire-compiler
towire-schema
.oneof
options.v4.3.0
Compare Source
2022-03-24
max
keyword is now correctly parsed for enum types.CoreLoader
correctly loads.proto
files present in the resources of the project.GrpcExceptions
inGrpcCalls
.GrpcCall.isCanceled
to honor OkHttp cancellations.v4.2.0
Compare Source
2022-02-17
New: Publish a [bill of materials (BOM)][bom] for Wire. Depend on this from Gradle or Maven to
keep all of your Wire artifacts on the same version, even if they're declared via transitive
dependencies. You can even omit versions when declaring other Wire dependencies.
v4.1.1
Compare Source
2022-02-15
ConsoleWireLogger
.1.3.1
.repeated
options.v4.1.0
Compare Source
2022-01-28
values when writing JSON. Set
writeIdentityValues
to true for eitherWireJsonAdapterFactory
or
WireTypeAdapterFactory
to enable it.precise callbacks. We might add new methods in the future for better logging still.
dry-run
option onWireCompiler
has been removed.on
pod install
.v4.0.1
Compare Source
2021-12-07
oneof
for Swift generation.v4.0.0
Compare Source
2021-12-03
oneofName
in@WireField
..proto
file atProtoAdaper.sourceFile
. This is null for built-in typesand types generated prior to this release.
.proto
files. In previous releases, generated members were sorted by kind (fields, oneofs), then by
declaration order. With this update only declaration order is used. Note that this will change
the encoded-bytes of these messages. This change is both forwards and backwards-compatible.
Identical encoding of equal messages across Wire releases is typical but not guaranteed, and this
is a rare release that changes that encoding. If you do cryptographic hashes on encoded proto
messages, you will notice that the hashes are different in this release.
SchemaLoader
to exhaustively load imported files. By default we only load what'simmediately necessary to generate code; this new option loads everything reachable into the
schema.
Pruner
in wire-schema.Closeable
interface anymore.rpcRole = 'none'
in the Gradle plugin to generate neither client nor server code.Timestamp
andDuration
.default; it will now throw if there are no [output][wire-customizing-output] defined.
emitAppliedOptions
for our Java and Kotlin target is now set to true.@WireRpc
has a newsourceFile
attribute.GrpcClient.Builder.minMessageToCompress()
configures which messages are compressed. Thiswill completely disable compression if the size is
Long.MAX_VALUE
. We've seen problems wheresome Golang gRPC servers don't support compression; setting this to
MAX_VALUE
is necessary tointerop with them.
SchemaReflector
is our initial implementation of the[gRPC Server Reflection Protocol][reflect]. Note that although we implement the business logic of
gRPC reflection, we don't offer a gRPC server built into Wire.
wire-reflector
bundles gRPC'sreflection.proto
which it is built upon.wire-runtime
exposes acom.squareup.wire.VERSION
constant reflecting the project version.instead of with a class name.
SchemaLoader.loadExhaustively
.GrpcCall.clone()
.project-relative paths in any attribute that is used as a cache key.
kotlin-reflect, which we neither needed nor wanted.
name
orordinal
.@Deprecated
annotations on deprecated messages, fields, enums, and enumconstants.
0
and1
when decoding protobuf-encoded booleans. Previously wethrew an
IOException
for other values; now all non-zero values are true.OneOf
fields..proto
files.SchemaReflector
. We had problems withgrpc-curl
which expects the requested file to be listed first.CustomHandlerBeta
.fromValue
method in Kotlin.ProtoReader.beginMessage()
rather than callingfatalError()
.prevents the need to do a clean build after removing a message type.
.java
sources with the Java compiler.Previously this was broken if the Kotlin plugin was installed.
Those are usually the google types for which Wire will provide its own implementation.
1.8.0
.FileSystem
inSchemaLoader
, whichmakes it easier to load
.proto
files from the classpath. This is binary-incompatible with theOkio 3.0 alpha releases.
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.
This PR has been generated by Mend Renovate. View repository job log here.