From 056207a16acfe58794978105cc087df772e737be Mon Sep 17 00:00:00 2001 From: ronjunevaldoz Date: Sun, 5 Jan 2025 00:01:27 +0800 Subject: [PATCH] Upgrade koin and kotlin version --- CHANGELOG.md | 5 +++++ .../src/main/kotlin/root.publication.gradle.kts | 4 ++-- gradle/libs.versions.toml | 4 ++-- samples/demo/src/commonMain/kotlin/App.kt | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edfe57a..4ecf156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.0.2-dev07] + +### Changes +- Update to ktor 3.0.1 and kotlin 2.1.0 + ## [v1.0.2-dev06] ### Fixes diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index 15ee91e..41ab50c 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -7,14 +7,14 @@ plugins { allprojects { group = "io.github.ronjunevaldoz" - version = "1.0.2-dev06" + version = "1.0.2-dev07" } mavenPublishing { coordinates( groupId = "io.github.ronjunevaldoz", artifactId = "paymongo-kotlin", - version = "1.0.2-dev06" + version = "1.0.2-dev07" ) pom { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e2392ad..bb40472 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,12 +6,12 @@ android-compileSdk = "34" android-minSdk = "24" android-targetSdk = "34" # Kotlin and related libraries -kotlin = "2.0.20" +kotlin = "2.1.0" kotlinxSerialization = "1.7.2" kotlinxCoroutine = "1.9.0-RC" compose-plugin = "1.7.0-alpha03" # Ktor libraries -ktor = "3.0.0-rc-1" +ktor = "3.0.1" # Logging library logback = "1.5.6" # Stately concurrent collections for WASM and JS diff --git a/samples/demo/src/commonMain/kotlin/App.kt b/samples/demo/src/commonMain/kotlin/App.kt index c5fdef7..354a0cd 100644 --- a/samples/demo/src/commonMain/kotlin/App.kt +++ b/samples/demo/src/commonMain/kotlin/App.kt @@ -73,7 +73,7 @@ fun App() { client.getLink("link_WrnsXCjNtdv8wfRDwcs6APjy") }.fold( onSuccess = { - link = it + link = it.data }, onFailure = { it.printStackTrace() @@ -89,7 +89,7 @@ fun App() { client.getLink("NJUgWgz") }.fold( onSuccess = { - link = it + link = it.data }, onFailure = { it.printStackTrace()