Next.js 14 to 15 code changes

Proprietary

Migrate a Next.js 14 codebase to Next.js 15 without changing dependency versions. Applies the React 18 to 19 code changes Next.js 15 requires, awaits the request APIs that became asynchronous (cookies, headers, draftMode, params and searchParams), replaces request.geo and request.ip and adds @vercel/functions for the replacement, keeps the Next.js 14 caching of fetch and static GET route handlers, renames the experimental-edge runtime, and removes swcMinify. The experimental options that Next.js 14 does not know under their new names change only once next has reached 15.

io.moderne.nextjs.migrate.nextjs-14-to-15-code-changes
mod run . --recipe=io.moderne.nextjs.migrate.nextjs-14-to-15-code-changes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.