Next.js: Pages Router Prefetch Bugs and Turbopack Tree Shaking
A cluster of fixes closes a long-standing Pages Router prefetch marker bug that could crash shallow navigation, while a separate string of Turbopack changes tightens export tracing so unused code stops riding along into production bundles.
Duration: PT2M45S
Episode overview
This episode is a short developer briefing from Next.js.
It explains recent repository work in plain language.
- Show: Next.js
- Published: 2026-09-15T13:11:56Z
- Audio duration: PT2M45S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to your Next.js briefing for September 15th, 2026.
The clearest theme today is correctness work on the Pages Router's prefetch system, paired with a push to make Turbopack's tree shaking actually trustworthy.
Start with prefetching. PR 98182 and PR 98187, both from Stanzilla, fix a bug where the client router filter's internal marker was being stored and looked up under the wrong path. When a link's href and its displayed "as" path differ, that mismatch could hand a bare marker to the app as if it were real page data,…
On the build side, sokra landed three connected Turbopack changes. PR 98621 stops widening export usage to "everything" whenever a Server Component crosses a client-component boundary, so importing one named export no longer drags unrelated code into both browser and server bundles. PR 98638 extends that same…
Also worth noting: PR 93246 fixes proxy, middleware, and instrumentation file detection when projects use compound page extensions like "page dot ts" — a basename-parsing bug that affected both the Rust and JavaScript paths. And PR 98438 adds an opt-in flag to expose App Router runtime errors over the hot-reload…
What's next: watch for PR…
Nearby episodes from Next.js
- Turbopack's Bundle Diet
- Weekly Recap - Caching Correctness and Turbopack Hardening
- Closing the Gaps Windows and Test Proxies Left Open
- Turbopack's Performance and Correctness Push
- Route Correctness and Cache Timing Fixes
- Turbopack Path Handling Gets a Real Fix
- Caching Correctness and Turbopack Hardening
- Hardening Partial Prerendering and the Build Pipeline