Next.js 15 Officially Released: The World's Second Most Popular Frontend Framework!
On October 22, Next.js 15 was officially released, and it is now the second most used frontend framework in the world, only behind React! The major updates in Next.js 15 include:
- Support for React 19: Including support for React 19, experimental React compiler, and improved hydration error handling.
- @next/codemod CLI: An automated command-line tool to help users easily upgrade to the latest versions of Next.js and React.
- Asynchronous Request API: A step towards simplifying the rendering and caching model. APIs relying on specific request data (such as headers, cookies, params, and searchParams) now need to be asynchronous.
- Caching Semantics: By default, fetch requests, GET route handlers, and client navigation are no longer cached. Caching is still optional if needed.
- Turbopack Dev (Stable): Improvements in performance and stability.
- Static Route Indicator: A new visual indicator for static routes during development.
- unstable_after API (Experimental): Allows code execution after a response has finished streaming.
- instrumentation.js API (Stable): A new API for server lifecycle observability.
- Enhanced Forms (next/form): Enhances HTML forms with client-side navigation.
- next.config: Now supports TypeScript versions of
next.config.ts
. - Self-hosting Improvements: More control over the Cache-Control header.
- Server Action Security: Non-guessable endpoints and removal of unused actions.
- External Package Bundling (Stable): New configuration options for app and page routers.
- ESLint 9 Support: Added support for ESLint 9.
- Development and Build Performance: Improved build times and faster refresh during development.
For more details on Next.js 15 updates, visit:
Next.js 15 Blog
Compiled by Frontend Power Bank