Skip to content

Commit

Permalink
Release 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Feb 23, 2025
1 parent b171f49 commit 4911838
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
- uses: gradle/actions/setup-gradle@v4
- name: API check
run: ./gradlew apiCheck
- name: 'Notify on failure'
if: failure()
run: echo "Format check failed. Run ./gradlew apiDump to fix."
build:
runs-on: macos-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## Introduction

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

Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Releasing
5. Update ktorfit release version in mkdocs.yml
6. Update version in KtorfitGradleConfiguration
7. Set the release date in docs/changelog.md
8. `git commit -am "Release X.Y.Z."` (where X.Y.Z is the new version)
8. `git commit -am "X.Y.Z."` (where X.Y.Z is the new version)
9. Push and create a PR to the `master` branch
10. When all checks successful, run GitHub Action `Publish Release` from your branch
11. Set the Git tag `git tag -a X.Y.Z -m "X.Y.Z"` (where X.Y.Z is the new version)
Expand Down
8 changes: 4 additions & 4 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ and this project orients towards [Semantic Versioning](http://semver.org/spec/v2
Note: This project needs KSP to work and every new Ktorfit with an update of the KSP version is technically a breaking change.
But there is no intent to bump the Ktorfit major version for every KSP update.

# Unreleased
# [2.4.0]()

Unreleased
2.4.0 - 2025-02-23
========================================
* Supported KSP version: 1.0.28
* Supported Kotlin version: 2.1.10
* Supported KSP version: >=1.0.28
* Supported Kotlin version: >=2.1.10
* Ktor version: 3.1.0

## Added
Expand Down
7 changes: 3 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@

# Introduction

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

## Compatibility

| Ktorfit-version |
|-------------------------------------------------------------------------------|
| **_2.4.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#240 |
| **_2.3.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#230 |
| **_2.2.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#220 |
| **_2.1.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#210 |
| **_2.0.1_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#201 |
| **_2.0.0_** https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md#200 |

# Installation

Expand Down
4 changes: 2 additions & 2 deletions example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "2.1.10-1.0.30"
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
id("de.jensklingenberg.ktorfit") version "2.3.0"
id("de.jensklingenberg.ktorfit") version "2.4.0"
id("org.jetbrains.kotlin.plugin.compose") version "2.1.10"
}

Expand Down Expand Up @@ -52,7 +52,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
}
}

val ktorfit = "2.3.0"
val ktorfit = "2.4.0"
val ktor = "3.1.0"
val compose_ui_version = "1.7.8"
dependencies {
Expand Down
4 changes: 2 additions & 2 deletions example/MultiplatformExample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id("com.android.library")
id("com.google.devtools.ksp") version "2.1.10-1.0.30"
id("kotlinx-serialization")
id("de.jensklingenberg.ktorfit") version "2.3.0"
id("de.jensklingenberg.ktorfit") version "2.4.0"
}

ktorfit {
Expand All @@ -15,7 +15,7 @@ ktorfit {

version = "1.0"
val ktorVersion = "3.1.0"
val ktorfitVersion = "2.3.0"
val ktorfitVersion = "2.4.0"

kotlin {
jvmToolchain(8)
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ kotlinPoet = "2.0.0"
kspVersion = "2.1.10-1.0.29"

groupId = "de.jensklingenberg.ktorfit"
ktorfit = "2.3.0"
ktorfit = "2.4.0"
ktorfitKsp = "2.4.0"
ktorfitCompiler = "2.2.0" #Don't confuse this with the Kotlin version
ktorfitCallConverter = "2.3.0"
ktorfitFlowConverter = "2.3.0"
ktorfitResponseConverter = "2.3.0"
ktorfitCallConverter = "2.4.0"
ktorfitFlowConverter = "2.4.0"
ktorfitResponseConverter = "2.4.0"
ktorfitGradle = "2.4.0"

ktorfitGradlePlugin = "2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extra:
site:
images: '../../images'
ktorfit:
release: "2.3.0"
release: "2.4.0"
ktor:
release: "3.1.0"
social:
Expand Down

0 comments on commit 4911838

Please sign in to comment.