Skip to content

chore: update node support to LTS and current versions - #102

Merged
blakeembrey merged 3 commits into
jshttp:masterfrom
Phillip9587:raise-supported-node-version
Jul 31, 2026
Merged

chore: update node support to LTS and current versions#102
blakeembrey merged 3 commits into
jshttp:masterfrom
Phillip9587:raise-supported-node-version

Conversation

@Phillip9587

Copy link
Copy Markdown
Contributor

Node.js 18, 19, 20, 21, 23, 25 are EOL.: https://nodejs.org/en/about/previous-releases

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b1abc36) to head (8661ebf).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #102   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           41        41           
  Branches        13        13           
=========================================
  Hits            41        41           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread package.json Outdated
},
"engines": {
"node": ">=18"
"node": "^22.11.0 || ^24.11.0 || >=26.0.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a significance to these minors or should we just do >=22? Idk if there's much value excluding the odd versions even though they're unsupported.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the minor versions where each Node.js release line entered LTS. Restricting support to LTS versions gives us a stable, officially supported baseline with security updates and avoids implying support for short-lived odd-numbered releases.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One additional note: under Node.js’s new release model, these are the only unsupported odd-numbered releases. All future major release lines are expected to eventually enter LTS.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think supporting >=22 would be a bad idea either. Morgan depends on this package anyway, and using a non-LTS release hasn't caused any issues so far.

@blakeembrey blakeembrey Jul 31, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. I do agree that >=22 is probably simpler for compatibility with other packages (I'm also using >=22 in other packages) and we don't necessarily have to align with node.js support since these are mostly just JS features. Anything in 22 is likely in 23+ too.

@blakeembrey
blakeembrey merged commit d676314 into jshttp:master Jul 31, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants