Skip to content

Clarify Node version requirements#1035

Merged
ecraig12345 merged 2 commits intomicrosoft:masterfrom
ecraig12345:node-docs
Mar 13, 2026
Merged

Clarify Node version requirements#1035
ecraig12345 merged 2 commits intomicrosoft:masterfrom
ecraig12345:node-docs

Conversation

@ecraig12345
Copy link
Member

@ecraig12345 ecraig12345 commented Mar 6, 2026

Lage v2 was originally intended to continue working with Node 14 with a flag, but this drifted over time because it turns out yarn v4 doesn't enforce engines... The required version if using Azure blob storage had particularly drifted (as high as 20) due to the Azure SDK's refusal to follow semver and releasing breaking engines changes in minors.

This PR adds an explicit engines.node requirement of >=16.14.0, and adds a plugin I wrote to enforce it. However, as a compromise with the @azure/* packages, I downgraded those to the newest version compatible with Node 18 (instead of 20 in the latest versions)--so Node 18 is required if using Azure blob storage for caching. (From limited local testing, it appears that the bundle parses properly with Node 16.)

@ecraig12345 ecraig12345 merged commit d6dd822 into microsoft:master Mar 13, 2026
10 of 20 checks passed
@ecraig12345 ecraig12345 deleted the node-docs branch March 13, 2026 19:37
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