-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Description
What version of Next.js are you using?
10.2.3 -> 11.1
What version of Node.js are you using?
14.x, 16.x
What browser are you using?
Chrome, Firefox
What operating system are you using?
macOS
How are you deploying your application?
next build and we then deploy it in our own infra. (Docker and kubernetes)
Describe the Bug
Currently we are using version 10 of next js. After the summer we planned to upgrade to 11. Then with the release of 11.1 we decided to jump directly to latest. We have a site that has 177 locales and it has been working fine (even on version 11.0). However, 11.1 introduced hard limit to 100 without explanation or warning or a workaround.
Here is the commit of the documentation https://github.com/vercel/next.js/pull/27542/files
And docs in prod
https://nextjs.org/docs/advanced-features/i18n-routing#limits-for-the-i18n-config
Expected Behavior
We can upgrade without issues given that it worked before.
To Reproduce
Create a next.config.js
file with 100 more than i18n locales and then run next build
.