nodejs / corepack

Zero-runtime-dependency package acting as bridge between Node projects and their package managers
MIT License
2.57k stars 169 forks source link

chore: update supported Node.js versions #258

Closed aduh95 closed 1 year ago

aduh95 commented 1 year ago

BREAKING CHANGE: remove support for Node.js 14.x

aduh95 commented 1 year ago

It doesn't cost much, if anything, to support Node.js v14.14.0

Pnpm v8 doesn't support Node.js v14.x anymore, so if we want to keep the pace, we have to drop it on CI, and if we drop it on CI, we should probably not document that we support it.

why specifically v16.20.0 was chosen as the minimum?

It's the latest v16 version, I don't have the bandwidth to test all the versions, using the latest seems easier and safer anyway.

styfle commented 1 year ago

It doesn't cost much, if anything, to support Node.js v14.14.0 so could you document why support for it is dropped

Another reason to drop node@14 is that it reaches EOL on 2023-04-30 in a couple weeks so newer versions of Corepack won't be distributed with future node@14 because there will be none after that date.