From b915f6ece20e4bdaba46861cbe0c16dd452cabdf Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Dec 2024 10:12:39 +0600 Subject: [PATCH 1/4] start 0.23.2 --- CHANGELOG.md | 2 ++ gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20c32f9194d..fd26cf597d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.23.2 + ## 0.23.1 * `Versions`: diff --git a/gradle.properties b/gradle.properties index 23056a9a04b..61af5fa3836 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.23.1 -android_code_version=277 +version=0.23.2 +android_code_version=278 From 18c608f569ad60f3b69ce24ee6a6e1d8e8e48aba Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Dec 2024 10:16:19 +0600 Subject: [PATCH 2/4] small improvement in AccumulatorFlow --- CHANGELOG.md | 3 +++ .../kotlin/dev/inmo/micro_utils/coroutines/AccumulatorFlow.kt | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd26cf597d0..915ebe28ae6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 0.23.2 +* `Coroutines`: + * Small refactor in `AccumulatorFlow` to use `runCatching` instead of `runCatchingSafely` + ## 0.23.1 * `Versions`: diff --git a/coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/AccumulatorFlow.kt b/coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/AccumulatorFlow.kt index 8485228026c..eb299f8ca47 100644 --- a/coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/AccumulatorFlow.kt +++ b/coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/AccumulatorFlow.kt @@ -68,9 +68,9 @@ class AccumulatorFlow( override suspend fun collectSafely(collector: FlowCollector) { val channel = Channel(Channel.UNLIMITED, BufferOverflow.SUSPEND) steps.send(SubscribeAccumulatorFlowStep(channel)) - val result = runCatchingSafely { + val result = runCatching { for (data in channel) { - val emitResult = runCatchingSafely { + val emitResult = runCatching { collector.emit(data) } if (emitResult.isSuccess || emitResult.exceptionOrNull() is CancellationException) { From 921734763db23e194f33bd78ecd5d205ce8794df Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 4 Dec 2024 10:19:41 +0600 Subject: [PATCH 3/4] update workflows --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1c2bc167f1..9994d3f5125 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,4 +21,5 @@ jobs: continue-on-error: true run: ./gradlew publishAllPublicationsToInmoNexusRepository env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + INMONEXUS_USER: ${{ secrets.INMONEXUS_USER }} + INMONEXUS_PASSWORD: ${{ secrets.INMONEXUS_PASSWORD }} From ce7a1e4e21b295f1e84cc63417b62af8aac5a3a3 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 6 Dec 2024 13:17:09 +0600 Subject: [PATCH 4/4] update dependencies --- CHANGELOG.md | 5 +++++ gradle/libs.versions.toml | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 915ebe28ae6..80b426c541b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## 0.23.2 +* `Versions`: + * `Kotlin`: `2.0.21` -> `2.1.0` + * `Exposed`: `0.56.0` -> `0.57.0` + * `Xerial SQLite`: `3.47.0.0` -> `3.47.1.0` + * `Ktor`: `3.0.1` -> `3.0.2` * `Coroutines`: * Small refactor in `AccumulatorFlow` to use `runCatching` instead of `runCatchingSafely` diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f22244b2a45..5c0cb6139cb 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,21 +1,21 @@ [versions] -kt = "2.0.21" +kt = "2.1.0" kt-serialization = "1.7.3" kt-coroutines = "1.9.0" kslog = "1.3.6" jb-compose = "1.7.1" -jb-exposed = "0.56.0" +jb-exposed = "0.57.0" jb-dokka = "1.9.20" -sqlite = "3.47.0.0" +sqlite = "3.47.1.0" korlibs = "5.4.0" uuid = "0.8.4" -ktor = "3.0.1" +ktor = "3.0.2" gh-release = "2.5.2" @@ -23,7 +23,7 @@ koin = "4.0.0" okio = "3.9.1" -ksp = "2.0.21-1.0.28" +ksp = "2.1.0-1.0.29" kotlin-poet = "1.18.1" versions = "0.51.0"