Skip to content
New issue

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

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

Already on GitHub? # to your account

Bump Node from v18 to v20 #5005

Merged
merged 7 commits into from
Jun 3, 2024
Merged

Bump Node from v18 to v20 #5005

merged 7 commits into from
Jun 3, 2024

Conversation

hbruch
Copy link
Contributor

@hbruch hbruch commented May 20, 2024

This is an alternative PR for #5003 to update node even further to currently active v20, which, as even numbered version will be LTS and maintained until spring 2026.

Proposed Changes

Pull Request Check List

  • A reasonable set of unit tests is included
  • Console does not show new warnings/errors
  • Changes are documented or they are self explanatory
  • This pull request does not have any merge conflicts
  • All existing tests pass in CI build

Review

  • Read and verify the code changes
  • Test the functionality by running the UI locally with all popular browsers available in your platform
  • Check that the implementation matches the design, when such one is defined in a Jira issue
  • Merge the pull request

hbruch added 7 commits May 19, 2024 06:36
node18-alpine3.18 is required, to avoid node-gyp errors, see nodejs/docker-node#2009
A couple of webpack plugins (e.g.ComressionPlugin) use hardcode md4 for hash generation,
which is not supported by OpenSSL3.0 anymore.
Until they are configurable we fall back to openssl-legacy-provider.
See https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported
bumping the resolution for sharp to 0.33 removes the need to pin alpine 3.18.
(See nodejs/docker-node#2009)
Without resolution, sharp is fixed to 0.28.3 which clashes with the libvips for newer alpines.
@vesameskanen
Copy link
Member

Thanks for a valuable contribution! Everything seems to work very well. I believe we will merge this PR right after our next production release 3rd June.

@vesameskanen vesameskanen merged commit 33d8f3b into HSLdevcom:v3 Jun 3, 2024
6 checks passed
@hbruch hbruch deleted the node20 branch September 8, 2024 05:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants