Home / Journal / Next.js

Next.js 16 to 16.4: the upgrade notes we keep open

Turbopack by default, Cache Components, proxy.ts and the AI tooling that landed through 2026.

RRixes Studio
10 Oct 2026 · 7 min read
Next.js

Next.js 16 shipped on 21 October 2025, and the team has released a minor roughly every two months since. 16.4 arrived on 6 October 2026. These are the changes we check on every client upgrade.

Turbopack is the default

Turbopack became stable and the default bundler for both next dev and next build. If a project depends on a custom webpack setup, you can still opt out with --webpack, but most of our builds simply got faster.

Cache Components and "use cache"

Caching is now explicit. With Cache Components switched on, everything is dynamic by default and you opt pages, components or functions into caching with the "use cache" directive. It completes the Partial Prerendering story: a static shell that loads instantly, with dynamic parts streamed in.

ts · next.config.ts
const nextConfig = {
  cacheComponents: true,
};
export default nextConfig;

revalidateTag() now takes a cache-life profile as a second argument, and two new Server Action helpers arrived: updateTag() for read-your-writes updates, and refresh() for uncached data.

ts · server action
'use server';
import { revalidateTag, updateTag } from 'next/cache';

revalidateTag('blog-posts', 'max');  // stale-while-revalidate
updateTag(`user-${id}`);         // user sees the change now

middleware.ts is now proxy.ts

The file that intercepts requests was renamed to make the network boundary clearer. Rename the file and the exported function; the logic stays the same. middleware.ts still works for Edge use cases but is deprecated.

ts · proxy.ts
export default function proxy(request: NextRequest) {
  return NextResponse.redirect(new URL('/home', request.url));
}

Breaking changes to plan for

  • Node.js 20.9+ and TypeScript 5.1+ are required.
  • params, searchParams, cookies() and headers() must be awaited.
  • AMP and the next lint command were removed.
  • next/image defaults changed, including a 4-hour minimum cache TTL.

16.1 to 16.4 in one minute

  • 16.1 (Dec 2025): file-system caching for next dev went stable.
  • 16.2 (Mar 2026): much faster dev startup, an AGENTS.md in new apps, and agent-friendly DevTools.
  • 16.3 (Aug 2026): Instant Navigations, up to 90% less dev memory, first-party Skills, and docs available as Markdown.
  • 16.4 (Oct 2026): lazy compilation, smaller bundles, React 19.3, and Cache Components on by default in create-next-app.
Heads upThe Next.js team announced an out-of-band security update for 14 October 2026. Patch as soon as it lands.

How we upgrade

bash
# run the official codemod, then fix what it flags
npx @next/codemod@canary upgrade latest
npm run build

Then we test every route that reads cookies or params, check images, and only then flip on Cache Components route by route.

Keep reading

All articles →
Let's talk

Have a project
in mind?

Tell us what you need in a minute. We reply on WhatsApp or email, usually within one working day.