All Versions
72
Latest Version
Avg Release Cycle
76 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v3.3.0-alpha1
August 19, 2020 -
v3.2.2 Changes
May 15, 20202020-05-15
- Fix: JSON serialization correctly emits all values.
-
v3.2.1 Changes
May 03, 20202020-05-02
- New:
onlyVersion
option on the Wire Gradle plugin to target a unique version. By and large, service code that supports many clients would target ranges viasinceVersion
anduntilVersion
, while client code would target a unique version viaonlyVersion
. - New: Support for optional fields in Proto3.
- Fix: Restored the
GrpcClient.create
API to create implementations for gRPC interfaces.
- New:
-
v3.2.0 Changes
April 24, 20202020-04-23
- New:
wire.since
andwire.until
options on members and enum values. You can prune fields or constants using these two options. When generating code with the Wire Gradle plugin, definesinceVersion
and/oruntilVersion
to scope the generated code. - New: Messages'
toString
method on Kotlin and Java now escape string values for easy parsing. - Fix: Link the entire
descriptor.proto
every time when building theSchema
. - Fix: Properly handle members named after keywords of the target language for both Java and Kotlin.
- Fix: Use the declared name for keys in JSON when emitting/reading keyword named members.
- Fix: Generated Kotlin code is malformed for long identifiers.
- Fix: Make the Wire Gradle plugin compatible with instant execution.
- New:
-
v3.1.0 Changes
February 06, 20202019-02-06
🚀 This release includes major non-backwards-compatible API changes to the
wire-schema
module. This will break tools that use Wire's schema modeling as a standalone library. We are making big changes to this component and we sacrificed API compatibility to accelerate these improvements.- New:
proto { ... }
target in the Wire Gradle plugin. Use this to perform basic source code transformations on collections of.proto
files. We use it to prune large collections of protos to just the subset used by the application. - Fix: Support all forms of reserved extensions, such as
extensions 1, 3 to 5, 7;
. - Fix: Don't re-generate source files when their
.proto
files haven't changed. - New:
includes
,excludes
,root
, andprune
give precedence to the most precise rule. Previouslyexcludes
always took precedence overincludes
, andprune
always took precedence overroot
. - Fix: Generate non-instantiable class for enclosing types in Kotlin. These are emitted when a nested type is retained but its enclosing type is pruned.
- Fix: Do not fail to build when the profile cannot find a dependency.
- New:
-
v3.0.3 Changes
December 23, 20192019-12-23
🚚 Starting with this version the Wire Maven plugin is no longer maintained and has been removed from the repository.
- New: Support for custom options in Kotlin.
- New: Kotlin 1.3.61.
- New: Add support for custom targets in
WireRun
and the Gradle plugin. - New: Improve schema evaluation algorithm when loading separate
sourcePath
andprotoPath
. - New: Lazy loading of
protoPath
contents. - New: Make it possible to customize Gradle plugin's configurations.
- New: Make it possible to customize Gradle plugin's
generateProtos
task. - Fix: Use correct
ProtoAdapter
for packed fields in Kotlin. - Fix: Properly handle name clashes between fields and enclosing types.
- Fix: Preserve the package name on files loaded from
protoPath
. - Fix: ProtoPruner: Properly evaluate Pruner's reachable objects.
- Fix: ProtoPruner: Ensure
--excludes
properly prunes options. - Fix: ProtoPruner: Keep used
ServiceOptions
andMethodOptions
when pruning.
-
v3.0.2 Changes
November 22, 20192019-11-22
- Fix: Generate correct unknownFields code if a message field's name is a Kotlin keyword.
- Fix: Properly handle unknown enum values in Kotlin.
- Fix: ProtoPruner: retain used extends.
- Fix: ProtoPruner: retain only used imports.
- Fix: ProtoPruner: use NewSchemaLoader that correctly loads google.protobuf.descriptor.
- Fix: ProtoPruner: print default values for scalar types for proto target within the options.
- Fix: ProtoPruner: fix handling of options.
- Fix: ProtoPruner: print default values for enums.
-
v3.0.1 Changes
October 18, 20192019-10-18
- Fix: Use the correct adapter path for gRPC endpoints that customize the Java package.
- Fix: Preserve documentation in generated services.
- Fix: Fail to generate code if the source directory doesn't exist.
- Fix: Make Kotlin consistent with Java for unknown enum constants. We now treat these as unknown fields rather than failing to decode the enclosing message.
-
v3.0.0 Changes
June 22, 20192019-10-07
- Update: All gRPC networking calls are encoded in gzip.
-
v3.0.0-rc03 Changes
October 06, 20192019-10-04
- Fix: Update dependency to a stable version,
2.4.1
of Okio.
- Fix: Update dependency to a stable version,