Skip to content

fix(env): resolve latest to absolute latest Node.js version#1253

Merged
graphite-app[bot] merged 1 commit intomainfrom
fix-node-latest
Apr 1, 2026
Merged

fix(env): resolve latest to absolute latest Node.js version#1253
graphite-app[bot] merged 1 commit intomainfrom
fix-node-latest

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Apr 1, 2026

Previously, vp env install latest resolved to the highest LTS version
because it called resolve_version("*") which prefers LTS. Now the
explicit latest keyword uses a dedicated resolve_absolute_latest_version()
method that returns the highest version regardless of LTS status.

The * wildcard and other semver ranges retain their LTS-preference behavior.

Closes #1188

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 4bf3ec1
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69ccca731a2f2f0008f0d9c1

@fengmk2 fengmk2 marked this pull request as ready for review April 1, 2026 07:21
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 1, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 requested review from TheAlexLichter and cpojer April 1, 2026 07:21
@fengmk2 fengmk2 self-assigned this Apr 1, 2026
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Apr 1, 2026

Merge activity

Previously, `vp env install latest` resolved to the highest LTS version
because it called `resolve_version("*")` which prefers LTS. Now the
explicit `latest` keyword uses a dedicated `resolve_absolute_latest_version()`
method that returns the highest version regardless of LTS status.

The `*` wildcard and other semver ranges retain their LTS-preference behavior.

Closes #1188
@graphite-app graphite-app bot force-pushed the fix-node-latest branch from 4028a74 to 4bf3ec1 Compare April 1, 2026 07:34
@graphite-app graphite-app bot merged commit 4bf3ec1 into main Apr 1, 2026
33 checks passed
@graphite-app graphite-app bot deleted the fix-node-latest branch April 1, 2026 07:40
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.

Does not install the 'latest' Node.js version

3 participants