What's Changed
New Features
- Added support for Vite 8's
resolve.tsconfigPaths option
- Added Next.js-style route report to
vinext build output, showing discovered routes and their types
- Enhanced metadata support with parity for
appLinks, iTunes, and Twitter player/app cards
Bug Fixes
- Fixed
useParams() to be reactive during client-side navigation in App Router
- Fixed Pages Router ISR background regeneration incorrectly re-rendering HTML
- Fixed middleware custom responses corrupting binary bodies in development mode
- Fixed App Router route discovery incorrectly including private folders (those with
_ prefix)
- Fixed
Link component's onNavigate URL resolution for relative hrefs
- Fixed synthetic slot sub-routes being processed without parent default fallback
- Fixed request headers proxy missing iterator method bindings
- Fixed Pages API body parser handling of invalid JSON and repeated form keys
- Fixed App Router route-group and slot collision detection
- Fixed TPR zone resolution for domains with multi-part TLDs (e.g.,
.co.uk)
- Fixed encoded path delimiters being corrupted during route discovery and matching
- Added missing client-side
optimizeDeps entries for better development experience
- Added
headersSent guards to prevent duplicate response headers in error handlers
- Improved error reporting by properly registering
reportRequestError with ctx.waitUntil on Cloudflare Workers
- Added Next.js shim JavaScript variants for better compatibility
Performance
- Replaced O(n) linear route matching with radix trie for faster routing
- Added async I/O and caching for
og-inline-fetch-assets transform
- Implemented TTL-based eviction sweep for prefetch cache
- Applied various startup and cache micro-optimizations
Internal / Chores
- Pinned Rollup to patched version addressing CVE-2026-27606
- Added comprehensive tests for
headers() and cookies() in server actions and route handlers
- Added runtime documentation warning on external rewrites and Content-Disposition sanitization
Contributors
@hyoban
@NathanDrake2406
@JaredStowell
@james-elicx
@Divkix