Skip to content

CLXP-879: Node 22 β€” BREAKING engines bump (semver-major, owner gates publish)#155

Merged
silouone merged 1 commit into
masterfrom
feat/clxp-879-node22-eol
Jun 10, 2026
Merged

CLXP-879: Node 22 β€” BREAKING engines bump (semver-major, owner gates publish)#155
silouone merged 1 commit into
masterfrom
feat/clxp-879-node22-eol

Conversation

@silouone

@silouone silouone commented Jun 5, 2026

Copy link
Copy Markdown
Member

CLXP-879: Node EOL remediation β€” bump to Node 22

This is part of the Node EOL remediation track. @coorpacademy/update-node is a published npm tool, so bumping the engines floor is a BREAKING change.

⚠️ BREAKING CHANGE

  • package.json engines.node moves from >=18.12.1 β†’ >=22.0.0.
  • Any consumer still running Node <22 will fail the engines check on install.
  • Recommend releasing as v8.0.0 (semver MAJOR). The current version is 7.7.0.
  • The maintainer controls the actual npm publish β€” this PR only lands the source change. No publish is performed here.

Changes

File Change
.nvmrc v20.17.0 β†’ v22.0.0
package.json engines.node: >=18.12.1 β†’ >=22.0.0 (npm field unchanged β€” it was never set)
.travis.yml default node_js 20 β†’ 22; dropped the Node 18 test job (matrix now 20 + 22)
.github/workflows/ci.yml dropped 18.x from the matrix (now ['20.x', '22.x'])

Explicitly NOT touched

  • Everything under test/integration/ β€” the Node 12/14/18 + Python 3.8 values there are intentional input fixtures for the tool's own patching tests, not runtime targets.

Consumer note

  • The coorpacademy monorepo is already on Node 22, so it is unaffected by the new floor.
  • External consumers on Node <22 must upgrade their runtime before taking the next major.

Validation

  • package.json re-parsed with node -e JSON.parse βœ…
  • .travis.yml re-parsed (YAML anchors resolve; test jobs = node20, node22) βœ…
  • No npm install / full test run β€” CI validates.

πŸ€– Generated with Claude Code

Bump the published @coorpacademy/update-node tool to Node 22 as part of
the Node EOL remediation (CLXP-879).

- .nvmrc: v20.17.0 -> v22.0.0
- package.json engines.node: >=18.12.1 -> >=22.0.0 (BREAKING)
- .travis.yml: default node_js 20 -> 22; drop Node 18 test job (keep 20, 22)
- .github/workflows/ci.yml: drop 18.x from matrix (keep 20.x, 22.x)

The engines floor is a semver-major break for consumers still on Node <22.
Recommend releasing as v8.0.0. Maintainer controls the actual npm publish.
Test/integration fixtures (Node 12/14/18 + Python 3.8) left untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 75.12%. Comparing base (de375f5) to head (323d537).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #155   +/-   ##
=======================================
  Coverage   75.12%   75.12%           
=======================================
  Files          19       19           
  Lines         619      619           
=======================================
  Hits          465      465           
  Misses        154      154           

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@silouone silouone self-assigned this Jun 5, 2026
@silouone silouone merged commit 93aaa8f into master Jun 10, 2026
6 checks passed
@silouone silouone deleted the feat/clxp-879-node22-eol branch June 10, 2026 13:17
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.

3 participants