Skip to content

0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@charleskorn charleskorn released this 26 Dec 04:04

What's changed

  • Changed: YAML has been renamed to Yaml, in line with the recent kotlinx.serialization release (where JSON was renamed to Json).

  • Improved: kaml now uses snakeyaml-engine instead of dahgan internally to parse YAML. This means:

    • Error messages are significantly better - they are clearer and include context information of where something has gone wrong
    • Performance is significantly better - loading times no longer grow exponentially as the document increases in size

Upgrading

If you're using Gradle, reference kaml in your dependencies block like this:

implementation("com.charleskorn.kaml:kaml:0.3.0")

For other tools, refer to the Maven Central release page for more information.