wire v3.0.0-alpha02 Release Notes

Release Date: 2019-06-22 // almost 5 years ago
  • 2019-06-21

    • New: Experimental multiplatform runtime.

    Starting with this version, wire-runtime is published as a multiplatform Kotlin artifact. While the JVM artifact is binary- and behavior-compatible with 3.0.0-alpha01, artifacts for other platforms may not work correctly at this point. The artifact name for the JVM artifact has been changed to wire-runtime-jvm: now, in order to depend on the multiplatform runtime, use the following Gradle dependency declaration:

       api "com.squareup.wire:wire-runtime:3.0.0-alpha02"
    

    and if you want to depend on the JVM artifact only, use the following declaration:

       api "com.squareup.wire:wire-runtime-jvm:3.0.0-alpha02"
    
    • New: Generate RPCs as Single Abstract Methods.
    • New: Add "singleMethod" Gradle plugin configuration for services.
    • New: Add "blockingServices" Gradle plugin configuration for services.
    • New: Support packageless services code generation.
    • New: Remove sealed classes-based oneof implementation.
    • New: Don't generate a Builder for non-interop Kotlin messages.
    • Fix: Kotlin Generator correctly generates code for Protobuf services.
    • Fix: Improved formatting of generated Kotlin code.
    • Fix: Generate correct adapter names for WireField annotation.
    • Fix: Generate labels for WireField annotation.
    • Fix: Wrap oneof error message properly.