Change8

v16.1.0-canary.21

📦 next-jsView on GitHub →
2 features🐛 2 fixes🔧 3 symbols

Summary

This release focuses on internal improvements to the Segment Cache, including better type safety and redirect detection, alongside a fix for swallowed external redirects.

✨ New Features

  • Improved type safety for segment cache LRU implementation.
  • Added detection for third-party redirects and static exports using HEAD requests in Segment Cache.

🐛 Bug Fixes

  • Fixed an issue where external redirects were being swallowed by Next.js.
  • Optimized ImportUsage in Turbopack by using a frozenset.

🔧 Affected Symbols

Segment CacheImportUsageturbopack