kaml v0.21.0 Release Notes

Release Date: 2020-09-03 // over 3 years ago
  • What's changed

    ๐Ÿ†• New : it is now possible to configure the style for emitted lists and sequences by setting YamlConfiguration.sequenceStyle (#40 - thanks to @knightzmc for the suggestion and PR)

    ๐Ÿ’… For example, for the list 1, 2, 3, block style (which was the previous behaviour and is still the default) would emit the list as:

    - 1- 2- 3
    

    ๐Ÿ’… And in flow style, it would be emitted as:

    [1, 2, 3]
    

    โฌ†๏ธ Upgrading

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

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

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