Skip to content

fix: use more explicit node.js version range#39398

Merged
serhalp merged 5 commits intomasterfrom
fix/more-explicit-node-range
Jan 26, 2026
Merged

fix: use more explicit node.js version range#39398
serhalp merged 5 commits intomasterfrom
fix/more-explicit-node-range

Conversation

@serhalp
Copy link
Copy Markdown
Member

@serhalp serhalp commented Jan 20, 2026

Description

This isn't a breaking change, as the previous range was >=18.0.0, which is inclusive of all versions that currently exist.

The purpose of this change is to ensure that our current ranges don't automatically start claiming to support node.js 26 (and so on) the day it is released.

This also makes it clearer that Gatsby now explicitly supports Node.js 22 and 24.

Documentation

https://www.gatsbyjs.com/docs/tutorial/getting-started/part-0/#nodejs

Tests

N/A but in #39380 we started testing against node.js 24

Related Issues

N/A

This isn't a breaking change, as the previous range was `>=18.0.0`, which is inclusive of these
versions. The only change is that this does drop 19, 21, 23, and 25, but Gatsby documents that only
LTS releases are supported.
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 20, 2026
@serhalp serhalp marked this pull request as ready for review January 21, 2026 15:16
@serhalp serhalp changed the title fix: set node.js version range to more explicit range (18, 20, 22, 24) fix: use more explicit node.js version range Jan 23, 2026
@serhalp serhalp removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 26, 2026
@serhalp serhalp requested a review from pieh January 26, 2026 14:06
@serhalp serhalp merged commit ede00a5 into master Jan 26, 2026
74 checks passed
@serhalp serhalp deleted the fix/more-explicit-node-range branch January 26, 2026 18:08
serhalp added a commit that referenced this pull request Jan 26, 2026
* fix: set node.js version range to 18 + 20 + 22 + 24

This isn't a breaking change, as the previous range was `>=18.0.0`, which is inclusive of all versions that currently exist.

The purpose of this change is to ensure that our current ranges don't automatically start claiming to support node.js 26 (and so on) the day it is released.
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.

2 participants