diff --git a/CHANGELOG.md b/CHANGELOG.md index 6da212ca8a..d3ee49eeb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # TelegramBotAPI changelog +## 0.29.1 + +* `Common`: + * Version updates: + * `Serialization`: `1.0.0-RC2` -> `1.0.0` + ## 0.29.0 * **THIS VERSION CONTAINS BREAKING CHANGES** diff --git a/gradle.properties b/gradle.properties index a67fbb591e..a07f5a51b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ kotlin.incremental.js=true kotlin_version=1.4.10 kotlin_coroutines_version=1.3.9 -kotlin_serialisation_runtime_version=1.0.0-RC2 +kotlin_serialisation_runtime_version=1.0.0 klock_version=1.12.1 uuid_version=0.2.2 ktor_version=1.4.1 @@ -15,7 +15,7 @@ ktor_version=1.4.1 javax_activation_version=1.1.1 library_group=dev.inmo -library_version=0.29.0 +library_version=0.29.1 gradle_bintray_plugin_version=1.8.5 github_release_plugin_version=2.2.12 diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatMember/abstracts/ChatMember.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatMember/abstracts/ChatMember.kt index eba29e056f..b0d0a88171 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatMember/abstracts/ChatMember.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatMember/abstracts/ChatMember.kt @@ -23,5 +23,4 @@ internal object ChatMemberDeserializationStrategy : DeserializationStrategy : Deserializ @InternalSerializationApi override val descriptor: SerialDescriptor = buildSerialDescriptor("TelegramBotAPIMessageSerializer", PolymorphicKind.OPEN) - override fun patch(decoder: Decoder, old: T): T = error("TelegramBotAPIMessageSerializer") - @Suppress("UNCHECKED_CAST") override fun deserialize(decoder: Decoder): T { return RawMessage.serializer().deserialize(decoder).asMessage as T diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/Update.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/Update.kt index 06853ce529..0ea6f4c49f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/Update.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/Update.kt @@ -47,6 +47,4 @@ object UpdateDeserializationStrategy : DeserializationStrategy { asJson ) } - - override fun patch(decoder: Decoder, old: Update): Update = error("Unsupported operation") }