Change8

v16.2.1-canary.15

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

Summary

This release includes several Turbopack improvements, fixes for URL handling in the cache, and new configuration options for server-side features like Fast Refresh.

Migration Steps

  1. Documented the requirement for revalidateTag's second argument in the upgrade guide.

✨ New Features

  • next.config.js now accepts an option for serverFastRefresh.
  • Instant Validation now allows unconfigured slots to render optionally.

🐛 Bug Fixes

  • Handled file:// URLs from import.meta.resolve in the cache handler path (fixes #73796).
  • Turbopack now excludes metadata routes from server HMR.
  • Turbopack now supports parsing Windows absolute paths with a single slash.
  • Turbopack now uses the same hash for immutable-static-hashes.json.
  • Added PPR evals and fixed environment loading for agent-eval 0.9.5.

Affected Symbols