8000 feat!: drop Node.js 20 support by camcima · Pull Request #89 · camcima/finita · GitHub
[go: up one dir, main page]

Skip to content

feat!: drop Node.js 20 support - #89

Merged
camcima merged 1 commit into
mainfrom
feat/drop-node-20
Oct 30, 2026
Merged

camcima merged 1 commit into
mainfrom
feat/drop-node-20

Conversation

@camcima
@camcima camcima commented Oct 30, 2026
Copy link
Copy Markdown
Owner

Summary

Drops Node.js 20 support (EOL). The minimum supported runtime is now Node.js 22.

What changed

  • package.json: engines.node raised from >=20.0.0 to >=22.0.0.
  • .github/workflows/ci.yml: build matrix is now [22, 24] (was [20, 22, 24]). The matrix.node-version == 22 / != 22 conditions are unchanged: coverage and Codecov uploads still run on 22 (the new floor), plain pnpm test runs on 24.
  • README.md: Node.js badge now shows 22 | 24.
  • CONTRIBUTING.md: requires Node.js 22+; CI covers 22 and 24.
  • .github/dependabot.yml:
    • Removed the vitest / @vitest/coverage-v8 >=5 ignore (it existed only because vitest 5 drops Node 20).
    • Replaced the blanket @types/node ignore with an ignore of version-update:semver-major only, so minor/patch updates resume. @types/node is already a direct devDependency at ^26.0.1 (above the 22 floor), so its version is left as is.
    • Kept the npm ecosystem.

No dependency versions or lockfile changes. Lint, typecheck, build and tests (441 passed) pass locally on Node 22.22.2.

Historical review/spec docs (ARCHITECTURE_REVIEW.md, PRINCIPAL_ARCHITECT_REVIEW.md, docs/superpowers/specs/) still mention Node 20; they record past state and were left unchanged on purpose.

Breaking change

Consumers on Node.js 20 are no longer supported. This needs a major release (v5.0.0) whenever you choose to cut it with release-it.

Downstream note: duraflows depends on finita (duraflows v2 got its Node 20 floor from finita v3). Its Node 20 drop is being done in a separate PR.

Required status checks

The "Protect main" ruleset requires build (20), which this PR removes. It will never report, so the PR stays blocked until that check comes out of the ruleset:

Old required check New
build (20) (remove; no replacement)
build (22) build (22) (unchanged)
build (24) build (24) (unchanged)

CodeQL, OSV-Scanner and Verify publishable tarball are unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T9avC3TqLsCWMgUeVcV9JZ

Copilot AI balanced review requested due to automatic review settings October 30, 2026 17:41
Copilot AI left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@codecov
codecov Bot commented Oct 30, 2026 •
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.35%. Comparing base (706c717) to head (523125e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage   99.35%   99.35%           
=======================================
  Files          55       55           
  Lines         772      772           
  Branches      158      158           
=======================================
  Hits          767      767           
  Partials        5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Node.js 20 reached end of life. Raise the engines.node floor to >=22.0.0,
remove Node 20 from the CI test matrix (now 22 and 24, with coverage still
collected on 22), and update the README badge and CONTRIBUTING to match.

In dependabot.yml, drop the vitest/@vitest/coverage-v8 >=5 ignore that
existed only because vitest 5 drops Node 20, and narrow the blanket
@types/node ignore to semver-major updates only.

BREAKING CHANGE: Node.js 20 is no longer supported; the minimum is now Node.js 22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T9avC3TqLsCWMgUeVcV9JZ
@camcima
camcima merged commit dc7018d into main Oct 30, 2026
7 checks passed
@camcima
camcima deleted the feat/drop-node-20 branch October 30, 2026 18:57
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.

2 participants

0