thomvaill / log4brains

✍️ Log and publish your architecture decisions (ADR)
Apache License 2.0
1.15k stars 94 forks source link

Upgrade Next.js and to remove the openssl workaround #132

Open thomvaill opened 1 month ago

thomvaill commented 1 month ago

We are running Next.js v10, while the current latest major version available is v14.

Next.js v10 runs Webpack 4, which uses a deprecated openssl hashing algorithm (md4) (#85). A workaround was introduced:

But we should try to upgrade ASAP to get rid of this workaround.

Since we rely a lot on Next.js hacks (#NEXTJS-HACK comments in the code), the task does not look easy at all. Let's first assess if we should target to latest version, or a closer one, like v11 which introduces Webpack 5.

thomvaill commented 1 month ago

Blocks https://github.com/thomvaill/log4brains/issues/4 since it may change the images behaviour