Repository navigation
Drop support for Node.js 22 and add support for Node.js 26 - #785
Merged
Merged
Conversation
bedrich-schindler
had a problem deploying
to
pr-preview/pr-785
November 4, 2026 21:23 — with
GitHub Actions
Error
Contributor
|
bedrich-schindler
temporarily deployed
to
pr-preview/pr-785
November 4, 2026 21:25 — with
GitHub Actions
Inactive
bedrich-schindler
force-pushed
the
bc/node-26
branch
from
November 4, 2026 21:35
4e74ac4 to
4dba13f
Compare
bedrich-schindler
temporarily deployed
to
pr-preview/pr-785
November 4, 2026 21:38 — with
GitHub Actions
Inactive
bedrich-schindler
force-pushed
the
bc/node-26
branch
from
November 4, 2026 21:59
4dba13f to
72f6bc3
Compare
bedrich-schindler
temporarily deployed
to
pr-preview/pr-785
November 4, 2026 22:00 — with
GitHub Actions
Inactive
bedrich-schindler
force-pushed
the
bc/node-26
branch
from
November 5, 2026 08:37
72f6bc3 to
3fb9910
Compare
bedrich-schindler
temporarily deployed
to
pr-preview/pr-785
November 5, 2026 08:38 — with
GitHub Actions
Inactive
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. - CI Playwright image is updated to `v1.64.1` to match `@playwright/test`.
Microsoft rebuilds Playwright image tags in place. `v1.64.1` was rebuilt with Node.js 26 instead of 24 on 2026-11-01, which broke the `devEngines` check in the `playwright` service. The base image is now pinned by digest, so Node.js, the OS and browsers change only when the digest is updated. The pinned image contains Node.js 26.13.0 and npm 11.20.0, the same versions as the `node` service. The Playwright CI workflow uses the same digest.
bedrich-schindler
force-pushed
the
bc/node-26
branch
from
November 5, 2026 10:43
3fb9910 to
3a78d95
Compare
This branch was successfully deployed
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.v1.63.0tov1.64.1to match@playwright/test.playwrightservice and the Playwright CI workflow are pinned by digest. The pinned image contains Node.js 26.13.0 and npm 11.20.0, the same versions as thenodeservice.Why the
playwrightservice is pinnedMicrosoft rebuilds Playwright image tags in place.
v1.64.1was built with Node.js 24 on 2026-10-23 and rebuilt with Node.js 26 on 2026-11-01 from therelease-1.64branch, see microsoft/playwright#43759. Pinning the tag alone is therefore not enough to keep Node.js, the OS and browsers stable. With the digest, they change only when the digest is updated, so the Node.js version in the image must be checked againstdevEngineson each Playwright update.Testing
npm run lint,npm test,npm run buildandnpm run test:playwright-ct:all(1010 passed) on Node.js 26.13.0.npm run lint,npm testandnpm run buildon Node.js 24.22.2.npm runpasses thedevEnginescheck on Node.js 24.22.1 and in the newplaywrightservice, and fails on Node.js 24.20.0 and 22 as expected.Once merged, the Playwright fallback in the
releaseskill from #783 can be removed.Closes #782