Deprecations
Description
Deprecated settings still work. Updatecli accepts the old form, logs a warning, and translates it to the new one, so a manifest written years ago keeps running. The warning is the notice: nothing on this page breaks a pipeline today, and everything on it may break one eventually.
Entries are grouped by area, newest deprecation first within each group. The Since column is the
first release that emitted the warning, established from the Git history rather than from the
release notes (see the changelogs for what shipped in each release).
Tip | To find out whether your own manifests are affected, run updatecli pipeline diff and read the
warnings. Nothing needs to be applied, a diff parses and validates the whole manifest, which is
where the deprecation warnings come from. |
Two cases on this page are not simple renames, and both are easy to miss:
commitmessage.titleis ignored, not translated - see Commit messages.Moving a
json,toml, orcsvresource todasel/v3turnsqueryinto a hard error - see Dasel engines.
Commands
The four original top-level commands moved under pipeline and manifest. All four still run and
log Deprecated command, please instead use ….
| Deprecated | Use instead | Since |
|---|---|---|
|
| v0.114.0 |
|
| v0.114.0 |
|
| v0.114.0 |
|
| v0.31.0 |
See the Commands reference for the current command tree.
Manifest keys
Stage identifiers
Mixed-case and snake_case keys were normalised to lowercase. The old spelling is copied onto the new key and cleared.
| Deprecated | Use instead | Applies to | Since |
|---|---|---|---|
|
| sources, conditions, targets, actions | v0.23.0 |
|
| conditions, targets | v0.23.0 |
|
| sources, conditions, targets | v0.34.0 |
|
| targets | v0.86.0 |
conditionids is the one that changes shape rather than spelling. A target listing
conditionids: [check] becomes:
targets:
default:
dependson:
- condition#checkUpdatecli performs that translation itself and, in doing so, also sets disableconditions: true on
the target (the conditions named in dependson are the only ones that gate it).
Important | Setting the old key and the new key together is not a warning. conditionids combined
with dependson makes Updatecli ignore conditionids; conditionids combined with
disableconditions: true is an outright error, because disabling conditions while naming conditions
is contradictory. The same applies to scmID alongside scmid on an action. |
Resource kind values must also be lowercase. A capitalised kind is accepted and lowercased with
kind value "…" must be lowercase.
Top-level keys
| Deprecated | Use instead | Notes | Since |
|---|---|---|---|
|
| Mutually exclusive - using both is an error, not a warning | v0.40.0 |
|
| Names the manifest | v0.64.1 |
|
| Mutually exclusive - using both is an error | v0.40.0 |
Action kinds
Both were renamed when actions grew beyond pull requests. Deprecated since v0.40.0.
| Deprecated | Use instead |
|---|---|
|
|
|
|
Transformers
Every camelCase transformer was renamed to lowercase in v0.25.0. The behaviour is unchanged.
| Deprecated | Use instead |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The deprecated spellings are hidden from the JSON schema, so an editor completing from the schema will only ever offer the lowercase form. See the "Transformer" page.
Actions
github/pullrequest: automerge
Deprecated in v0.116.0 in favour of merge.strategy, which offers three behaviours where
automerge had two.
| Before | After |
|---|---|
| |
automerge: false is not a no-op, it translates to merge.strategy: manual:
| Old value | Translates to | Meaning |
|---|---|---|
|
| Hand the pull request to GitHub’s auto-merge, which merges it once the required checks pass. |
|
| Leave the pull request open for a human. This is also the default when |
- (no equivalent) |
| Updatecli merges the pull request itself, after |
client has no automerge equivalent, so it is only reachable after migrating. See the
"GitHub Pull Request" page.
Resource plugins
Dasel engines
json, toml, and csv read and write through Dasel, selected by the engine parameter.
dasel/v1 and dasel/v2 are deprecated in favour of dasel/v3 (since v0.105.0):
Engine "dasel/v1" is deprecated and will be removed in a future updatecli version. Please use "dasel/v3" instead.Warning |
|
Migrating the engine forces a second change. Under dasel/v2 and dasel/v3, query is rejected
rather than warned about:
engine "dasel/v3" requires the parameter "key" over "query"So rename query to key in the same edit.
Deprecated parameters
| Plugin | Deprecated | Use instead | Notes | Since |
|---|---|---|---|---|
|
|
| Warning under | v0.105.0 |
|
|
|
| v0.37.0 |
|
|
| Prefix the old URL onto the repository name | v0.33.0 |
|
|
| Copied across automatically | v0.44.0 |
|
|
| v0.97.0 | |
|
|
| v0.97.0 |
Commit messages
Warning |
To control the commit title, rename the target. Everything else under |
YAML key syntax
Warning |
The rewrite is scheduled to become an error. Update the keys now:
This applies to |
Compose file name
The default compose file was renamed from update-compose.yaml to updatecli-compose.yaml in
v0.80.0. The old name is still picked up, with a warning:
Deprecated default compose file "update-compose.yaml" detected. Please rename it to "updatecli-compose.yaml"If both files exist, Updatecli uses the deprecated one and says so:
Both default compose files "update-compose.yaml" and "updatecli-compose.yaml" detected. Please remove "update-compose.yaml" to start using "updatecli-compose.yaml"Renaming the file is the whole migration. See the "Compose" page.
updatecli-action
Branches v1 and v2
The v1 and v2 branches of updatecli/updatecli-action are deprecated. Pin a released version
instead, or track main if you deliberately want the branch tip.
Across a whole organization, an Updatecli policy does the migration for you:
## Migrate every repository of an organization to a released
## version of the Updatecli GitHub Action.
##
## export UPDATECLI_GITHUB_TOKEN="your PAT"
## export UPDATECLI_GITHUB_USERNAME="your username"
## updatecli compose diff
## updatecli compose apply
valuesinline:
scm:
enabled: true
kind: githubsearch
search: |
org:your-github-organization
archived:false
# branch accepts a regular expression
branch: "^main$|^master$"
# the email associated with the git commits
email: "you@example.com"
# zero means no repository limit
limit: 0
policies:
- name: Update Updatecli GitHub action version
policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.9.0
Then:
updatecli compose diff
updatecli compose applySee the "GitHub Action" page for how to pin the action, and "Compose" for the file format.
Go Further
Changelogs - what shipped in each release.
Troubleshooting - error messages and what causes them.
Commands - the current command reference.