Update dependency com.charleskorn.kaml:kaml to v0.57.0 #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.44.0
->0.57.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
charleskorn/kaml (com.charleskorn.kaml:kaml)
v0.57.0
Compare Source
polymorphismStyle
toPolymorphismStyle.None
to use this feature. (#494 - thanks to @ZacSweers for the PR)v0.56.0
Compare Source
v0.55.0
Compare Source
New: add experimental support for Kotlin/JS (thanks to @krzema12 and @russellbanks for the PRs)
Updated: build with Kotlin 1.9.0
Updated: use Okio 3.4.0
v0.54.0
Compare Source
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)
v0.53.0
Compare Source
Changed (:warning: potentially breaking change): default to not parsing anchors and aliases to prevent billion laughs attacks (GHSA-c24f-2j3g-rg48 - thanks to @gdude2002 for reporting this offline)
If your application needs to support anchors and aliases, enable them by setting
YamlConfiguration.allowAnchorsAndAliases
totrue
.v0.52.0
Compare Source
v0.51.0
Compare Source
SingleLineStringStyle.PlainExceptAmbiguous
to automatically quote strings that may be interpreted as numeric or boolean values (#371 - thanks to @russellbanks for the PR)v0.50.0
Compare Source
Yaml.decodeFromYamlNode()
method to deserialize an object from a previously readYamlNode
instance (#369 - thanks to @dellisd for the PR)v0.49.0
Compare Source
v0.48.0
Compare Source
Updated: use snakeyaml-engine 2.4.
This improves support for some older versions of Android, amongst other improvements.
v0.47.0
Compare Source
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:
With this change, if you set the newly added
sequenceBlockIndent
property onYamlConfiguration
to 2, the output would be: (notice the extra indentation for the list items)Updated: build against Kotlin 1.7.10.
v0.46.0
Compare Source
YamlNode
rather than decoding to a Kotlin object (#296 - thanks to @kitterion for the PR)v0.45.0
Compare Source
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:
will result in output like:
The host to connect to
hostname: my.server.com
The port to connect to
port: 1234
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.