Change8

v16.2.0-canary.78

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

Summary

This release focuses heavily on improving navigation caching by implementing caching for static and runtime stages of pages. It also removes significant legacy code related to PPR (Partial Page Rendering).

Migration Steps

  1. Remove usage of `isRoutePPREnabled` from render options.
  2. Remove usage of `PrerenderStorePPR` type and all `prerender-ppr` switch cases.

✨ New Features

  • Cached Navigations now caches visited fully static pages in the segment cache.
  • Cached Navigations now caches the static stage of partially static initial HTML.
  • Cached Navigations now caches runtime stage data from navigation requests.
  • Turbopack now allows resolving TS files in tailwind configuration.

🐛 Bug Fixes

  • Added Err(anyhow(... ast-grep rule.

Affected Symbols