Node.js 17 end of life
Node.js 17 reached its end of life on Jun 1, 2022. It no longer gets security fixes, and since your app keeps running, nothing tells you.
Ended Jun 1, 2022Move to Node.js 24
What to move to: Node.js 24
Node.js 24 is the oldest version still supported for at least another year, until Apr 30, 2028. Only long-term support (LTS) versions count, never an odd-numbered Current release. Jumping further than you need adds risk for no benefit; jumping less means doing this again soon.
Where the version hides
The same version is usually written in several files, and they all have to change together. Examples of each, moving to Node.js 24:
| File (example) | Before | After |
|---|---|---|
.nvmrc | 17 | 24 |
Dockerfile | node:17-alpine | node:24-alpine |
.github/workflows/ci.yml | node-version: 17 | node-version: 24 |
package.json | engines.node "17.x" | engines.node "24.x" |
Doing it yourself
- Search the repository for
17in version files, Dockerfiles and CI workflows, not just the main manifest. - Delete
node_modulesand install again on the new version: native modules are built for one Node.js version. - Keep or update any test matrix that lists several versions on purpose; that's a choice, not a pin.
- Run your tests on the old version first, then on the new one, so failures that were already there aren't blamed on the upgrade.
Let Versyka open the pull request
Versyka finds every place Node.js 17 is set in your repositories, changes them together to Node.js 24, and runs your checks on the old version and then the new one in a sandbox. The pull request opens only if nothing new fails, and lists anything it left for you to decide. It's a version upgrade, so it's unlimited on every plan, the free one included.
Questions
When is Node.js 17 end of life?
Jun 1, 2022. It has ended, so it no longer gets security fixes.
What should I upgrade Node.js 17 to?
Node.js 24, the oldest version still supported for at least another year (until Apr 30, 2028). It's the smallest jump that won't need moving again soon.
Where is the Node.js version set in a project?
Usually in several places at once: .nvmrc, .node-version, a Dockerfile's FROM node: line, CI workflows (node-version:), and engines.node in package.json. All of them need to change together.
Can Versyka upgrade Node.js 17 for me?
Yes. It changes every pin together, runs your checks on the old version and then the new one, and opens a pull request only if nothing new fails. It's unlimited on every plan, the free one included.
Other Node.js versions
Node.js 16 · Node.js 18 · Node.js 20 · Node.js 22 · Node.js 24 · All versions