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:
# The host to connect to
hostname: my.server.com
# The port to connect to
port: 1234
0.44.0
Updated: build against Kotlin 1.6.21
Updated: use kotlinx.serialization 1.3.3
Commits
804ceac Merge pull request #296 from kitterion/parse-to-yaml-node
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.46.0.
Release notes
Sourced from kaml's releases.
Commits
804ceac
Merge pull request #296 from kitterion/parse-to-yaml-node11ef3a8
Change readmefe736a3
Don't convert to intdff7004
Describe list tests922d57a
Add actual type to the exception2e4cc2b
Unroll YamlNode testsbbe98c2
Add parsing to YamlNode32e2247
Merge pull request #292 from charleskorn/renovate/kotlin384c0cf
Merge pull request #295 from charleskorn/renovate/kotestd3eb03e
Update Kotest to v5.3.1Dependabot 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)