Skip to content

Commit 4911838

Browse files
authored
Release 2.4.0
1 parent b171f49 commit 4911838

File tree

9 files changed

+21
-19
lines changed

9 files changed

+21
-19
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- uses: gradle/actions/setup-gradle@v4
5252
- name: API check
5353
run: ./gradlew apiCheck
54+
- name: 'Notify on failure'
55+
if: failure()
56+
run: echo "Format check failed. Run ./gradlew apiDump to fix."
5457
build:
5558
runs-on: macos-latest
5659
steps:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Introduction
1313

14-
Ktorfit is a HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform ( Android, iOS, Js, Jvm, Linux)
14+
Ktorfit is an HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform ( Android, iOS, Js, Jvm, Linux)
1515
using [KSP](https://github.com/google/ksp) and [Ktor clients](https://ktor.io/docs/getting-started-ktor-client.html)
1616
inspired by [Retrofit](https://square.github.io/retrofit/)
1717

RELEASING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Releasing
1010
5. Update ktorfit release version in mkdocs.yml
1111
6. Update version in KtorfitGradleConfiguration
1212
7. Set the release date in docs/changelog.md
13-
8. `git commit -am "Release X.Y.Z."` (where X.Y.Z is the new version)
13+
8. `git commit -am "X.Y.Z."` (where X.Y.Z is the new version)
1414
9. Push and create a PR to the `master` branch
1515
10. When all checks successful, run GitHub Action `Publish Release` from your branch
1616
11. Set the Git tag `git tag -a X.Y.Z -m "X.Y.Z"` (where X.Y.Z is the new version)

docs/CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ and this project orients towards [Semantic Versioning](http://semver.org/spec/v2
77
Note: This project needs KSP to work and every new Ktorfit with an update of the KSP version is technically a breaking change.
88
But there is no intent to bump the Ktorfit major version for every KSP update.
99

10-
# Unreleased
10+
# [2.4.0]()
1111

12-
Unreleased
12+
2.4.0 - 2025-02-23
1313
========================================
14-
* Supported KSP version: 1.0.28
15-
* Supported Kotlin version: 2.1.10
14+
* Supported KSP version: >=1.0.28
15+
* Supported Kotlin version: >=2.1.10
1616
* Ktor version: 3.1.0
1717

1818
## Added

docs/index.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@
99

1010
# Introduction
1111

12-
Ktorfit is a HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform (Js, Jvm, Android, iOS, Linux)
12+
Ktorfit is an HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform (Js, Jvm, Android, iOS, Linux)
1313
using [KSP](https://github.com/google/ksp) and [Ktor clients](https://ktor.io/docs/getting-started-ktor-client.html)
1414
inspired by [Retrofit](https://square.github.io/retrofit/)
1515

1616
## Compatibility
1717

1818
| Ktorfit-version |
1919
|-------------------------------------------------------------------------------|
20+
| **_2.4.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#240 |
21+
| **_2.3.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#230 |
2022
| **_2.2.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#220 |
21-
| **_2.1.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#210 |
22-
| **_2.0.1_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#201 |
23-
| **_2.0.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#200 |
2423

2524
# Installation
2625

example/AndroidOnlyExample/app/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id("org.jetbrains.kotlin.android")
44
id("com.google.devtools.ksp") version "2.1.10-1.0.30"
55
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
6-
id("de.jensklingenberg.ktorfit") version "2.3.0"
6+
id("de.jensklingenberg.ktorfit") version "2.4.0"
77
id("org.jetbrains.kotlin.plugin.compose") version "2.1.10"
88
}
99

@@ -52,7 +52,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
5252
}
5353
}
5454

55-
val ktorfit = "2.3.0"
55+
val ktorfit = "2.4.0"
5656
val ktor = "3.1.0"
5757
val compose_ui_version = "1.7.8"
5858
dependencies {

example/MultiplatformExample/shared/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id("com.android.library")
77
id("com.google.devtools.ksp") version "2.1.10-1.0.30"
88
id("kotlinx-serialization")
9-
id("de.jensklingenberg.ktorfit") version "2.3.0"
9+
id("de.jensklingenberg.ktorfit") version "2.4.0"
1010
}
1111

1212
ktorfit {
@@ -15,7 +15,7 @@ ktorfit {
1515

1616
version = "1.0"
1717
val ktorVersion = "3.1.0"
18-
val ktorfitVersion = "2.3.0"
18+
val ktorfitVersion = "2.4.0"
1919

2020
kotlin {
2121
jvmToolchain(8)

gradle/libs.versions.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ kotlinPoet = "2.0.0"
1111
kspVersion = "2.1.10-1.0.29"
1212

1313
groupId = "de.jensklingenberg.ktorfit"
14-
ktorfit = "2.3.0"
14+
ktorfit = "2.4.0"
1515
ktorfitKsp = "2.4.0"
1616
ktorfitCompiler = "2.2.0" #Don't confuse this with the Kotlin version
17-
ktorfitCallConverter = "2.3.0"
18-
ktorfitFlowConverter = "2.3.0"
19-
ktorfitResponseConverter = "2.3.0"
17+
ktorfitCallConverter = "2.4.0"
18+
ktorfitFlowConverter = "2.4.0"
19+
ktorfitResponseConverter = "2.4.0"
2020
ktorfitGradle = "2.4.0"
2121

2222
ktorfitGradlePlugin = "2.2.0"

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extra:
1313
site:
1414
images: '../../images'
1515
ktorfit:
16-
release: "2.3.0"
16+
release: "2.4.0"
1717
ktor:
1818
release: "3.1.0"
1919
social:

0 commit comments

Comments
 (0)