Repository navigation
Drop support for Node.js 22 and add support for Node.js 26 - #65
Merged
Merged
Conversation
bedrich-schindler
force-pushed
the
bc/node-26
branch
2 times, most recently
from
November 5, 2026 08:37
029fffd to
e974bbb
Compare
mbohal
approved these changes
Nov 5, 2026
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
force-pushed
the
bc/node-26
branch
from
November 5, 2026 10:44
e974bbb to
4fc69e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.nodeis 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 andbrotli, 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 andstreambug fixes, so it is not required.Changes
devEnginesrequire Node.js^24.22.1 || ^26.13.0and 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.nodeservice,.nvmrcand CI use Node.js 26.13.0, the build also runs on Node.js 24.22.2. Versions are exact (x.y.z), becauseactions/setup-nodemay otherwise take an older patch version (24.22.1 at the time of writing) from the runner tool cache.Testing
npm testandnpm run buildon Node.js 26.13.0 and 24.22.2.npm runpasses thedevEnginescheck on Node.js 24.22.1 and fails on Node.js 24.20.0.