Skip to content

Conversation

reggi
Copy link
Contributor

@reggi reggi commented Oct 14, 2024

This pr sets npm and all its workspaces dependencies to support Node.js versions ^20.17.0 || >=22.9.0 dropping support for node 18, this is a breaking change and will usher in npm 11.

related to: npm/statusboard#899
part of: npm/statusboard#898
prior art: #7803

@reggi reggi requested a review from a team as a code owner October 14, 2024 15:18
reggi added 21 commits October 14, 2024 11:36
BREAKING CHANGE: @npmcli/docs now supports node `^20.17.0 || >=22.9.0`
…>=22.9.0` BREAKING CHANGE: @npmcli/smoke-tests now supports node `^20.17.0 || >=22.9.0`
… >=22.9.0` BREAKING CHANGE: @npmcli/mock-globals now supports node `^20.17.0 || >=22.9.0`
…| >=22.9.0` BREAKING CHANGE: @npmcli/mock-registry now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmversion now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmteam now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmsearch now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmpublish now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmpack now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmorg now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmhook now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmfund now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmexec now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmdiff now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: libnpmaccess now supports node `^20.17.0 || >=22.9.0`
…9.0` BREAKING CHANGE: @npmcli/config now supports node `^20.17.0 || >=22.9.0`
…2.9.0` BREAKING CHANGE: @npmcli/arborist now supports node `^20.17.0 || >=22.9.0`
BREAKING CHANGE: npm now supports node `^20.17.0 || >=22.9.0`
@reggi reggi force-pushed the node-engine-20-22 branch from f90069a to 88d8d3d Compare October 14, 2024 15:37
@reggi reggi changed the title sets node engine range to `^20.17.0 || >=22.9.0 sets node engine range to ^20.17.0 || >=22.9.0 Oct 14, 2024
Copy link
Member

@wraithgar wraithgar left a comment

Choose a reason for hiding this comment

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

  • v10 branch has already been created.
  • We can enable pre-release mode in any workspaces where we think we'll have more breaking changes prior to any releases we make.
  • Node.js v20.18.0 has been released, but there is no compelling reason to re-do all the work here to limit to that version. In the absence of a particular Node.js feature we wanted to use in npm 11, the floors of each version are a best-effort, not a hard and and fast "latest" rule
@reggi reggi merged commit 852dd8b into latest Oct 14, 2024
237 checks passed
@reggi reggi deleted the node-engine-20-22 branch October 14, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants