Wire v3.5.0 Release Notes
Release Date: 2020-10-27 // over 3 years ago-
2020-10-27
- New: Wire Gradle plugin improvements:
- A task is now created for each available sources (main, Android variants, etc).
- The
wire-runtime
dependency is automatically added. - Generated code directories are automatically added into their module's source sets.
- New: Wire's proto parser now knows about
oneOfOptions
. - New: Wire will throw when two enum constants are ambiguous, like
ZERO
andzero
. - New: Bytes options are not eligible anymore as annotation members.
- Fix: Optional fields in proto3 are now generated as nullable fields.
- Fix: JSON camel-casing is updated to fit latest protobuf specifications.
- Fix: Exception messages when gRPC fails have been improved.
- Fix: Allow
;
as entry separator in option maps. - Fix: Enum constants are now properly escaped when conflicting with keywords of their generated target platform.
- Fix: Update to KotlinPoet 1.7.2 which makes a lot of change in how Kotlin code is generated.
- New: Wire Gradle plugin improvements: