Thrifty Versions Save

Thrift for Android that saves you methods

1.0.0-RC1

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)

0.4.3

6 years ago

0.4.3 (released 8 January 2018)

  • #156: Add JSON protocol support
  • #153: Fix reading bool value in CompactProtocol
  • #152: Add UUID for distinguishing parsed elements from those modified via newBuilder
  • #147: Enable synchronous service calls