Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump next [email protected] #333

Closed
wants to merge 6 commits into from
Closed

Bump next [email protected] #333

wants to merge 6 commits into from

Conversation

barbarah
Copy link
Contributor

@barbarah barbarah commented Nov 22, 2023

next-intl now has a stable version, 3.1.2, that supports Next.js 14 app directory.

There are however many breaking changes:

The thing that has the most impact is that Link, redirect, usePathname, useRouter cannot be imported directly from next-intl. But they need to be exported from a navigation file, see: https://next-intl-docs.vercel.app/docs/routing/navigation

This has the following impact

  • Both apps now have a navigation.ts file
  • All the imports in the apps are changed
  • The biggest impact is all the imports in the @colonial-collections/ui. Since ....

Copy link

vercel bot commented Nov 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
colonial-collections-dataset-browser ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2023 8:57am
colonial-collections-researcher ❌ Failed (Inspect) Nov 28, 2023 8:57am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant