Releases: charleskorn/kaml
Releases · charleskorn/kaml
0.65.0
0.64.0
0.64.0 (2024-11-14)
Features
- add
YamlContentPolymorphicSerializer
, similar toJsonContentPolymorphicSerializer
(#607) (54c5af2) - allow to set a maximum amount of aliases while parsing to protect against billion laughs attack and similar (#620) (1b93b80)
Chores
- don't create release for Gradle upgrades (7bc31bb)
Dependency Updates
0.63.0
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