Repository navigation
Handle Node.js alpha releases - #26
richardlau wants to merge 1 commit into
Conversation
Create `latest-vN.x` links for Node.js alpha releases. Do not link `latest` to alpha releases. Signed-off-by: Richard Lau <[email protected]>
I'm surprised that this hasn't been figured out yet as part of the switch! I was also surprised to find that |
and a suggestion to have a separate |
|
As also mentioned in nodejs/node#67224 (comment) The actions/setup-node team are addressing these related issues:
Although they may share alias names, they are not dependent on this PR. They make their own decision about what they term It makes the resolution of related issues more complex because each of the Node.js version managers is taking their own decisions about what aliases to use and how to interpret them. |
I did raise this issue in nodejs/Release#1171 on behalf of the docker-node repo back in August 2026. It didn't however receive any feedback (apart from my fellow docker-node team member), and so here we are, after the release of Node.js 27 Alpha and still discussing what Users must be given a choice of whether they get Alpha versions installed or not. Nobody should accidently get an Alpha version. Packages published to the npm registry use the convention of Currently https://nodejs.org/download/release/latest/ serves Node.js 26.13.0. I support leaving it this way, so it points to either the current version or LTS version, whichever one of those is the highest non-prerelease version. It should not point to any Alpha pre-release. |
I support using that as the standard, latest is non-alpha, |
|
Unfortunately the definitions and usage are all over the place. According to https://github.com/nodejs/release#readme According to their response in actions/setup-node#1660 (comment) they're planning to change the effect of specifying |
|
I'm in favor to not exclude Alpha releases from |
|
There would need to be a decision about the necessity to differentiate between the alpha phase of latest and the current phase of latest. If everyone who selects If there are users who don't want an Alpha release, but do want to track the otherwise latest release then an extra alias is going to be necessary. Tracking |
and .. by extension there was no need for this new "alpha" language, surely there's an original reasoning behind the switch to alpha from "current" that should make it easier to reason about these downstream changes? |
Alpha allows The November 2026 security releases also did not include any Alpha release, and I'd assume this would true for future security releases as well. So, there are stability differences between lts, Current and Alpha. Each of these should be individually selectable, whatever alias names are used. |
|
Related to this PR, which would also create a new link https://nodejs.org/download/docs/latest-v27.x/, there is the issue that the docs aren't getting populated (see nodejs/release-cloudflare-worker#1093), so at the moment there is no generic link for finding the 27 Alpha documentation. See also nodejs/nodejs.org#9254 I would still suggest to go ahead with this PR. |
Create
latest-vN.xlinks for Node.js alpha releases. Do not linklatestto alpha releases.Fixes: #24
There's still some debate on whether
latestshould point to the alphas. At the moment (without any changes)latestis not pointing at thev27.0.0-alpha.0.0.0release, and this PR does not change that. We can PR further changes later if needed.Refs: #23
Refs: nodejs/node#67224
cc @nodejs/build @nodejs/releasers
FYI @nodejs/version-management