Skip to content

v0.51.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 May 07:34
· 440 commits to refs/heads/main since this release
07b989d

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 become key: value
  • key: would become key: null

🚀 Features

🧰 Maintenance

Contributors

@dependabot, @dependabot[bot], @jsoref, @olblak, @updateclibot and @updateclibot[bot]