Thrifty v1.0.0-RC1 Release Notes

Release Date: 2018-08-15 // over 5 years ago
  • ๐Ÿ›  This release sees most of the compiler rewritten in Kotlin, and the addition of Kotlin codegen. A host of bugfixes and smaller features accompanies.

    โšก๏ธ As the version number implies, this is an API-breaking update. Users of existing generated code shouldn't see any issues, but those building against the compiler's APIs (e.g. thrifty-schema) will find that they are broken.

    BREAK:

    • thrifty-schema extensively reworked into idiomatic Kotlin.
    • ThriftException is now unchecked, and generated Adapters do not declare that they throw it.
    • ๐Ÿšš Deprecated Loader methods accepting java.io.File are removed.

    โž• Add:

    • Kotlin codegen! Including both callback- and coroutine-based RPC clients.
    • ๐Ÿ— Java builders now have nullability annotations
    • Java union fields are now @Nullable

    ๐Ÿ›  Fix:

    • FramedTransport now works properly for reads spanning more than one frame
    • ClientBase now properly reads messageEnd
    • ๐Ÿ›  Validation of double consts is fixed (thanks, @jparise)
    • ๐Ÿ›  Codegen for map-of-enums fields is fixed (thanks, @jparise)
    • ๐Ÿ›  Include-path scanning fixed when no individual .thrift files are given (thanks, @hzsweers)