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)
list:
- 1
- 2
- 3
Updated: build against Kotlin 1.7.10.
0.46.0
New: it is now possible to parse a string or stream to a YamlNode rather than decoding to a Kotlin object (#296 - thanks to @kitterion for the PR)
Updated: build against Kotlin 1.7.
0.45.0
New: it is now possible to serialise comments for object properties by applying a YamlComment annotation to the property (#287 - thanks to @slava110 for the PR)
For example, serializing this class:
@Serializable
data class Configuration(
@YamlComment("The host to connect to")
val hostname: String,
@YamlComment("The port to connect to ")
val port: Int
)
will result in output like:
... (truncated)
Commits
feb92d2 Merge pull request #324 from charleskorn/renovate/org.snakeyaml-snakeyaml-eng...
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 kaml from 0.43.0 to 0.48.0.
Release notes
Sourced from kaml's releases.
... (truncated)
Commits
feb92d2
Merge pull request #324 from charleskorn/renovate/org.snakeyaml-snakeyaml-eng...0a18a0d
Explicitly enable emitting comments.b5282b4
Update dependency org.snakeyaml:snakeyaml-engine to v2.43a61198
Update Batect to v0.81.002c420a
Update Batect to v0.80.12aec3af
Remove obsolete OptIn annotations for kotlinx.serialization APIs that are no ...d81f216
Replace use of deprecated object.63fb90a
Add support for specifying a charset when encoding and decoding.8aa0ffa
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.10.06ad5bda
Update Batect to v0.80.0Dependabot 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)