ethereum / solidity-website

26 stars 13 forks source link

Bump next from 13.5.6 to 14.2.12 #116

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

This PR updates Next.js from version 13.5.6 to 14.2.12.

It also updates the Node.js version in the deployment workflow from v16 to v18, as this is now the minimum version required by Next.js v14 (see: https://github.com/ethereum/solidity-website/actions/runs/10924194254/job/30322639405#step:7:10).

Due to breaking changes in the Next.js configuration (see: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports#version-history), I replaced the use of next export -o docs. If we still need the default output to be standalone, some refactoring will be required to support conditional output based on different environments.

ekpyron commented 1 month ago

We tried applying this earlier already (see https://github.com/ethereum/solidity-website/pull/114) and merged it (it's unfortunate that CI is not set up to run on PRs in this repo, so we had to merge to see if it works) - but it fails the builds, see https://github.com/ethereum/solidity-website/actions/runs/10924194254/job/30322639405 - likely due to also requiring a bump in the node version. So I recreated this PR, but we can't merge it as is, but it requires more work apparently.

I haven't yet properly checked if the vulnerability conditions apply to our case and thus how urgent this is.

ekpyron commented 1 month ago

@wackerow is this something you can help with / take care of or should we look into this?