Skip to content

chore: drop Node 20 support (engines, CI matrix, docs) - #105

Merged
Hiksang merged 2 commits into
mainfrom
chore/drop-node20
Nov 15, 2026
Merged

Hiksang merged 2 commits into
mainfrom
chore/drop-node20

Conversation

@Hiksang

@Hiksang Hiksang commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Ends Node 20 support, as decided by the owner. Node 20 reached end of life on 2026-04-30.

  • engines.node: ^20.0.0 || ^22.0.0 || ^24.0.0 → ^22.0.0 || ^24.0.0.
  • CI matrix: [20, 22, 24] → [22, 24].
  • Docs: CONTRIBUTING.md, docs/TESTING.md and the skills/perp-cli/SKILL.md compatibility line.

No source change. No version bump (that belongs to the release).

Before merging — please read

  • Branch protection on main requires the check Build & Test (20). This PR removes that job, so the check will never report. The owner must change the required checks to Build & Test (22) and Build & Test (24) in the repository settings before this PR, or any later PR, can merge without an admin override.
  • User impact: on Node 20, npm install -g perp-cli prints an engine warning (it fails only with engine-strict). This is a support change, so it should be called out in the release notes; whether it needs a minor version bump is the owner's call.
  • @hypurrquant/perp-ws is not changed (engines.node >=20, README "Node 20+"). It is a separately published package whose /node entry exists because Node 20 has no global WebSocket. After this PR it still declares Node 20 while CI no longer tests it; the release gate (scripts/ws-gate/release-gate.mjs) still runs its consumer steps under every local Node ≥ 20. Narrowing perp-ws is a separate decision.
  • Overlap with ci: drop PR integration step and Node 20, add coverage and audit reports #103: ci: drop PR integration step and Node 20, add coverage and audit reports #103 makes the same matrix and docs/TESTING.md change. Merge this PR first; ci: drop PR integration step and Node 20, add coverage and audit reports #103 then needs only a CHANGELOG conflict resolved and its "engines is unchanged" wording corrected.

Checklist

  • pnpm install --frozen-lockfile works; README / skill sync tests pass (2 files / 17 tests)
  • Full pnpm test not run locally (no source change); this PR's CI run covers it on Node 22 / 24
  • No secrets, API keys, or private keys included
  • Breaking change? Yes: Node 20 is no longer supported

Testing standard (docs/TESTING.md §7)

  • No test or fixture change

Not independently reviewed.

Live ↔ Unit Test Cross-Validation

Not applicable.

🤖 Generated with Claude Code

Node 20 reached end of life on 2026-04-30. engines.node becomes
^22.0.0 || ^24.0.0 and CI tests Node 22 and 24. The standalone
@hypurrquant/perp-ws package keeps >=20.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Hiksang
Hiksang merged commit ff72b1c into main Nov 15, 2026
4 checks passed
@Hiksang
Hiksang deleted the chore/drop-node20 branch November 15, 2026 09:28
Hiksang added a commit that referenced this pull request Nov 15, 2026
CHANGELOG: both sides kept; the Node 20 matrix note is dropped from this
branch's entry because main now carries the Node 20 support change (#105).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant