Unclaimed project
Are you a maintainer of kotlinx.serialization? Claim this project to take control of your public changelog and roadmap.
Changelog
Kotlin multiplatform / multi-format serialization
This release updates Kotlin version to 2.2.0, includes several bugfixes and provides serializers for kotlin.time.Instant.
Instant class was moved from kotlinx-datetime library to Kotlin standard library. As a result, kotlinx-datetime 0.7.0 no longer has serializers for the Instant class. To use the new kotlin.time.Instant class in your @Serializable classes, you can use this 1.9.0 kotlinx-serialization version (Kotlin 2.2 is required).
You can choose between the default InstantSerializer, which uses its string representation, or specify InstantComponentSerializer that represents instant as its components.
See details in the PR.