On this page 19
Next.js has changed a lot across versions 13, 14, 15 and 16. This guide compares the key changes in each version and gives practical guidance for product teams and engineering leads planning an upgrade.
Version Overview
| Feature | Next.js 13 | Next.js 14 | Next.js 15 | Next.js 16 |
|---|---|---|---|---|
| Release Date | October 2022 | October 2023 | October 2024 | October 2025 |
| React Support | React 18 | React 18/19 | React 19 (App Router) | React 19.2 |
| Default Bundler | Webpack | Webpack | Webpack (Turbopack stable for dev) | Turbopack |
| App Router | Beta | Stable | Stable | Stable |
| Server Actions | Experimental | Stable | Stable | Stable |
| Request APIs | Synchronous | Synchronous | Async, with a temporary sync fallback | Async only |
| Caching Default | Cached (fetch) | Cached (fetch) | Not cached by default | Opt-in with use cache |
What Changed in Next.js 14
Next.js 14 introduced several production-ready features:
- Server Actions: Asynchronous functions for server-side operations without creating API routes
- Turbopack (Beta): Rust-based bundler offering 5-10x faster builds
- Partial Prerendering: Experimental combining of static and dynamic content
- Improved Metadata API: Better SEO controls with file-based metadata support
- Enhanced Error Boundaries: Improved error handling in App Router
For teams upgrading from 13 to 14, the migration path is straightforward for most applications.
What Changed in Next.js 15
Next.js 15 shipped on October 21, 2024. It is the release that changed how request data and caching work, which is why most upgrade work from 14 lands here.
Async Request APIs
cookies(), headers(), draftMode(), and the params and searchParams props became asynchronous, so the server can start rendering before the request arrives. Code now awaits them:
import { cookies } from 'next/headers'
export default async function Page({ params }) {
const { slug } = await params
const theme = (await cookies()).get('theme')
// ...
}
In 15, synchronous access still works but logs a warning. Next.js 16 removes it.
New Caching Defaults
Next.js 13 and 14 cached fetch requests by default. In 15 that flipped:
fetchrequests are no longer cached unless you opt in withcache: 'force-cache'GETRoute Handlers are no longer cached by default- Page segments in the client router cache are no longer reused on navigation by default
Pages that relied on implicit caching can get slower or hit their data source more often after the upgrade, so check them before you ship.
React 19
The App Router moved to React 19, which brings the new hooks (useActionState, useFormStatus, useOptimistic) and better hydration error messages. The Pages Router still supports React 18.
Other Changes
- Turbopack for development is stable:
next dev --turbo - Upgrade codemod:
npx @next/codemod@canary upgrade latestupdates dependencies and rewrites most of the async API changes next.config.ts: the config file can be written in TypeScript<Form>component (next/form): prefetches and navigates on submit, for search and filter formsafter(): runs work such as logging after the response is sent (introduced asunstable_after)- Safer Server Actions: unused actions are removed from the build and endpoint IDs are not guessable
- ESLint 9 support and a stable
instrumentation.jsfor observability
What Changed in Next.js 16
Next.js 16 represents the most significant release since the App Router introduction:
Turbopack is Now Default
The Rust-based Turbopack bundler is now the default for all applications. Performance improvements include:
- 87% faster dev server startup compared to Next.js 15
- 2-5x faster Fast Refresh during development
- 25-60% faster HTML rendering
React Compiler Support
The React Compiler is now stable with built-in integration for automatic memoization. This reduces manual memoization code and optimizes rendering performance automatically.
Cache Components
Next.js 16 introduces a new explicit caching model. Key changes:
- Caching is now opt-in rather than implicit
- New
use cachedirective for explicit caching - Refined
revalidateTag()and newupdateTag()APIs - Nothing caches by default developers have explicit control
Improved Routing and Navigation
- Layout deduplication reduces prefetch overhead
- Per-segment prefetching improves cache efficiency
- View Transitions support for smooth animations
Breaking Changes
Next.js 16 includes several breaking changes teams should plan for:
- Minimum Node.js version: 20.9+ (drops Node.js 18 support)
- Minimum TypeScript: 5.1+
- Async request APIs only: the synchronous fallback from 15 is gone, so
params,searchParams,cookies()andheaders()must be awaited - Image defaults:
images.minimumCacheTTLchanged from 60s to 4 hours - AMP removed: All AMP APIs and configurations removed
For complete migration details, review the official Next.js 16 upgrade guide.
Which Teams Should Upgrade Now
Upgrade to Next.js 16 if:
- Starting new projects (recommended)
- Building applications where performance is critical
- Want to leverage React Compiler optimizations
- Need View Transitions for animations
- Can invest time in migration (1-2 days for typical apps)
Wait on upgrading if:
- Currently on Next.js 15 with stable production apps
- Team bandwidth is limited for testing
- Heavy reliance on features being removed (AMP, middleware config)
- Complex custom webpack configurations
Migration Considerations
From Next.js 14 to 15
Most of the work in a 14-to-16 upgrade is in this step:
- Run
npx @next/codemod@canary upgrade latestto update packages and convert most request API calls toawait - Fix the calls the codemod could not convert; the dev server warns about each remaining synchronous access
- Find pages that relied on cached
fetchcalls and opt them back in withcache: 'force-cache'or route-level settings - Upgrade React to 19 for App Router pages and check third-party components for React 19 support
From Next.js 15 to 16
- Update Node.js to 20.9+
- Remove any remaining synchronous request API access
- Test image caching behavior changes
- Evaluate Turbopack compatibility with custom configs
Common Breakpoints
Teams commonly encounter issues with:
- Dynamic routes that don’t await params
- Pages that got slower because their
fetchcalls stopped being cached in 15 - Custom webpack loaders that lack Turbopack equivalents
- Image optimization configs relying on old defaults
Conclusion
Next.js 15 changed how request data and caching work, and Next.js 16 builds on that with Turbopack by default, explicit caching and React Compiler integration. For new projects, start with version 16. For applications on 14, plan the upgrade in two steps: handle the async API and caching changes from 15 first, then move to 16.
Last updated: November 17, 2026
This article originally appeared on lightrains.com
Leave a comment
To make a comment, please send an e-mail using the button below. Your e-mail address won't be shared and will be deleted from our records after the comment is published. If you don't want your real name to be credited alongside your comment, please specify the name you would like to use. If you would like your name to link to a specific URL, please share that as well. Thank you.
Comment via email