diff --git a/CHANGELOG.md b/CHANGELOG.md index 2202ea5103..c502be6719 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # TelegramBotAPI changelog +## 0.30.8 + +* `Common`: + * `Version`: + * `Kotlin`: `1.4.10` -> `1.4.20` + * `Klock`: `1.12.1` -> `2.0.0` + * `MicroUtils`: `0.4.1` -> `0.4.3` + ## 0.30.7 * `Common`: diff --git a/gradle.properties b/gradle.properties index ca02100ef1..3bd3c4ec36 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,18 +5,18 @@ kotlin.js.generate.externals=true kotlin.incremental=true kotlin.incremental.js=true -kotlin_version=1.4.10 +kotlin_version=1.4.20 kotlin_coroutines_version=1.4.1 kotlin_serialisation_runtime_version=1.0.1 -klock_version=1.12.1 +klock_version=2.0.0 uuid_version=0.2.2 ktor_version=1.4.2 -micro_utils_version=0.4.1 +micro_utils_version=0.4.3 javax_activation_version=1.1.1 library_group=dev.inmo -library_version=0.30.7 +library_version=0.30.8 github_release_plugin_version=2.2.12 diff --git a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/SafelyShortcut.kt b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/SafelyShortcut.kt index 6add07d0b8..9aa29a53d2 100644 --- a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/SafelyShortcut.kt +++ b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/SafelyShortcut.kt @@ -7,7 +7,6 @@ import kotlinx.coroutines.CoroutineScope /** * Shortcut for [dev.inmo.micro_utils.coroutines.safely]. It was created for more comfortable way of handling different things */ -@PreviewFeature @Deprecated("In future will be used typealias from micro_utils", ReplaceWith("safely", "dev.inmo.micro_utils.coroutines.safely")) suspend inline fun safely( noinline onException: ExceptionHandler = { throw it }, diff --git a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt index f6802145d1..b22778975d 100644 --- a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt +++ b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt @@ -72,7 +72,6 @@ fun RequestsExecutor.startGettingOfUpdatesByLongPolling( * [flowUpdatesPreset] lambda - it will be called BEFORE starting updates getting */ @FlowPreview -@PreviewFeature @Suppress("unused") fun RequestsExecutor.startGettingFlowsUpdatesByLongPolling( timeoutSeconds: Seconds = 30,