Version & Platform Support
Framework behavior changes quickly enough that version context is part of engineering correctness. This page defines the baseline used throughout the handbook.
Current verified baselineβ
Verified: July 28, 2026
| Item | Handbook baseline |
|---|---|
Next.js npm latest | 16.2.12 |
| Supported production line | 16.x Active LTS |
| Next.js 16.3 | Preview/canary β not stable |
| Stable React docs | React 19.2 |
| App Router React integration | Framework-managed React Canary including stable React 19.2 behavior |
| Minimum Node.js | 20.9.0 |
| Minimum TypeScript for Next.js 16 | 5.1.0 |
| Chrome | 111+ |
| Edge | 111+ |
| Firefox | 111+ |
| Safari | 16.4+ |
| Default bundler | Turbopack for next dev and next build |
The latest stable patch matters. npm moved the latest tag to 16.2.12 after the July 20 security release that had recommended 16.2.11 at publication. Production dependency policy should therefore verify the current stable patch rather than relying on a handbook snapshot or the phrase βNext.js 16.β
Stable, preview, and canaryβ
Treat release channels as different contracts:
- Stable / Active LTS β appropriate baseline for production and this handbook.
- Preview β public preview of an upcoming release. Useful for evaluation, not assumed by handbook examples.
- Canary β rapidly changing prerelease channel. APIs may change before stable.
At this snapshot, 16.3 remains preview/canary and is excluded from the stable curriculum unless a later verification shows it has shipped to npm latest.
App Router and React versionsβ
There is an important nuance behind the phrase βNext.js uses React 19.2.β
The stable React documentation currently targets React 19.2, but the Next.js App Router uses a framework-managed React Canary build that includes stable React 19 behavior plus framework-facing features being validated ahead of future React releases. Your application should still declare react and react-dom dependencies for tooling and ecosystem compatibility.
This handbook therefore separates:
- React public stable APIs β explained according to React's stable documentation;
- React features exposed through stable Next.js App Router releases β explained when Next.js documents them as supported;
- React/Next.js canary experiments β never presented as stable contracts.
What changed in the Next.js 16 generation?β
These changes materially affect how modern examples should be written.
Turbopack is the defaultβ
Next.js 16 made Turbopack the default for both development and production builds. Webpack is still available with --webpack when a dependency or build integration requires it.
Next.js 16.1 made Turbopack filesystem caching stable and enabled by default for development. Next.js 16.2 then added substantial Turbopack and rendering improvements.
middleware.ts became proxy.tsβ
Next.js 16 renamed the Middleware file convention to Proxy to communicate that it sits at a request/network boundary. New handbook examples use proxy.ts and the proxy() function.
Do not infer that Proxy is an authorization layer. It can perform early request checks and routing decisions, but protected operations must still authorize access where the data-changing or data-reading operation occurs.
Cache Components introduced a new opt-in modelβ
Next.js 16 introduced Cache Components behind cacheComponents: true. It combines the modern use cache model with partial prerendering behavior.
In Next.js 16.2, Cache Components remains opt-in. The handbook therefore teaches:
- stable App Router behavior when Cache Components is not enabled;
- the Cache Components model when it is enabled;
- migration and architectural differences between the two.
That prevents a common documentation error: teaching an opt-in model as though every Next.js 16 application behaves that way by default.
Request APIs are asynchronousβ
Modern App Router code treats request-bound values such as route params and relevant request APIs as asynchronous where the current API requires it. Examples do not copy old synchronous patterns from Next.js 13/14 tutorials.
React Compiler integration is stable, but optionalβ
Next.js 16 describes its React Compiler integration as stable. That does not mean every application must enable it, nor does it remove the need to understand component purity, state architecture, and profiling.
Linting is separate from next buildβ
Next.js 16 removed the next lint command and production builds no longer run linting for you. Run ESLint, Biome, or another chosen linter explicitly in development and CI.
Image defaults and controls changedβ
Next.js 16 changed several image-optimization contracts that older tutorials commonly teach incorrectly:
Imagegained the explicitpreloadprop and the olderpriorityprop is deprecated.- image quality choices are constrained by
images.qualities; the default list is[75]. - the default minimum image cache TTL is 14,400 seconds (4 hours).
- local image query strings require deliberate local-pattern policy rather than old permissive assumptions.
- optimization of local/private IP sources is blocked by default.
- remote source redirects are bounded; the default maximum is 3.
- newer stable resource controls include source-response and disk-cache limits.
Phase 12 teaches these as version-sensitive production contracts rather than generic <img> advice.
16.2 improves debugging and platform integrationβ
Next.js 16.2 added or stabilized several production-oriented improvements, including faster development startup/rendering, improved hydration diagnostics, Server Function development logging, next start --inspect, and the stable Adapter API for deployment-platform integrations.
Core framework vs deployment platformβ
A feature can belong to different layers:
Application code
β
React component/rendering model
β
Next.js framework contracts
β
Node.js / Web platform runtime
β
Hosting adapter / server / CDN
β
Deployment provider infrastructure
For example:
page.tsxis a Next.js convention.useStateis a React API.RequestandResponseare Web APIs.process.envis a Node.js/runtime capability.- a provider's geographic regions, CDN cache topology, function limits, and analytics product are platform behavior.
We do not silently turn a Vercel platform feature into a framework requirement.
Creating against the current stable releaseβ
Use the latest tag when starting a new project, then commit the resulting lockfile:
pnpm create next-app@latest my-app
For Next.js 16.1 and later, the framework also provides an upgrade command:
pnpm next upgrade
Before a production upgrade, read the relevant version guide, run the production build and tests, and verify rendering, caching, request handling, image behavior, and deployment behavior rather than assuming semver alone captures every operational change.
Dependency policyβ
A production repository should answer:
Which exact Next.js patch is locked?
Which support line is it on?
Which security advisories apply?
Which preview/canary flags are enabled?
When was the last stable-doc re-audit?
Do not use ^16 as a substitute for release management.
The lockfile, deployment artifact, and CI build should make the exact framework version reproducible.
Version-sensitive topics in this handbookβ
Re-check official docs before relying on these areas during upgrades:
- caching and revalidation
- static, dynamic, and partial prerendering behavior
cookies(),headers(),params, and other request APIs- Server Functions and mutation APIs
- Proxy and runtime constraints
- Turbopack compatibility
- React Compiler integration
- route segment configuration
- image defaults, loader security, and cache controls
- font/script optimization behavior
- experimental third-party helpers
- deployment adapters and self-hosting behavior
Stable does not mean universalβ
A stable framework API can still depend on:
browser support
Node/runtime capability
reverse-proxy behavior
CDN cache configuration
filesystem persistence
third-party provider contracts
The handbook separates stable API status from operational portability.
For example, the Image component is stable, but a pure static export cannot depend on the default on-demand Next.js image optimizer because there is no runtime Next.js server to perform that work.
Primary sourcesβ
- Next.js App Router docs
- Next.js installation requirements
- Next.js 16 release
- Next.js 16.1 release
- Next.js 16.2 release
- Next.js support policy
- Next.js npm versions
- React versions
Exerciseβ
For an existing Next.js project, answer these before changing code:
- What exact
next,react, andreact-domversions are locked? - Is it App Router-only, mixed, or Pages Router-only?
- Is
cacheComponentsenabled? - Does the project run Turbopack or opt back into Webpack?
- Which Node.js version does production actually use?
- Does CI run linting and type checking explicitly?
- Which behaviors come from the hosting provider rather than Next.js core?
- Which image quality/source/cache controls differ from the Next.js 16.2 defaults?
- Does the app use any experimental packages or preview flags?
If you cannot answer those questions, you do not yet have enough version context to debug framework behavior safely.