Skip to content

0.12.0

Compare
Choose a tag to compare
@charleskorn charleskorn released this 14 Aug 11:48
0.12.0
795ada3

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.