Skip to content

feat(node): support LTS version queries, use LTS as default node version - #650

Open
iloveitaly wants to merge 3 commits into
railwayapp:mainfrom
iloveitaly:mise/lts-version-support
Open

feat(node): support LTS version queries, use LTS as default node version#650
iloveitaly wants to merge 3 commits into
railwayapp:mainfrom
iloveitaly:mise/lts-version-support

Conversation

@iloveitaly

Copy link
Copy Markdown
Collaborator

Motivation

Railpack could not resolve non-semver mise aliases such as lts, preventing Node from defaulting to the current LTS release.

Description

Preserve mise-compatible aliases while retaining normalized semver fallbacks, and change the default Node version from 22 to lts. Update the Node documentation accordingly.

Test

  • Added coverage for resolving the Node lts alias.
  • Added coverage for normalized and original version query candidates.

Links

Relates to #203

@iloveitaly iloveitaly changed the title feat(mise): support LTS version queries feat(mise): support LTS version queries, use LTS as default node version Jul 27, 2026
@iloveitaly iloveitaly changed the title feat(mise): support LTS version queries, use LTS as default node version feat(node): support LTS version queries, use LTS as default node version Jul 27, 2026
- Add support for resolving LTS and other non-semver version aliases in mise
- Introduce `versionQueryCandidates` to gracefully fall back from extracted semver to original version strings
- Add unit tests for LTS resolution and version query candidate generation

Generated-by: aiautocommit
- Fallback to unconstrained release age queries when strict minimum age checks fail to respect pinned versions or custom configs.
- Include tried candidate versions in error messages to improve debugging when package lookups fail.

Generated-by: aiautocommit
@iloveitaly
iloveitaly force-pushed the mise/lts-version-support branch from 6efdac9 to fd5af6f Compare July 28, 2026 13:59
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