Change8

v16.2.0-canary.51

📦 next-jsView on GitHub →
1 features🐛 10 fixes🔧 11 symbols

Summary

This release includes numerous fixes across the core, Turbopack, and Rspack, addressing issues with caching, routing state handling, and import processing. A key improvement is enabling tree-shaking for dynamic imports with destructuring in Turbopack.

Migration Steps

  1. Upgrade React dependency from commit 6066c782-20260212 to 4842fbea-20260217.

✨ New Features

  • Turbopack: Enable tree-shaking for dynamic imports with destructuring.

🐛 Bug Fixes

  • Fix segment cache normalizer.
  • Handle null history.state in client-side router popstate handler.
  • Do not parse default postponedsizelimit.
  • Turbopack: handle invalid RSC imports via importmap.
  • Ensure maxPostponedStateSize is always respected.
  • Stop focusing the first focusable host descendant in fragment scroll logic.
  • Normalize loopback only in hostname.
  • Only error for sync IO after runtime in segments that would be runtime prefetched.
  • Fix non-determinism in resolve package.
  • Simplify how `json` imports work by turning it into a source transform.

Affected Symbols