Skip to content

Add support for alpha versions of node - #850

Draft
shadowspawn wants to merge 5 commits into
developfrom
feature/rework-release-policy
Draft

Add support for alpha versions of node#850
shadowspawn wants to merge 5 commits into
developfrom
feature/rework-release-policy

Conversation

@shadowspawn

@shadowspawn shadowspawn commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

See #847 for more background and discussion.

Problem

Node.js is switching to yearly releases, with alpha -> current -> lts

What do we do with labels to support new policy?

Solution

Keep using latest and current labels, with refined behaviour for current:

  • latest: newest release
  • current: newest release ignoring alpha versions

Node.js will have periods when there is not a version in its "current" phase. We just match our current label to newest non-alpha, so may actually be in current or LTS phase. This seems more useful than being pedantic and returning an error.

Add some extra handling for:

  • excluding alpha versions from current
  • sorting local listing so prerelease comes before release versions

Remove lts_latest from README.

ChangeLog

- current should ignore alpha
- beef up local sorting to get releases after prerelease
- support offline install of alpha version
- deprecate lts_latest
@shadowspawn

Copy link
Copy Markdown
Collaborator Author

Node.js is going with triple alpha numbers so can show semver major changes. First release going to be 27.0.0-alpha.0.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant