Skip to content

fix: Support stable Turbopack config in Next.js 15.3 #1850

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

Merged
merged 16 commits into from
Apr 22, 2025
Merged

fix: Support stable Turbopack config in Next.js 15.3 #1850

merged 16 commits into from
Apr 22, 2025

Conversation

amannn
Copy link
Owner

@amannn amannn commented Apr 17, 2025

Fixes #1838

In Next.js 15.3, Turbopack config has become stable. With this fix, the new option is used in order to avoid a deprecation warning.

# Conflicts:
#	packages/next-intl/.size-limit.ts
#	packages/next-intl/__mocks__/react.tsx
#	packages/next-intl/src/navigation/shared/createSharedNavigationFns.tsx
#	packages/next-intl/src/react-server/index.test.tsx
#	packages/next-intl/src/server/react-server/RequestLocale.tsx
#	packages/next-intl/src/server/react-server/getConfig.tsx
In Next.js 15.3, [Turbopack config has become
stable](https://nextjs.org/blog/next-15-3#turbopack-configuration-in-nextconfigts-stable).
With this fix, the new option is used in order to avoid a deprecation
warning.
Copy link

vercel bot commented Apr 17, 2025

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

Name Status Preview Comments Updated (UTC)
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 7:20am
next-intl-example-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 7:20am
next-intl-example-app-router-without-i18n-routing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 7:20am

@DKeken
Copy link

DKeken commented Apr 19, 2025

+1
need

@repo/client:dev: ⚠ The config property experimental.turbo is deprecated. Move this setting to config.turbopack as Turbopack is now stable.

@amannn amannn changed the title fix: Support stable Turbopack config fix: Support stable Turbopack config in Next.js 15.3 Apr 22, 2025
@amannn amannn merged commit 30ec8e0 into main Apr 22, 2025
8 of 9 checks passed
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.

Turbopack and next-intl/plugin - The config property experimental.turbo is deprecated.
2 participants