This repository was archived by the owner on Nov 30, 2025. It is now read-only.
0.12.0
What's changed
- New: kaml now supports omitting default values from written YAML. Use a
YamlConfigurationinstance withencodeDefaultsset tofalseto 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
YamlConfigurationinstance withstrictModeset tofalseto ignore unknown fields. (#5 - thanks to @fvasco for the suggestion) - Changed:
extensionDefinitionPrefixis now a property ofYamlConfigurationinstead 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.