Change8

v16.2.0-canary.9

Breaking Changes
📦 next-jsView on GitHub →
1 breaking1 features🐛 4 fixes🔧 4 symbols

Summary

This release includes several core fixes, notably resolving issues with chunk loading and LRU cache growth, and renames the `renderOpts.nextExport` option to `isBuildTimePrerendering`.

⚠️ Breaking Changes

  • The `renderOpts.nextExport` option has been renamed to `isBuildTimePrerendering`. Update configuration files referencing `renderOpts.nextExport` to use `isBuildTimePrerendering` instead.

Migration Steps

  1. Rename `renderOpts.nextExport` to `isBuildTimePrerendering` in relevant configuration.

✨ New Features

  • Added bundling support for worker_threads (reapplied from a previous change).

🐛 Bug Fixes

  • Fixed issues related to `onBuildComplete` and the route module.
  • Fixed chunk loading when using `__turbopack_load_by_url__` with query parameters.
  • Ensured LRU cache items have a minimum size of 1 to prevent unbounded growth.
  • Fixed react-loadable-manifest chunk hash mismatch by preserving async loader mapping.

Affected Symbols