sandwwraith
03/04/2020, 4:35 PM0.20.0
has been released! This release is compatible only with Kotlin 1.3.70. It is focused on giving a library its final and stable API shape, so we took the liberty to introduce minor breaking changes in order to give users the better, more convenient API. Highlights:
• Some declarations were deprecated because they are going to be replaced with others, e.g. top-level IntSerializer
object was replaced with Int.serializer()
extension function for consistency.
• Json's strictMode
flag is deprecated and replaced with 3 other flags, thus allowing to fine-tune settings.
• Protobuf, Cbor and Mapper were extracted to separate artifacts to keep the core API lightweight.
• A lot of bugs fixed and a lot of entities documented
• Shiny new feature — json-specific transofrming serializers: instead of manipulating calls to Encoder
and Decoder
directly, one can write serializer using pure JSON AST manipulations. Learn more here: https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/json_transformations.md
Full release note with a list of deprecations, migration guides and fixed bugs is available in changelog: https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md#0200--2020-03-04turansky
03/05/2020, 10:01 AMgildor
05/04/2020, 10:45 AMProtobuf, Cbor and Mapper were extracted to separate artifacts to keep the core API lightweightVery good decision 👍 But probably It should be also done for Json and keep real core artifact of serialization