Next.jsMedium

What are the key differences between Next.js 13, 14, and 15?

Next.js 13 introduced the App Router with React Server Components. 14 stabilized Server Actions and focused on speed. 15 moved to React 19, made request APIs async and stopped caching fetch by default. Next.js 16 (October 2025) made Turbopack the default, introduced Cache Components with "use cache", renamed middleware to Proxy, and has continued through 16.4 (October 2026).

Next.js 13 (2022)

  • App Router (app/) in beta, stable in 13.4: layouts, Server Components, streaming, loading and error files.
  • next/font, new next/image, <Link> without a child <a>.
  • Turbopack alpha, Route Handlers, Metadata API.

Next.js 14 (2023)

  • Server Actions stable.
  • Partial Prerendering preview (experimental).
  • Faster local dev with Turbopack improvements; next export command removed in favor of output: "export".
  • Minimum Node.js 18.17.

Next.js 15 (2024)

  • React 19 support; useFormState becomes useActionState.
  • Async request APIs: params, searchParams, cookies(), headers(), draftMode() return Promises.
  • Caching defaults flipped: fetch, GET Route Handlers and the client router cache for pages are not cached by default.
  • next dev --turbo stable, after() (stable in 15.1), forbidden()/unauthorized() (experimental), next.config.ts, <Form> component, typed routes, Node.js middleware (15.5), next typegen.

Next.js 16 (2025 to 2026)

  • Turbopack default for dev and build; filesystem cache.
  • Cache Components: cacheComponents: true, "use cache", cacheLife, cacheTag, updateTag, refresh(); PPR via this model; revalidateTag(tag, profile).
  • proxy.ts replaces middleware.ts (Node.js runtime).
  • Sync request API access removed; parallel routes need default.js; next lint, AMP and runtime config removed; Node.js 20.9+.
  • React Compiler support stable; React 19.2 features (View Transitions, useEffectEvent, <Activity>).
  • 16.1: dev filesystem cache stable, bundle analyzer, next dev --inspect.
  • 16.2: Adapters API stable, faster dev startup and rendering, transitionTypes on <Link>.
  • 16.3: Instant Navigations, Partial Prefetching, catchError, next/root-params, faster builds.
  • 16.4: Cache Components on by default for new apps, ensureStatic, prefetch()/navigation(). The team says Cache Components will become the default in Next.js 17.

Code example

tsx
1// Next.js 14: synchronous params, fetch cached by default
2// export default function Page({ params }: { params: { slug: string } }) {
3// const data = await fetch(url); // cached (force-cache) by default
4// }
5
6// Next.js 15: async params, fetch NOT cached by default
7// export default async function Page({ params }: { params: Promise<{ slug: string }> }) {
8// const { slug } = await params;
9// const data = await fetch(url, { cache: "force-cache" }); // opt in explicitly
10// }
11
12// Next.js 16: Cache Components + "use cache"
13import { cacheLife, cacheTag } from "next/cache";
14
15async function getPost(slug: string) {
16 "use cache";
17 cacheLife("days");
18 cacheTag(`post:${slug}`);
19 return fetch(`https://cms.example.com/posts/${slug}`).then((r) => r.json());
20}
21
22export default async function Page({ params }: PageProps<"/blog/[slug]">) {
23 const { slug } = await params;
24 const post = await getPost(slug);
25 return <h1>{post.title}</h1>;
26}
27// middleware.ts -> proxy.ts, `next dev --turbopack` -> just `next dev`

Practice this question

Open it in the study app to track progress, take notes, listen to the answer and work through the rest of the Next.js set.

Open in study app