v16.2.1-canary.2
📦 next-jsView on GitHub →
✨ 4 features🐛 12 fixes🔧 10 symbols
Summary
This release focuses on core improvements in Turbopack, including enabling server HMR for app route handlers and various stability fixes across testing and backend operations. Several flaky tests were addressed and internal module loading was improved.
Migration Steps
- Update references from /_next/webpack-hmr to /_next/hmr.
✨ New Features
- Enabled server HMR for app route handlers in Turbopack.
- Added config flag, define-env, and env precedence test for node-streams.
- Added per-slot error attribution for instant validation using slot markers and config depth preference.
- Added importModule() support to webpack loaders in Turbopack.
🐛 Bug Fixes
- Skipped loadBindings() Lightning CSS check during next start.
- Renamed /_next/webpack-hmr to /_next/hmr.
- Fixed missing route in otel spans without base-server.
- Batched find_and_schedule_dirty using for_each_task_meta in turbo-tasks-backend.
- Batched schedule dirty tasks in aggregation_update in turbo-tasks-backend.
- Demoted recoverable CSS parse warnings to Warning severity in turbopack-css.
- Fixed mmap page alignment and improved error context in MetaFile::open_internal in turbo-persistence.
- Unflaked "infinite streaming fetch" test.
- Unflaked deterministic build - changing deployment ID test.
- Increased retry timeouts for two flaky app-action tests.
- Fixed flaky url-hash tests.
- Respected {eval:true} in worker_threads constructors in Turbopack.