You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Outdated definition for latest alias under https://nodejs.org/download/release #67224
I reckon it would be simpler to keep latest for Alpha versions. We tried to make the schedule so the Alpha versions are drop-in replacement for the "short-lived odd-numbered" release lines of the old schedule, so arguably it's logical to apply the same latest label to it
10. I reckon it would be simpler to keep latest for Alpha versions. We tried to make the schedule so the Alpha versions are drop-in replacement for the "short-lived odd-numbered" release lines of the old schedule, so arguably it's logical to apply the same latest label to it
Effectively I made the same suggestion to move latest from the LTS version to the Alpha version when I submitted #67135. Based on community feedback and increased understanding about the internal and external impact, I withdrew that suggestion and closed the issue.
I now believe that it would be disruptive and risky to change the usage of latest (from how it is being applied at the moment). It's currently pointing to Node.js 26.13.0 - the Active LTS release. It's fine to move latest to Node.js 27.0.0 next year (plan date 2027-04-22) when it moves to Current status.
Related request nodejs/nodejs-latest-linker#25 to add a next alias (or similar name) to track the highest Alpha or Current release, whichever is available).
current/latest/node always resolve to the latest dist version. That version is then downloaded from actions/node-versions if possible, or directly from Node.js if not. Since it will not be cached always, there is possibility of hitting rate limit when downloading from dist
In effect, nodejs/nodejs-dist-indexer#107 has made the decision for you and you should either roll with and make latest be the alpha, or wind that back. This probably should have been planned out more carefully when coming up with the alpha strategy in the first place, but this is where we're at now.
You're describing a related topic, and there are already issues being worked on by the actions/setup-node team to correct this, and make it a user choice about whether Alpha is installed or not:
#67135 (comment) has a list of a few Node.js version managers which have converted to interpreting latest (or node) so that Alpha versions are excluded.
The entire point of alpha was "never use this in production" which also means nobody should get it by default. The decision to include it in index.tab/json in the first place was a mistake, and one that will inevitably be worked around by every version manager. It would be much more efficient to stop listing alphas there at all.
The entire point of alpha was "never use this in production".
Entire point? I thought a major point of introducing alpha was to allow node to include breaking changes in a major version line which will eventually be promoted to production (aka LTS).
It would be much more efficient to stop listing alphas there at all.
A different location would have prevented alphas appearing unexpectedly. No argument there.
But people encountering this are mostly using an alias/tag/label which implicitly was give-me-a-version-which-can-change-major-and-is-not-recommended-for-production. Albeit they may not have realised, which was part of the problem! At least with alpha in the version it is more noticeable now.
One of the desires is to have library maintainers test the alpha version, especially in CI. If the alphas were listed somewhere else then every version manager would need to add support for a new source before it was conveniently possible, if they even did.
My own path for interest. In advance of the alpha availability I decided to make n include alphas in latest like the odd versions were (same reasoning as @aduh95 described in earlier comment). Given nobody else has explicitly taken that route since the alpha release, I have now changed the behaviour to make alphas opt-in: excluded alphas from latest and added new latest-any label.
@shadowspawn it was indeed both. To allow multiple releases with breaking changes in the same "pre production" release line.
Maintainers are much more likely to figure out how to install an alpha version than users are likely to figure out they shouldn't be using one. There are FAR more non-maintainers than maintainers, and the non-maintainers must be considered a higher priority.
The decision to include it in index.tab/json in the first place was a mistake, and one that will inevitably be worked around by every version manager. It would be much more efficient to stop listing alphas there at all.
Version managers are indeed working around this, for example:
It would have been preferable to plan, publish and discuss these details before the Alpha release, but that didn't happen. The question was first asked on Oct 16, 2026 in nodejs/build#4522 less than 2 weeks before the release! Changing it now would be a breaking change and would spark off another round of adaption. It would break docker-node's Alpha publishing for instance.
So my suggestion remains to document how things have been set up for the Alpha release, and my request is now not to make any related breaking changes for the Node.js 27 Alpha release. Learn from the Node.js 27 Alpha and make any necessary changes for the future Node.js 28 instead.
The section should be able to describe what is in the latest directory and where to find Alpha releases. This is still under discussion in nodejs/nodejs-latest-linker#26.
Activity
Saru-Work commentedon Nov 3, 2026
MikeMcC399 commentedon Nov 3, 2026
MikeMcC399 commentedon Nov 4, 2026
I learned in https://github.com/nodejs/Release/issues/1196 that creation of the
latest-*symlinks is done by https://github.com/nodejs/nodejs-latest-linker which is owned by the Build WG (@nodejs/build).Edit: nodejs/nodejs-latest-linker#23 open to clarify / update the documentation also in that repo.
aduh95 commentedon Nov 4, 2026
I reckon it would be simpler to keep latest for Alpha versions. We tried to make the schedule so the Alpha versions are drop-in replacement for the "short-lived odd-numbered" release lines of the old schedule, so arguably it's logical to apply the same latest label to it
MikeMcC399 commentedon Nov 4, 2026
Effectively I made the same suggestion to move
latestfrom the LTS version to the Alpha version when I submitted #67135. Based on community feedback and increased understanding about the internal and external impact, I withdrew that suggestion and closed the issue.I now believe that it would be disruptive and risky to change the usage of
latest(from how it is being applied at the moment). It's currently pointing to Node.js 26.13.0 - the Active LTS release. It's fine to movelatestto Node.js 27.0.0 next year (plan date 2027-04-22) when it moves to Current status.aduh95 commentedon Nov 4, 2026
FWIW pointing to an LTS release is a change, it's never pointed to a LTS release until now
MikeMcC399 commentedon Nov 4, 2026
Related request nodejs/nodejs-latest-linker#25 to add a
nextalias (or similar name) to track the highest Alpha or Current release, whichever is available).rvagg commentedon Nov 6, 2026
I think this is being decided for you already by the inclusion of the alphas in dist.json. https://github.com/actions/setup-node#supported-version-syntax
So even now, anyone using
currentin GHA is getting v27, e.g. https://github.com/rvagg/cborg/actions/runs/41948775554/job/126987451423In effect, nodejs/nodejs-dist-indexer#107 has made the decision for you and you should either roll with and make
latestbe the alpha, or wind that back. This probably should have been planned out more carefully when coming up with the alpha strategy in the first place, but this is where we're at now.MikeMcC399 commentedon Nov 6, 2026
@rvagg
You're describing a related topic, and there are already issues being worked on by the actions/setup-node team to correct this, and make it a user choice about whether Alpha is installed or not:
allow-prereleases(or similar) option for Node.js 27 Alpha actions/setup-node#1657latest& (current&node) install v27.0.0-alpha.0.0.0 not 26.13.0 actions/setup-node#1660MikeMcC399 commentedon Nov 18, 2026
#67135 (comment) has a list of a few Node.js version managers which have converted to interpreting
latest(ornode) so that Alpha versions are excluded.That matches the way that https://nodejs.org/download/release/latest/ is populated (at the moment it's showing
node-v26.13.1*files).GitHub Actions actions/setup-node suggest currently to run from the
mainbranch to avoidlatestreferring to an Alpha release.ljharb commentedon Nov 19, 2026
The entire point of alpha was "never use this in production" which also means nobody should get it by default. The decision to include it in index.tab/json in the first place was a mistake, and one that will inevitably be worked around by every version manager. It would be much more efficient to stop listing alphas there at all.
shadowspawn commentedon Nov 20, 2026
Entire point? I thought a major point of introducing alpha was to allow node to include breaking changes in a major version line which will eventually be promoted to production (aka LTS).
A different location would have prevented alphas appearing unexpectedly. No argument there.
But people encountering this are mostly using an alias/tag/label which implicitly was give-me-a-version-which-can-change-major-and-is-not-recommended-for-production. Albeit they may not have realised, which was part of the problem! At least with alpha in the version it is more noticeable now.
One of the desires is to have library maintainers test the alpha version, especially in CI. If the alphas were listed somewhere else then every version manager would need to add support for a new source before it was conveniently possible, if they even did.
My own path for interest. In advance of the alpha availability I decided to make
ninclude alphas inlatestlike the odd versions were (same reasoning as @aduh95 described in earlier comment). Given nobody else has explicitly taken that route since the alpha release, I have now changed the behaviour to make alphas opt-in: excluded alphas fromlatestand added newlatest-anylabel.ljharb commentedon Nov 20, 2026
@shadowspawn it was indeed both. To allow multiple releases with breaking changes in the same "pre production" release line.
Maintainers are much more likely to figure out how to install an alpha version than users are likely to figure out they shouldn't be using one. There are FAR more non-maintainers than maintainers, and the non-maintainers must be considered a higher priority.
MikeMcC399 commentedon Nov 20, 2026
Version managers are indeed working around this, for example:
Also https://github.com/nodejs/docker-node has adapted to
index.jsonincluding Alpha releases in the list and it publishes Node.js 27 Alpha images to https://hub.docker.com/_/node discovered this way.It would have been preferable to plan, publish and discuss these details before the Alpha release, but that didn't happen. The question was first asked on Oct 16, 2026 in nodejs/build#4522 less than 2 weeks before the release! Changing it now would be a breaking change and would spark off another round of adaption. It would break
docker-node's Alpha publishing for instance.So my suggestion remains to document how things have been set up for the Alpha release, and my request is now not to make any related breaking changes for the Node.js 27 Alpha release. Learn from the Node.js 27 Alpha and make any necessary changes for the future Node.js 28 instead.
MikeMcC399 commentedon Nov 23, 2026
Wait for nodejs/nodejs-latest-linker#26 before updating the text in the README > Current and LTS releases documentation section.
The section should be able to describe what is in the
latestdirectory and where to find Alpha releases. This is still under discussion in nodejs/nodejs-latest-linker#26.latest-v27.xin https://nodejs.org/download/release nodejs-latest-linker#24