Open
Conversation
🦋 Changeset detectedLatest commit: ccf427c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jorgemoya
approved these changes
Mar 4, 2026
chanceaclark
approved these changes
Mar 4, 2026
…age poisoning Replace static imports of next/headers, next/navigation, and next-intl/server with dynamic import() calls inside the hooks that use them. Static imports cause these modules to be evaluated during module graph resolution when next.config.ts imports this file, poisoning the process-wide AsyncLocalStorage context. Dynamic imports defer module loading to call time, after Next.js has fully initialized.
Upgrade next, @next/bundle-analyzer, eslint-config-next to ^16.1.0 and @next/eslint-plugin-next to ^16.1.0. React 19.1.5 is already compatible.
Change jsx from "preserve" to "react-jsx" and add .next/dev/types to the include array for generated dev types.
Replace `NextMiddleware` with `NextProxy` and `priority` with `preload` on Image components per Next.js 16 API changes.
06c4b38 to
ccf427c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
This PR is dependent on #2905. That PR must be merged first.
What/Why?
Upgrades Catalyst from Next.js 15 to Next.js 16. This PR contains the API migration and config changes needed to run on Next.js 16:
nextto ^16.1.6,next-intlto ^4.6.1,@next/bundle-analyzerto ^16.1.6unstable_expireTagwithrevalidateTagunstable_expirePathwithrevalidatePathTesting
pnpm run devincore/and verify pages render without errorspnpm run buildincore/and verify build completesMigration
No migration needed.
unstable_expireTagandunstable_expirePathare direct replacements — the API signatures are identical.