Change8

v16.4.0-canary.1

📦 next-jsView on GitHub →
5 features🐛 8 fixes🔧 5 symbols

Summary

This release introduces new features like instant validation for unstable_navigation() and unstable_prefetch(), along with several bug fixes and improvements to Turbopack and testing infrastructure. It also includes documentation corrections and the addition of a new execution primitive for turbo-tasks.

✨ New Features

  • Added `scope_unbounded`, a scoped execution primitive for `turbo-tasks` that allows more work to be discovered.
  • Introduced instant validation for `unstable_navigation()`.
  • Added `unstable_prefetch()` functionality.
  • Scaffolded `unstable_prefetch()`.
  • Added a Turbopack error for missing root layouts.

🐛 Bug Fixes

  • Fixed parallelRouteKey parameter name in `useSelectedLayoutSegment(s)`.
  • Avoided cloning paths in Turbopack's fs watcher if the path is already in a map.
  • Made `app-document-import-order` test more robust.
  • Stabilized poisoned proxy error overlay in tests.
  • Corrected the upper stale bound for App Shell exclusion in `cacheLife`.
  • Fixed an issue where Adapters entry page listed its children pages twice.
  • Clarified `beforeInteractive` placement for root layouts.
  • Gave eager `import.meta.glob` values the ESM namespace in Turbopack.

Affected Symbols