1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-27 02:57:13 +00:00

Merge pull request #902 from InsanusMokrassar/18.2.1

18.2.1
This commit is contained in:
InsanusMokrassar 2024-09-25 22:01:47 +06:00 committed by GitHub
commit 27ac8ee797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,12 @@
# TelegramBotAPI changelog
## 18.2.1
* `Version`:
* `Serialization`: `1.7.2` -> `1.7.3`
* `Coroutines`: `1.8.1` -> `1.9.0`
* `MicroUtils`: `0.22.2` -> `0.22.3`
## 18.2.0
**THIS UPDATE CONTAINS SUPPORT OF [BOTS API 7.10](https://core.telegram.org/bots/api-changelog#september-6-2024)**

View File

@ -6,4 +6,4 @@ kotlin.incremental=true
kotlin.incremental.js=true
library_group=dev.inmo
library_version=18.2.0
library_version=18.2.1

View File

@ -1,8 +1,8 @@
[versions]
kotlin = "2.0.20"
kotlin-serialization = "1.7.2"
kotlin-coroutines = "1.8.1"
kotlin-serialization = "1.7.3"
kotlin-coroutines = "1.9.0"
javax-activation = "1.1.1"
@ -10,10 +10,10 @@ korlibs = "5.4.0"
uuid = "0.8.4"
ktor = "2.3.12"
ksp = "2.0.20-1.0.24"
ksp = "2.0.20-1.0.25"
kotlin-poet = "1.18.1"
microutils = "0.22.2"
microutils = "0.22.3"
kslog = "1.3.6"
versions = "0.51.0"

View File

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip

View File

@ -2,11 +2,10 @@ package dev.inmo.tgbotapi.extensions.utils
import dev.inmo.micro_utils.coroutines.safely
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.channels.BroadcastChannel
import kotlinx.coroutines.flow.*
/**
* Analog of [merge] function for [Flow]s. The difference is in the usage of [BroadcastChannel] in this case
* Analog of [merge] function for [Flow]s. The difference is in the usage of [MutableSharedFlow] in this case
*/
fun <T> aggregateFlows(
withScope: CoroutineScope,