Skip to content

Releases: charleskorn/kaml

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

0.57.0

14 Jan 08:23
2f0de20
Compare
Choose a tag to compare
  • New: Kaml now supports serializing polymorphic types without serializing any type information (ie. without a type property or tag). Set polymorphismStyle to PolymorphismStyle.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

10 Dec 02:53
9d7c47f
Compare
Choose a tag to compare
  • 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

30 Jul 00:11
0.55.0
Compare
Choose a tag to compare
  • 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