Next.js Daily: Instant Navigation Testing API Launch
Next.js shipped a major testing API for instant navigation assertions and deployment skew protection improvements. The framework also cleaned up deprecated examples and enhanced error reporting for better developer experience.
Duration: PT2M2S
Transcript
Good morning. This is Next.js Daily for February 5th, 2026.
Andrew Clark merged three significant pull requests introducing the Instant Navigation Testing API. The first PR adds a dev-mode primitive that allows e2e tests to assert on prefetched UI before dynamic data streams in, eliminating race conditions in loading state tests. A second PR extends this API to support full page navigations including page reloads and browser back-forward actions using a cookie-based approach when request headers aren't available. The third PR adds an experimental flag to expose this testing API in production builds, providing a stopgap until dedicated profiling builds exist.
Janka Uryga merged a mechanical rename changing "unstable_prefetch" to "unstable_instant" across 64 files, updating error pages and API references to reflect the new naming convention.
Niklas Mischkulnig merged improvements for Pages data route deployment skew protection, implementing header-based comparison for better deployment handling and making build IDs constant when deployment IDs are available. He also enhanced Turbopack's system environment variable inlining suggestions.
Jiachi Liu merged error reporting improvements that include owner stack traces for forwarded logs, making it easier for automated agents to detect and fix issues from terminal output.
JamBalaya56562 removed the unmaintained Tigris database example, cleaning up lint configs and removing over 1,200 lines of deprecated code. Eric Rabinowitz fixed syntax errors in the multi-zones proxy documentation.
JJ Kasper ensured module contexts are properly included in adapter traces for both webpack and Turbopack builds.
The release also bumped to version 16.2.0-canary.28 with these changes.
What's next: The testing API represents a significant step toward deterministic navigation performance testing. Expect follow-up work on dedicated profiling build modes.
That's your Next.js update for today.