v16.3.0-preview.5
📦 next-jsView on GitHub →
✨ 6 features🐛 4 fixes🔧 6 symbols
Summary
This release focuses on improving development tooling, particularly around instant navigation prefetching and Turbopack service worker handling. It also includes fixes for image metadata rendering and navigation inspection errors.
Migration Steps
- If you rely on specific prefetch behavior during instant navigation in development, ensure the `prefetch` prop is set if you expect more than just the shell to render.
✨ New Features
- Instant navigations now only render the shell unless the prefetch prop is explicitly set.
- Production prefetch shells are now replicated for instant navigations in development mode.
- Added ability to force a release without new commits in continuous deployment (CD).
- Turbopack now creates `ServiceWorkerChunkingContextOptions` in `next-core`.
- Turbopack now creates `ServiceWorkerEntryModule` and `service_worker_chunk_filename`.
- Turbopack now discovers `ServiceWorkerEntryModule`s in `next-api` and compiles/serves those service workers.
🐛 Bug Fixes
- Fixed local fonts in statically prerendered `ImageResponse` metadata route.
- Surfaced an error for blocking routes under the Navigation Inspector.
- Suppressed `prefetch={true}` warning when a route opts out via `instant = false`.
- Fixed some papercuts in `next-dev-loop`.