New: add support for naming strategies, similar to the feature in kotlinx.serialization's JSON support (#400 - thanks to @russellbanks for the PR)
This makes it easy to use different field naming schemes such as snake_case, kebab-case, PascalCase, and camelCase without needing to modify the corresponding Kotlin property names or annotate properties with @SerialName.
Updated: build with Kotlin 1.8.21
Changed: remove unnecessary stdlib dependency (#421 - thanks to @russellbanks for the PR)
If your application needs to support anchors and aliases, enable them by setting YamlConfiguration.allowAnchorsAndAliases to true.
0.52.0
Updated: use Kotlin 1.8.10
Updated: use kotlinx.serialization 1.5.0
0.51.0
New: added SingleLineStringStyle.PlainExceptAmbiguous to automatically quote strings that may be interpreted as numeric or boolean values (#371 - thanks to @russellbanks for the PR)
0.50.0
New: add Yaml.decodeFromYamlNode() method to deserialize an object from a previously read YamlNode instance (#369 - thanks to @dellisd for the PR)
Updated: use kotlinx.serialization 1.4.1
Updated: use Kotlin 1.8.0
Updated: use snakeyaml-engine 2.6
0.49.0
Updated: use snakeyaml-engine 2.5.
0.48.0
Updated: use snakeyaml-engine 2.4.
This improves support for some older versions of Android, amongst other improvements.
0.47.0
New: it is now possible to emit lists indented, rather than aligned with their parent (#317 - thanks to @Cloudate9 for the PR)
For example, previously, kaml would produce output like this:
list:
- 1
- 2
- 3
With this change, if you set the newly added sequenceBlockIndent property on YamlConfiguration to 2, the output would be: (notice the extra indentation for the list items)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.charleskorn.kaml:kaml from 0.43.0 to 0.54.0.
Release notes
Sourced from com.charleskorn.kaml:kaml's releases.
... (truncated)
Commits
390c7f5
Fix Gradle build script warnings.5d07183
Update copyright year.909d01f
Fix Gradle buildSrc compilation warnings.6acdbf7
Fix warning from Reckon during Gradle configuration.8d47297
Add additional test case for scenario where an unknown property is provided a...4028606
Merge pull request #400 from russellbanks/add-yaml-naming-strategydb314df
Update dependency com.pinterest:ktlint to v0.49.1112e0fb
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.19.073c6af6
Add test case for unknown property with naming strategy150ce7d
Update Batect to v0.83.7Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)