- Supported KSP version: 1.0.30
- Supported Kotlin version: 2.1.10
- Ktor version: 3.1.0
Added
- Provide option to not use the compiler plugin #764
You can now set the Kotlin version for the compiler plugin.
By default, it will use the Kotlin version of the project. You can set it to "-" to disable the plugin.
ktorfit{
kotlinVersion = "-"
// or
kotlinVersion = "x.x.x"
}
-
Added targets:
androidNativeArm32
androidNativeArm64
androidNativeX86
androidNativeX64 -
Include function annotations in request attribute
See https://foso.github.io/Ktorfit/requests/#annotations
Fixed
- @headers annotation produces unexpected newline in generated code by ksp plugin #752
- Generated code containing repeated @opt annotation #767
Thanks to @DatL4g, @dewantawsif and @MohammadFakhraee for contributing to this release!