Next.js
Last synced Apr 30, 2026
An open-source React framework developed by Vercel that enables server-side rendering, static site generation, and full-stack web development.
Next.js Across Platforms: Adapters, OpenNext, and Our Commitments
Next.js runs across platforms. 16.2 brings a stable Adapter API, shared tests, and a new model of collaboration across providers.
Next.js 16.2
Next.js 16.2 is now available. Highlights include:
- Faster Time-to-URL: ~400% faster next dev startup
- Faster Rendering: ~50% faster rendering
- New Default Error Page: Redesigned built-in 500 page
- Turbopack: Faster builds, SRI support, Server Fast Refresh, and 200+ bug fixes
- AI Improvements: Agent-ready create-next-app
Turbopack: What's New in Next.js 16.2
Turbopack improvements shipping with Next.js 16.2:
- Server Fast Refresh: Fine-grained server-side hot reloading
- Web Worker Origin: Increasing support for WASM libraries in Workers
- Subresource Integrity Support: Subresource Integrity for JavaScript files
- Tree Shaking of Dynamic Imports: Unused imports are removed
Next.js 16.2: AI Improvements
AI improvements shipping with Next.js 16.2:
- Agent-ready create-next-app: Scaffold AI-ready projects out of the box
- Browser Log Forwarding: Forward browser errors to the terminal for agent-powered debugging
- Dev Server Lock File: Actionable error messages when a second dev server tries to start
Building Next.js for an agentic future
We've spent the past year making Next.js work better with AI coding agents. From an experimental in-browser agent to MCP integration and improved logging, we learned that the key is treating agents as first-class users and giving them visibility into what Next.js is doing.
Inside Turbopack: Building Faster by Building Less
How we built Turbopack with incremental computation to scale development and builds to massive Next.js applications.
Next.js 16.1
Next.js 16.1 is now available. Highlights include:
- Turbopack File System Caching for next dev (stable)
- Next.js Bundle Analyzer (experimental)
- Easier Debugging with next dev --inspect
Next.js Security Update: December 11, 2025
Two additional vulnerabilities have been identified in React Server Components: a high-severity Denial of Service (CVE-2025-55184) and a medium-severity Source Code Exposure (CVE-2025-55183). All Next.js 13.x, 14.x, 15.x and 16.x users should upgrade immediately.
Security Advisory: CVE-2025-66478
A critical vulnerability (CVSS 10.0) has been identified in the React Server Components protocol that can allow remote code execution. All Next.js 15.x and 16.x users should upgrade immediately.
Next.js 16
Next.js 16 is now available with major improvements to developer experience, routing, and caching. Highlights include:
- Cache Components: A new programming model leveraging Partial Pre-Rendering (PPR) and use cache for instant navigation.
- Turbopack (stable): Default bundler for all apps
Next.js 15.5
Next.js 15.5 includes Turbopack builds in beta, stable Node.js middleware, TypeScript improvements, next lint deprecation, and deprecation warnings for Next.js 16. Highlights for this release include:
- Turbopack Builds (beta): Production turbopack builds (next build --turbopack) now in beta
- Node.js Middleware: Improved middleware functionality
Building APIs with Next.js
This guide will cover how you can build APIs with Next.js, including setting up your project, understanding the App Router and Route Handlers, handling multiple HTTP methods, implementing dynamic routing, creating reusable middleware logic, and deciding when to spin up a dedicated API layer.