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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 20c32f9194d..80b426c541b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 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` + ## 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) { 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 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"