diff --git a/CHANGELOG.md b/CHANGELOG.md index 46d40335218..dd19b4d0fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.6.0 **THIS VERSION HAS MIGRATED FROM KORLIBS KLOCK TO KOTLINX DATETIME. CAREFUL** +**ALL DEPRECATION HAVE BEEN REMOVED** * `Versions` * `Klock` -> `kotlinx.datetime` diff --git a/common/src/commonMain/kotlin/dev/inmo/micro_utils/common/Clamp.kt b/common/src/commonMain/kotlin/dev/inmo/micro_utils/common/Clamp.kt deleted file mode 100644 index 7d6159ca5f7..00000000000 --- a/common/src/commonMain/kotlin/dev/inmo/micro_utils/common/Clamp.kt +++ /dev/null @@ -1,5 +0,0 @@ -package dev.inmo.micro_utils.common - -@Deprecated("Redundant", ReplaceWith("coerceIn(min, max)")) -@Suppress("NOTHING_TO_INLINE") -inline fun > T.clamp(min: T, max: T): T = coerceIn(min, max) diff --git a/serialization/typed_serializer/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/typed_serializer/TypedSerializer.kt b/serialization/typed_serializer/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/typed_serializer/TypedSerializer.kt index 3e6d9045f34..5e2632433cd 100644 --- a/serialization/typed_serializer/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/typed_serializer/TypedSerializer.kt +++ b/serialization/typed_serializer/src/commonMain/kotlin/dev/inmo/micro_utils/serialization/typed_serializer/TypedSerializer.kt @@ -20,18 +20,6 @@ open class TypedSerializer( element("type", String.serializer().descriptor) element("value", ContextualSerializer(kClass).descriptor) } - @InternalSerializationApi - @Deprecated( - "This descriptor was deprecated due to incorrect serial name. You may use it in case something require it, " + - "but it is strongly recommended to migrate onto new descriptor" - ) - protected val oldDescriptor: SerialDescriptor = buildSerialDescriptor( - "TextSourceSerializer", - SerialKind.CONTEXTUAL - ) { - element("type", String.serializer().descriptor) - element("value", ContextualSerializer(kClass).descriptor) - } @ExperimentalSerializationApi @InternalSerializationApi