From a988117037e51b95b4dba0e80604b1391a08d46c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 28 May 2023 20:56:15 +0600 Subject: [PATCH 1/4] start 0.12.0 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index e03615c..216afa4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,4 +23,4 @@ dokka_version=1.8.10 # Project data group=dev.inmo -version=0.11.3 +version=0.12.0 From 90e063a47aed1fa3bd25b78801e72d1a156294ca Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 28 May 2023 20:56:54 +0600 Subject: [PATCH 2/4] update dependencies --- gradle.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 216afa4..c9953c6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,10 +11,10 @@ kotlin_serialisation_core_version=1.5.1 github_release_plugin_version=2.4.1 -tgbotapi_version=7.1.3 -micro_utils_version=0.18.4 +tgbotapi_version=8.0.0 +micro_utils_version=0.19.0 exposed_version=0.41.1 -plagubot_version=5.1.3 +plagubot_version=6.0.0 # Dokka From d77e08631cf9aaa612323f0098911c9e7f2bda1b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 28 May 2023 20:57:43 +0600 Subject: [PATCH 3/4] make migration --- .../tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt | 2 +- .../tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt | 2 +- .../cache/admins/micro_utils/DefaultAdminsCacheAPI.kt | 2 +- .../libraries/cache/media/common/MediaFileActualityChecker.kt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt index 9303ed4..b054e7f 100644 --- a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt +++ b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins -import com.soywiz.klock.minutes +import korlibs.time.minutes import dev.inmo.tgbotapi.types.IdChatIdentifier import dev.inmo.tgbotapi.types.Seconds import kotlinx.coroutines.flow.SharedFlow diff --git a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt index b018dac..04b162c 100644 --- a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt +++ b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins -import com.soywiz.klock.DateTime +import korlibs.time.DateTime import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.extensions.api.bot.getMe import dev.inmo.tgbotapi.extensions.api.chat.members.getChatMember diff --git a/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt b/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt index 7e8a650..b7d2dfb 100644 --- a/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt +++ b/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins.micro_utils -import com.soywiz.klock.DateTime +import korlibs.time.DateTime import dev.inmo.micro_utils.coroutines.* import dev.inmo.micro_utils.repos.* import dev.inmo.tgbotapi.libraries.cache.admins.DefaultAdminsCacheAPIRepo diff --git a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt index b67f203..07e80c5 100644 --- a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt +++ b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt @@ -1,7 +1,7 @@ package dev.inmo.tgbotapi.libraries.cache.media.common -import com.soywiz.klock.DateTime -import com.soywiz.klock.milliseconds +import korlibs.time.DateTime +import korlibs.time.milliseconds import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.requests.DeleteMessage import dev.inmo.tgbotapi.requests.abstracts.FileId From bd4e3d23800f7c46c091a1fc70dacf719eb87151 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 31 May 2023 07:13:37 +0600 Subject: [PATCH 4/4] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index c9953c6..1d55e33 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ kotlin_serialisation_core_version=1.5.1 github_release_plugin_version=2.4.1 tgbotapi_version=8.0.0 -micro_utils_version=0.19.0 +micro_utils_version=0.19.1 exposed_version=0.41.1 plagubot_version=6.0.0