Releases: microsoft/thrifty
Releases · microsoft/thrifty
Release list
3.1.0
3.1.0 (released 13 December 2022)
- Add: Support default field values in struct-typed constants (#507)
- Add: Implement Java codegen for struct-typed constants (#503)
- Add: Sort constants in Schema by "dependency order" (#502)
- Add: Added
Constant#referencedConstantslist (#499) - Add: new Gradle plugin support for TypeProcessors (#494)
- Change: Bump Okio to 3.2.0 (#510)
- Change: Bump Kotlin to 1.7.20 (#495)
- Fix: avoid afterEvaluate in thrifty-gradle-plugin (#492)
3.1.0-RC02 (released 7 June 2022)
- Add preliminary support for TypeProcessor plugins to thrifty-gradle-plugin (#490)
- Add "generated" comments to Kotlin files (thanks @shashachu) (#486)
- Add Kotlin codegen for struct-value constants (#482)
- Maybe break? Removed deprecated
@JvmDefaultannotations from thrifty-runtime (#481)
3.1.0-RC01 (released 13 April 2022)
- Add struct-valued constant validator to thirfty-schema (thanks @janarajan) (#467)
- Add server support (thanks @luqasn) (#447)
- Bump Kotlin to 1.6.20
3.1.0-RC02
3.1.0-RC02 (released 7 June 2022)
- Add preliminary support for TypeProcessor plugins to thrifty-gradle-plugin (#490)
- Add "generated" comments to Kotlin files (thanks @shashachu) (#486)
- Add Kotlin codegen for struct-value constants (#482)
- Maybe break? Removed deprecated
@JvmDefaultannotations from thrifty-runtime (#481)
3.1.0-RC01 (released 13 April 2022)
- Add struct-valued constant validator to thirfty-schema (thanks @janarajan) (#467)
- Add server support (thanks @luqasn) (#447)
- Bump Kotlin to 1.6.20
Thrifty 3.0.0
The major update in this release is the transition of Thrifty from a Java project to a Kotlin Multiplatform project. Among other changes, one thing to note is that the runtime artifact thrifty-runtime now refers to an MPP artifact. The correct artifact to reference in your existing Android or Java projects is thrifty-runtime-jvm.
- BREAK: All support for
@Generatedannotations has been removed (#402) - BREAK: thrifty-runtime ported to Kotlin Multiplatform (#401)
- BREAK: thrifty-runtime-ktx is gone, and has been merged into thrifty-runtime (#397)
- BREAK: thrifty-runtime ported to Kotlin (#391)
- BREAK: Minimum supported JDK is now version 8 (#391)
- BREAK: Fields whose names are "soft" or "modifier" Kotlin keywords now have an underscore suffix (thanks @luqasn) (#446)
- Add Okio-based convenience APIs to thrifty-runtime (#408)
- Add big-enum mode to enable enums with large numbers of members (Thanks @shashachu) (#421)
- Change: Kotlin structs are builderless by default (#414)
- Change: Gradle plugin defaults to Kotlin (#442)
- Change: thrifty-compiler defaults to generating Kotlin (#451)
- Fix: Empty structs use literal class name for hashCode (#415)
- Fix:
Locationin thrifty-schema should always be an include root (#416) - Fix: Make
@JvmStaticannotations opt-in (#417) - Fix: Including sibling .thrift files now works (#434)
- Fix: Unions with fields named
error(thanks @luqasn) (#444)
3.0.0-RC01
2.1.2
2.1.1 (released 13 July 2020)
------------------ - #369: Gradle plugin: Rename includeDir to includePath, customize outputDirectory - #368: Fix infinite loop in FramedTransport#read on EOF (thanks @denisov-mikhail) - #367: Gradle plugin: Add API to configure which specific thrift files are compiled
2.1.0
2.0.1
2.0.0
Release version 1.0.0
...finally!
Not much has changed since RC2; a few "quality-of-life" improvements contributed by @jparise, and a new compiler option to specify the type of @Generated annotation added to generated types (the usual javax.annotation.Generated type no longer exists in JDK 9+).