kotlinx.serialization v1.0.1 Release Notes

Release Date: 2020-10-28 // 4 months ago
  • ๐Ÿ›  This patch release contains several feature improvements as well as bugfixes and performance improvements.

    ๐Ÿ”‹ Features

    • โž• Add object-based serialization and deserialization of polymorphic types for dynamic conversions on JS platform (#1122)
    • โž• Add support for object polymorphism in HOCON decoder (#1136)
    • โž• Add support of decoding map in the root of HOCON config (#1106)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”Œ Properly cache generated serializers in PluginGeneratedSerialDescriptor (#1159)
    • โž• Add Pair and Triple to serializer resolving from Java type token (#1160)
    • ๐Ÿ›  Fix deserialization of half-precision, float and double types in CBOR (#1112)
    • ๐Ÿ›  Fix ByteString annotation detection when ByteArray is nullable (#1139) (thanks to Travis Wyatt)

Previous changes from v1.0.0

  • ๐Ÿš€ The first public stable release, yay!
    ๐Ÿ“„ The definitions of stability and backwards compatibility guarantees are located in the corresponding document.
    We now also have a GitHub Pages site with full API reference.

    ๐Ÿ—„ Compared to RC2, no new features apart from #947 were added and all previously deprecated declarations and migrations were deleted.
    โšก๏ธ If you are using RC/RC2 along with deprecated declarations, please, migrate before updating to 1.0.0.
    ๐Ÿ“„ In case you are using pre-1.0 versions (e.g. 0.20.0), please refer to our migration guide.

    ๐Ÿ›  Bugfixes and improvements

    • ๐Ÿ‘Œ Support nullable types at top-level for JsonElement decoding (#1117)
    • โž• Add CBOR ignoreUnknownKeys option (#947) (thanks to Travis Wyatt)
    • ๐Ÿ›  Fix incorrect documentation of encodeDefaults (#1108) (thanks to Anders Carling)