kotlinx.serialization v1.4.1 Release Notes

Release Date: 2022-10-14 // over 1 year ago
  • ๐Ÿ›  This is patch release contains several bugfixes and improvements. 0๏ธโƒฃ Kotlin 1.7.20 is used by default.

    ๐Ÿ‘Œ Improvements

    • Add @MustBeDocumented to certain annotations (#2059)
    • Deprecate .isNullable in SerialDescriptor builder (#2040)
    • Unsigned primitives and unsigned arrays serializers can be retrieved as built-ins (#1992)
    • Serializers are now cached inside reflective lookup, leading to faster serializer retrieval (#2015)
    • Compiler plugin can create enum serializers using static factories for better speed (#1851) (Kotlin 1.7.20 required)
    • Provide foundation for compiler plugin intrinsics available in Kotlin 1.8.0 (#2031)

    ๐Ÿ›  Bugfixes

    • Support polymorphism in Properties format (#2052) (thanks to Rodrigo Vedovato)
    • Added support of UTF-16 surrogate pairs to okio streams (#2033)
    • Fix dependency on core module from HOCON module (#2020) (thanks to Osip Fatkullin)

Previous changes from v1.4.0

  • ๐Ÿ›  This release contains all features and bugfixes from 1.4.0-RC plus some bugfixes on its own (see below). 0๏ธโƒฃ Kotlin 1.7.10 is used as a default.

    ๐Ÿ›  Bugfixes

    • Fixed decoding of huge JSON data for okio streams (#2006)