Skip to content

Drop support for Node.js 22 and add support for Node.js 26 - #65

Merged
bedrich-schindler merged 1 commit into
masterfrom
bc/node-26
Nov 5, 2026
Merged

bedrich-schindler merged 1 commit into
masterfrom
bc/node-26

Conversation

@bedrich-schindler

@bedrich-schindler bedrich-schindler commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Node.js 26 became the active LTS in October 2026, so the supported versions move from Node.js 22 and 24 to Node.js 24 and 26.

Breaking change: engines.node is now ^24.22.1 || >=26.13.0, so the package no longer supports Node.js 22 and Node.js 24 older than 24.22.1.

Why Node.js 24.22.1 is the minimum

Node.js 24.22.1 is the security release from 2026-10-20. It fixes CVEs in http, dns, tls, crypto, the permission model and brotli, and updates root certificates and OpenSSL. Node.js 26.13.0 is the first LTS release of Node.js 26 and already contains these fixes. Node.js 24.22.2 only adds V8 and stream bug fixes, so it is not required.

Changes

  • devEngines require Node.js ^24.22.1 || ^26.13.0 and npm ^11.19.1. Node.js 24.22.1 bundles npm 11.19.1 and Node.js 26.13.0 bundles npm 11.20.0, so both work with their bundled npm.
  • The node service, .nvmrc and CI use Node.js 26.13.0, the build also runs on Node.js 24.22.2. Versions are exact (x.y.z), because actions/setup-node may otherwise take an older patch version (24.22.1 at the time of writing) from the runner tool cache.

Testing

  • npm test and npm run build on Node.js 26.13.0 and 24.22.2.
  • npm run passes the devEngines check on Node.js 24.22.1 and fails on Node.js 24.20.0.

Comment thread .github/workflows/build.yml Resolved
Node.js 26 became the active LTS in October 2026, so the supported
versions move from Node.js 22 and 24 to Node.js 24 and 26.

- `engines.node` is now `^24.22.1 || >=26.13.0`. Node.js 24.22.1 is the
  security release from 2026-10-20 that fixes CVEs in `http`, `dns`,
  `tls`, `crypto`, the permission model and `brotli` and updates root
  certificates, so older Node.js 24 versions are not allowed. Node.js
  26.13.0 is the first LTS release of Node.js 26 and already contains
  these fixes.
- `devEngines` require Node.js `^24.22.1 || ^26.13.0` and npm `^11.19.1`,
  which is bundled with Node.js 24.22.1. Node.js 26.13.0 bundles npm
  11.20.0.
- The `node` service, `.nvmrc` and CI use Node.js 26.13.0, the build
  also runs on Node.js 24.22.2. Versions are exact (`x.y.z`), because
  `actions/setup-node` may otherwise take an older patch version from
  the runner tool cache.
- Comments in `build.yml` describe how `engines` and `devEngines` are
  set, and that versions in `env` are exact.
@bedrich-schindler
bedrich-schindler merged commit 97fd044 into master Nov 5, 2026
8 checks passed
@bedrich-schindler
bedrich-schindler deleted the bc/node-26 branch November 5, 2026 12:33
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.

2 participants