shift-org/shift-docs

Update to latest Node v20.x version

Closed this issue · 4 comments

We're a couple of patch versions behind — review the changelog, check for an updated Docker image, and update:

https://nodejs.org/en/about/previous-releases
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md
https://hub.docker.com/_/node/tags

i wasn't sure if maybe we wanted to stick with the lts version or not?
( though i guess, if so we should probably all be pinned to the same version for local dev; so not sure. )
i also noticed, installing on a new machine, many of the libraries have minor version changes.
( can be seen by running npm i --package-lock-only and then checking the package-lock.json )

Somewhat confusingly, I think they just designate the major version as LTS rather than a specific minor/patch version. So v20 is a sort of rolling LTS, with the most recent minor/patch version taking over the older ones. https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md shows each minor/patch version within v20 as an LTS release.

oh. gotcha. i was misreading.
you're right: their edge version is actually 22. upgrading to the latest 20 i think makes sense.

Been doing some local testing with v20.15.0, no issues observed so far.