v0.51.0
Changes
This release introduces a refactoring for the YAML plugin to move away from a "homemade" like "yamlpath" to the library goccy/go-yaml which support more "yamlpath" query.
Yamlpath keys are expected to start with '$.', so for now we'll display a warning message when Updatecli detects the deprecated syntax and automatically add the prefix "$."
Manifests still need to be updated with the new syntax to remove the warning.
Another important syntax change, dots could be escaped using a backslack such as annotation.github\.owner
, now keys containing dot should be surrounded with single quote like annotation.'github.owner'
Updatecli manifest using the YAML key must be updated such as
`name` becomes `$.name`
`array[0].name` becomes `$.array[0].name`
`person\.name` becomes `'person.name'`
While this library better handle YAML formatting, we noticed a few drawback when Updatecli updates a target.
key: "value"
would becomekey: value
key:
would becomekey: null
🚀 Features
🧰 Maintenance
- Bump Patch version for Golang module @updateclibot (#1328)
- Use updatecli@main config as a fallback @jsoref (#1342)
- Add check-spelling @jsoref (#1340)
- chore(deps): Bump updatecli/updatecli-action from 2.28.2 to 2.29.0 @dependabot (#1341)
- fix spelling @jsoref (#1330)
Contributors
@dependabot, @dependabot[bot], @jsoref, @olblak, @updateclibot and @updateclibot[bot]