kaml v0.12.0 Release Notes

Release Date: 2019-08-14 // over 4 years ago
  • What's changed

    • ๐Ÿ†• New : kaml now supports omitting default values from written YAML. Use a YamlConfiguration instance with encodeDefaults set to false to omit default values. (#3 - thanks to @bjonnh for the PR)
    • ๐Ÿ†• New : kaml now supports non-strict parsing of YAML to objects, which means it will ignore unknown fields instead of throwing an exception. Use a YamlConfiguration instance with strictMode set to false to ignore unknown fields. (#5 - thanks to @fvasco for the suggestion)
    • ๐Ÿ”„ Changed : extensionDefinitionPrefix is now a property of YamlConfiguration instead of Yaml.
    • โšก๏ธ Updated : kaml is now built against Kotlin 1.3.41.

    โฌ†๏ธ Upgrading

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

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

    ๐Ÿš€ For other tools, refer to the Maven Central release page for more information.