Next.js: Turbopack JavaScript Compatibility and Debugging Improvements
Major improvements to Turbopack's JavaScript compatibility with fixes for NaN and zero equality handling, plus enhanced debugging tools for trace analysis. Additional dependency updates and documentation clarifications round out the changes.
Duration: PT2M6S
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-06-01T13:04:50Z
- Audio duration: PT2M6S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. This is your Next.js developer briefing for June 1st, 2026.
The big story today is a significant step forward in Turbopack's JavaScript compatibility. The team has fixed fundamental issues with how the bundler handles special numeric values - specifically NaN equality and positive versus negative zero comparisons.
Two related pull requests, 94172 and 94177, tackled this by replacing the custom TotalOrderF64 implementation with standard f64 and serde_json::Number types. This brings Turbopack's analyzer in line with how JavaScript actually handles these edge cases. As one contributor noted, JavaScript treats NaN as equal to NaN…
The debugging experience also got an upgrade. Pull request 93961 fixed a usability issue with the trace server tooling. Previously, when you started a trace server on a non-default port, the suggested command-line queries would still point to the default port, causing confusing connection errors. Now the startup…
On the infrastructure side, there were updates to PostCSS config resolution through a backport to the next-16-2 branch, improvements to the Node File Trace system for better bundle analysis, and a major version bump of the ctor crate…
Looki…
Nearby episodes from Next.js
- Runtime Optimization and App Shell Extraction
- App Shell Rendering and Turbopack Optimization
- Rendering Pipeline Stability and Runtime Optimization
- Debug Channel Overhaul and Release Pipeline Fixes
- Weekly Recap - Turbopack Optimization & Developer Experience
- Developer Experience Improvements and Turbopack Optimizations
- React Upgrade and Turbopack Fixes
- Cache Fixes and Performance Updates