Skip to content

Releases: charleskorn/kaml

0.65.0

14 Nov 01:34
8a7413e
Compare
Choose a tag to compare

0.65.0 (2024-11-14)

Chores

  • ignore files created by Kotlin compiler, and include more information in release workflow logs (8a7413e)

0.64.0

14 Nov 00:46
54c5af2
Compare
Choose a tag to compare

0.64.0 (2024-11-14)

Features

  • add YamlContentPolymorphicSerializer, similar to JsonContentPolymorphicSerializer (#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

  • internal: update gradle/actions action to v4.2.0 (#640) (a26f084)
  • internal: update softprops/action-gh-release action to v2.1.0 (#639) (8426f11)

0.63.0

11 Nov 18:52
3092960
Compare
Choose a tag to compare

0.63.0 (2024-11-11)

Dependency Updates

0.62.2

01 Nov 03:05
dbb29e7
Compare
Choose a tag to compare

0.62.2 (2024-11-01)

Bug Fixes

  • Decoder does not represent the current node correctly (#617) (dbb29e7)

Dependency Updates

  • internal: update softprops/action-gh-release action to v2.0.9 (#637) (0fa2c17)

0.62.1

30 Oct 23:39
91afa66
Compare
Choose a tag to compare

0.62.1 (2024-10-30)

Bug Fixes

  • use serializers from the module in decodeFromYamlNode (#636) (3ec93d8)

Chores

  • don't change automatically created release to draft (9bee143)
  • don't generate release for test-only changes (ac19b82)

0.62.0

30 Oct 02:00
3b2b119
Compare
Choose a tag to compare

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

  • update dependency org.jetbrains.kotlinx:kotlinx-serialization-core to v1.7.3 (#605)
  • update kotlin to v2.0.21 (#633)
  • update dependency com.squareup.okio:okio to v3.9.1 (#613)
  • update dependency it.krzeminski:snakeyaml-engine-kmp to v3.0.3 (#632)

0.61.0

15 Aug 11:39
Compare
Choose a tag to compare
  • 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

08 Jun 05:16
93643a6
Compare
Choose a tag to compare
  • 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

23 Apr 05:14
0.59.0
Compare
Choose a tag to compare
  • 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

20 Mar 06:10
24e1c02
Compare
Choose a tag to compare
  • 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