Releases: charleskorn/kaml
0.62.2
0.62.1
0.62.0
0.62.0 (2024-10-30)
Features
- add support for case-insensitive decoding of enums (#587 - thanks to @AbhigyaKrishna for the PR)
- add convenience encoding and decoding functions (#609 - thanks to @sschuberth for the PR)
- add support for setting
ScalarStyle
per-field (#596 - thanks to @nielsbasjes for the PR) - add support for all remaining tier 2 KMP targets (#629 - thanks to @rbraeunlich for the PR)
Bug fixes
- fix issue where it was not possible to implement a contextual serializer for a scalar value (#618 - thanks to @Jojo4GH for the PR)
Dependency Updates
0.61.0
- New: build and publish experimental Kotlin/Native targets
- Updated: use kotlinx.serialization 1.7.1
- Updated: use snakeyaml-engine-kmp 3.0.1
- Fixed: fix handling of contextual serializers (#582 - thanks to @OptimumCode for the PR and @leinardi for the bug report)
0.60.0
- Updated: build with Kotlin 2.0.0
- Updated: use snakeyaml-engine-kmp 3.0.0
- Updated: use kotlinx-serialization 1.7.0
0.59.0
- New: it is now possible to change the default 3 MB input document size limit by setting
YamlConfiguration.codePointLimit
(#543 - thanks to @sschuberth for the PR) - Updated: use Okio 3.9.0
- Updated: use snakeyaml-engine-kmp 2.7.5
0.58.0
-
Changed: kaml now uses snakeyaml-engine-kmp for all targets, rather than using SnakeYAML for the JVM and snakeyaml-engine-kmp for JS. (#507 - thanks to @krzema12 and @aSemy for the PR)
As snakeyaml-engine-kmp is a port of SnakeYAML to multiplatform Kotlin, there should be no major behaviour differences.
⚠️ Breaking change:Yaml.decodeFromStream()
no longer supports anything other than UTF-8 streams, as this is not supported by Okio. If this is a problem for you, please open an issue to discuss your use case. -
Updated: use Okio 3.8.0
-
Updated: use kotlinx.serialization 1.6.3
-
Updated: use Kotlin 1.9.23
-
Updated: use snakeyaml-engine-kmp 2.7.3
0.57.0
- New: Kaml now supports serializing polymorphic types without serializing any type information (ie. without a type property or tag). Set
polymorphismStyle
toPolymorphismStyle.None
to use this feature. (#494 - thanks to @ZacSweers for the PR) - Updated: use Okio 3.7.0
- Updated: use Kotlin 1.9.22
0.56.0
- Updated: use SnakeYAML 2.7
- Updated: use Okio 3.6.0
- Updated: use kotlinx.serialization 1.6.2
- Updated: use Kotlin 1.9.21
- Updated: use snakeyaml-engine-kmp 2.7.1
0.55.0
-
New: add experimental support for Kotlin/JS (thanks to @krzema12 and @russellbanks for the PRs)
-
Updated: build with Kotlin 1.9.0
-
Updated: use Okio 3.4.0