fix: Deprecate setRequestLocale and add blog post on next/root-params#1632
fix: Deprecate setRequestLocale and add blog post on next/root-params#1632amannn wants to merge 25 commits into
setRequestLocale and add blog post on next/root-params#1632Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # docs/src/pages/blog/next-intl-4-0.mdx
…og-post # Conflicts: # docs/src/pages/blog/_meta.tsx # docs/src/pages/blog/index.mdx # docs/src/pages/blog/next-intl-4-0.mdx
rootParamsrootParams / next/root-params
rootParams / next/root-paramsnext/root-params
|
Looks like the most recent next point release prevents import of root params (probably removed). |
|
@jokull Do you have some more information on this and an error message? Are you on latest stable or canary? It seems like there was some activity regarding root params recently: vercel/next.js#88556. Would be quite surprising if it’s being removed. I‘m currently not at my computer and can’t check in detail … |
|
@amannn Sorry for the confusion! I investigated and it turns out we were calling The error was only showing up in production (Sentry), not locally, which threw me off. We'll switch to using the locale from |
|
Ah yep, that one is known—thanks for following up! |
…og-post # Conflicts: # docs/src/pages/blog/_meta.tsx # docs/src/pages/blog/index.mdx
|
is it time?) |
|
A small advancement of route-params feat: generate root params types |
next/root-paramssetRequestLocale and add blog post on next/root-params
Related to vercel/next.js#72837 and vercel/next.js#80255
→ Draft
TODO
setRequestLocale?next/root-paramslands in Next.js stable (docs: add next/root-params API reference vercel/next.js#93764)next/root-params#2327Closes #663
Closes #2075