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 acceptingjava.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)