0.12.0
What's changed
- New: kaml now supports omitting default values from written YAML. Use a
YamlConfiguration
instance withencodeDefaults
set tofalse
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 withstrictMode
set tofalse
to ignore unknown fields. (#5 - thanks to @fvasco for the suggestion) - Changed:
extensionDefinitionPrefix
is now a property ofYamlConfiguration
instead ofYaml
. - 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.