Next.js 16.2
3 hours ago
- #Performance
- #Debugging
- #Next.js
- Next.js 16.2 includes performance improvements, better debugging, and over 200 Turbopack fixes.
- Faster Time-to-URL: ~400% faster next dev startup.
- Faster Rendering: ~50% faster rendering with improved Server Components payload deserialization.
- New Default Error Page: Redesigned built-in 500 page for production.
- Server Function Logging: Terminal logs for Server Function execution during development.
- Hydration Diff Indicator: Clear server/client diff in the error overlay.
- --inspect for next start: Attach Node.js debugger to production server.
- transitionTypes Prop for next/link: Specifies View Transitions types for navigation.
- Faster ImageResponse: 2x faster for basic images, up to 20x for complex ones.
- Error Causes in Dev Overlay: Displays Error.cause chains for easier debugging.
- Adapters are now stable: Customize the build process for platforms.
- Multiple Icon Formats: Automatic handling of different icon file extensions.
- Experimental Features: unstable_catchError(), unstable_retry(), prefetchInlining, cachedNavigations, and appNewScrollHandler.
- Community Contributions: Over 3,770 individual developers contributed to this release.