Releases: Foso/Ktorfit
Releases · Foso/Ktorfit
1.11.0
1.10.2
1.10.1
1.10.0
1.9.1
1.9.1 - 2023-10-22
Compatible with KSP 1.0.13 and Kotlin 1.9.10/1.9.20-RC
When you are still using the Ktorfit Gradle plugin in version 1.0.0, please also update that to 1.9.1
Added
- Add Tag annotation https://foso.github.io/Ktorfit/requests/#tag
Changed
- The generated code will not produce warnings anymore
1.8.1
1.8.1 - 2023-10-09
Compatible with KSP 1.0.13 and Kotlin 1.9.10/1.9.20-Beta2
Changed
- Allow nullable body type #424
- Use @ Path parameter name as default value #426
- Use @ Query parameter name as default value #428
- Use @ Field parameter name as default value #430
- You can now also get exceptions like NetworkException with SuspendResponseConverter.#389
Deprecated
- Deprecated the
convert
function in theSuspendResponseConverter
interface
See: https://foso.github.io/Ktorfit/migration/#from-170-to-181
! When you still use the deprecated converters because there are use cases which you can't do with the converter factories, please write a GitHub Issue.
The deprecated converters will be removed in one of the upcoming versions
1.7.0
1.7.0 - 2023-09-16
Gradle plugin
From now on with every Ktorfit release there will also be a Gradle plugin with the same version.
That means that drop you can drop the Gradle extension block where you previously set the version number and just bump the number of the Gradle plugin. https://foso.github.io/Ktorfit/installation/
plugins {
id("de.jensklingenberg.ktorfit") version "1.7.0"
}
Added
- Added a compiler type checks if the type used for the create function is an interface
Changed
- Upgrade dependencies: Ktor 2.3.4