1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-11-20 22:35:46 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
renovate[bot]
83aaf6170f Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.9.0 2025-10-20 15:24:05 +00:00
5 changed files with 10 additions and 22 deletions

View File

@@ -1,17 +1,5 @@
# TelegramBotAPI changelog # TelegramBotAPI changelog
## 30.0.0
**THIS UPDATE MAY CONTAINS BREAKING CHANGES**
* `Version`:
* `Kotlin`: `2.2.10` -> `2.2.20`
* `Ktor`: `3.2.3` -> `3.3.1`
* `MicroUtils`: `0.26.3` -> `0.26.6`
* `KSLog`: `1.5.0` -> `1.5.1`
* `BehaviourBuilder`:
* `DefaultCustomBehaviourContextAndTypeReceiver` now extends `suspend (BC, U) -> R` instead of `CustomBehaviourContextAndTypeReceiver<BC, R, U>` (no changes in api in fact)
## 29.0.1 ## 29.0.1
* `Core`: * `Core`:

View File

@@ -9,4 +9,4 @@ kotlin.incremental.js=true
ksp.useKSP2=false ksp.useKSP2=false
library_group=dev.inmo library_group=dev.inmo
library_version=30.0.0 library_version=29.0.1

View File

@@ -1,6 +1,6 @@
[versions] [versions]
kotlin = "2.2.20" kotlin = "2.2.10"
kotlin-serialization = "1.9.0" kotlin-serialization = "1.9.0"
kotlin-coroutines = "1.10.2" kotlin-coroutines = "1.10.2"
@@ -8,21 +8,21 @@ javax-activation = "1.1.1"
korlibs = "5.4.0" korlibs = "5.4.0"
uuid = "0.8.4" uuid = "0.8.4"
ktor = "3.3.1" ktor = "3.2.3"
ksp = "2.2.20-2.0.4" ksp = "2.2.10-2.0.2"
kotlin-poet = "2.2.0" kotlin-poet = "2.2.0"
microutils = "0.26.6" microutils = "0.26.3"
kslog = "1.5.1" kslog = "1.5.0"
versions = "0.53.0" versions = "0.52.0"
github-release-plugin = "2.5.2" github-release-plugin = "2.5.2"
dokka = "2.0.0" dokka = "2.0.0"
validator = "0.18.1" validator = "0.18.1"
nmcp = "1.2.0" nmcp = "1.1.0"
[libraries] [libraries]

View File

@@ -83,7 +83,7 @@ fun <BC : BehaviourContext, R, U : Update> CustomBehaviourContextAndTypeReceiver
*/ */
class DefaultCustomBehaviourContextAndTypeReceiver<BC : BehaviourContext, R, U : Update>( class DefaultCustomBehaviourContextAndTypeReceiver<BC : BehaviourContext, R, U : Update>(
private val wrapperReceiver: CustomBehaviourContextAndTypeReceiver<BC, R, U> private val wrapperReceiver: CustomBehaviourContextAndTypeReceiver<BC, R, U>
) : suspend (BC, U) -> R { ) : CustomBehaviourContextAndTypeReceiver<BC, R, U> {
private var botInfo: ExtendedBot? = null private var botInfo: ExtendedBot? = null
private val mutex = Mutex() private val mutex = Mutex()

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env kotlin #!/usr/bin/env kotlin
// This script will read Event // This script will read Event
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0") @file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
import kotlinx.serialization.json.* import kotlinx.serialization.json.*
import java.io.File import java.io.File