Change8

v16.2.1-canary.35

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

Summary

This release includes compiler improvements for defining primitives, enhanced Turbopack compatibility with Vite's import.meta.glob, and several bug fixes related to server actions and dependency updates.

Migration Steps

  1. If you were relying on the previous behavior of `baseUrl` in tests, note that it is no longer used.

✨ New Features

  • Compiler now supports boolean and number primitives in next.config defines.
  • Turbopack now supports import.meta.glob (Vite compatibility).
  • Turbopack now supports crossOriginLoading.

🐛 Bug Fixes

  • Fixed phantom registerServerReference by skipping type-only ExportNamed in pre-pass for server actions.
  • Fixed recomputation loop in turbo-tasks by allowing cell cleanup on error during recomputation.
  • Bumped reqwest to 0.13.2, fixing Google Fonts loading issue with Turbopack on Windows on ARM64.
  • Turbopack properly removes unused TS enums with scope hoisting.

Affected Symbols