Change8

v16.1.1-canary.36

Breaking Changes
📦 next-jsView on GitHub →
1 breaking3 features🐛 1 fixes🔧 3 symbols

Summary

This release introduces changes to request metadata naming conventions and updates how deployment IDs are handled, alongside various Turbopack and CI improvements.

⚠️ Breaking Changes

  • The field `rewroteURL` in request metadata has been renamed to `rewrittenPathname`. Code relying on `rewroteURL` must be updated to use `rewrittenPathname`.

Migration Steps

  1. Rename usage of `rewroteURL` to `rewrittenPathname` in request metadata handling.
  2. Update code relying on `getImplicitTags` to pass a pathname string instead of a URL object.

✨ New Features

  • Added `NEXT_DEPLOYMENT_ID` global.
  • Deployment ID suffix is removed from client reference manifest chunks in Turbopack.
  • The deployment ID is now injected as `<html data-dpl-id>` instead of being inlined into JavaScript.

🐛 Bug Fixes

  • Turbopack filesystem watcher fuzzing was extended to cover symlinks and junction points.

Affected Symbols