Skip to content

chore(deps): upgrade @oclif/core and plugins to Node 22-based majors - #2193

Merged
martin-helmich merged 3 commits into
masterfrom
chore/oclif-core-5
Nov 2, 2026
Merged

martin-helmich merged 3 commits into
masterfrom
chore/oclif-core-5

Conversation

@martin-helmich

@martin-helmich martin-helmich commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Supersedes #2178, #2180 and #2106. These can't be merged on their own: @oclif/test 5 has a peer dependency on @oclif/core 5, and all of the new majors require Node >=22.

Changes

  • @oclif/core 4 → 5, @oclif/test 4 → 5
  • @oclif/plugin-help 6 → 7, @oclif/plugin-autocomplete 3 → 4, @oclif/plugin-update 4 → 5, @oclif/plugin-warn-if-update-available 3 → 4
  • engines.node raised from >=20.7.0 to >=22.0.0 (also in CONTRIBUTING.md)
  • Node runtime bundled in the tarballs and installers (oclif.update.node.version) bumped from 20.19.3 to 22.23.4
  • Node 20 dropped from the npm-resolvable CI matrix
  • release-s3 job now pins Node 22 (it previously ran oclif promote on the runner's preinstalled Node)
  • Dev container image moved from typescript-node:1-20-bullseye to 1-22-bullseye

Compatibility

According to the upstream changelogs, the only breaking change in each of these major releases is the bump of the Node engine to >=22; there are no API changes. Node 20 reached its end of life in April 2026, so this is not treated as a breaking change for the CLI.

🤖 Generated with Claude Code

martin-helmich and others added 2 commits November 2, 2026 10:54
Bump @oclif/core to v5, @oclif/test to v5 and the oclif plugins to their
current majors (plugin-help 7, plugin-autocomplete 4, plugin-update 5,
plugin-warn-if-update-available 4). The only breaking change in all of
these is a minimum Node version of 22.

Accordingly, raise the engines constraint to >=22.0.0, bundle Node 22 in
the packaged tarballs and installers, and drop Node 20 from the
npm-resolvable CI matrix. Node 20 reached its end of life in April 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release-s3 job ran `oclif promote` on the runner's preinstalled
Node, and the dev container still used a Node 20 image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@martin-helmich
martin-helmich merged commit 3759de8 into master Nov 2, 2026
10 checks passed
@martin-helmich
martin-helmich deleted the chore/oclif-core-5 branch November 2, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant