Change8

v16.3.0-canary.20

📦 next-jsView on GitHub →
8 features🐛 18 fixes1 deprecations🔧 5 symbols

Summary

This release focuses heavily on Turbopack improvements, error surfacing in development, and various bug fixes across routing, caching, and server actions. A configuration flag, `partialFallbacks`, has been removed.

Migration Steps

  1. Remove `partialFallbacks` configuration flag from your setup.

✨ New Features

  • Add an info panel for the existing "Cache disabled" indicator.
  • Extend instant error overlay to metadata, viewport, and sync IO errors.
  • Turbopack: expose hashes of source files to adapters.
  • Add `next internal static-routes-info` CLI command.
  • Surface invalid dynamic usage errors via Flight in dev.
  • Show inner "use cache" as cause of nested-dynamic cache error.
  • Instant Insights: When unable to complete validation provide a filename for the unvalidated boundary.
  • fetch: respect HTTP Cache-Control headers with TTL-based invalidation.

🐛 Bug Fixes

  • [turbopack] fix feature usage telemetry.
  • bfcacheId: Opt out of state preservation.
  • Honor Suspense-above-body opt-in for dynamic `generateViewport`.
  • Craigandrews/ensure isr lru is written if requests collapsed.
  • Fix catch-all `router.query` corruption with `basePath` + `rewrites`.
  • Fix server action forwarding loop with middleware rewrites.
  • Turbopack: don't generate next-server.js.nft.json with adapters.
  • Turbopack: fix lock-order inversion between Storage::map and Storage::snapshots.
  • Fix Turbopack worker_threads URL resolution.
  • Patch `playwright-core` to resolve `_finishedPromise` on `requestFailed`.
  • Revert "[test] Skip flaky `cached-navigations` tests".
  • fix: GNU xargs warns about incompatible --replace/--max-args.
  • fix: renumber non-sequential errors in errors.json.
  • simplify session dependent tasks.
  • [CC] fix: cachedNavigations missing asyncApiPromises in resumes.
  • Fix `Date.now()` cause shadowing in sync IO error overlay.
  • Instant Insights: only report non-validatable if dev render is error free.
  • Fix warning in new apps caused by incorrect image dimensions.

Affected Symbols

⚡ Deprecations

  • Remove partialFallbacks config flag.