Change8

v16.2.0-canary.103

Breaking Changes
📦 next-jsView on GitHub →
1 breaking2 features🐛 9 fixes🔧 3 symbols

Summary

This release introduces stability improvements by moving adapter path configuration to stable, fixing several caching and prefetching bugs, and removing the experimental devCacheControlNoCache option.

⚠️ Breaking Changes

  • The experimental option `devCacheControlNoCache` has been removed and replaced with hard-coded no-caching behavior.

Migration Steps

  1. Remove usage of the experimental `devCacheControlNoCache` option; caching behavior is now hard-coded to no-cache.
  2. If you were using `adapterPath` in experimental configuration, move it to the stable top-level configuration.

✨ New Features

  • Allowed locking in manual sync for react-sync.
  • Adapter path configuration moved from experimental to stable top-level config.

🐛 Bug Fixes

  • Fixed error when accessing undefined root params in `generateStaticParams`.
  • Prefetch response is now buffered before passing to the Flight client.
  • Segment Cache now always upserts on prefetch completion.
  • Vary params are now tracked during runtime prefetches.
  • Fixed allowedDevOrigins for no-cors requests.
  • Disallowed dev origins are now blocked by default.
  • Zero-copy Buffer transfer implemented for perf in turbopack-node.
  • Turbopack now correctly applies effects for issue snapshots.
  • Turbopack now treats unknown CSS selectors as warnings.

Affected Symbols