Merge pull request #517 from InsanusMokrassar/0.23.2

0.23.2
This commit is contained in:
InsanusMokrassar 2024-12-06 13:47:33 +06:00 committed by GitHub
commit d99538d80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 10 deletions

View File

@ -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 }}

View File

@ -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`:

View File

@ -68,9 +68,9 @@ class AccumulatorFlow<T>(
override suspend fun collectSafely(collector: FlowCollector<T>) {
val channel = Channel<T>(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) {

View File

@ -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

View File

@ -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"