Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase required minimum version to Node 18 #3203

Merged
merged 3 commits into from
Dec 25, 2023
Merged

Increase required minimum version to Node 18 #3203

merged 3 commits into from
Dec 25, 2023

Conversation

amcaplan
Copy link
Contributor

@amcaplan amcaplan commented Dec 14, 2023

WHY are these changes introduced?

Drops support for Node 16, which will allow us to:

  1. More strongly discourage use of EoL Node versions
  2. Upgrade oclif to the latest major version (and make similar upgrades possible in the future, as deps drop support for Node 16)

NOTES:

  • Node 16 has been EoL since 2023-09-11 and we already warn on usage of the CLI when Node <18 is used, so users should be aware this is coming.
  • The docs already specify Node 18+ as a requirement

WHAT is this pull request doing?

Updates:

  • engines field in package.jsons
  • GitHub workflows
  • @types/node to look for Node 18

I didn't touch any ui-extensions-* packages, as those generally work differently and I'm not as certain what's needed.

How to test your changes?

Things should continue to work, generally speaking.

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Copy link
Contributor

github-actions bot commented Dec 14, 2023

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
72.98% (+0.03% 🔼)
6250/8564
🟡 Branches
70.41% (+0.07% 🔼)
3039/4316
🟡 Functions 71.75% 1585/2209
🟡 Lines
74.14% (+0.03% 🔼)
5934/8004

Test suite run success

1483 tests passing in 669 suites.

Report generated by 🧪jest coverage report action from 1d6fe34

@amcaplan amcaplan force-pushed the kill-node-16 branch 2 times, most recently from db8d229 to 5bda227 Compare December 18, 2023 18:35
Copy link
Contributor

@gonzaloriestra gonzaloriestra left a comment

Choose a reason for hiding this comment

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

Docs say we require Node.js 18 or higher. But it's actually 18.12 or higher, should we update it to be more accurate? cc: @shainaraskas

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