next.js
8d01a5c6 - Address review: thread pending transition object, instrumentation-scoped naming

Commit
135 days ago
Address review: thread pending transition object, instrumentation-scoped naming - startRouterTransition reads the current AppRouterState itself (lazy require behind the experimental flag, same cycle-breaking pattern as links.ts) instead of having dispatchers pass it in - Thread the PendingRouterTransition object through navigate/restore actions and mutate it directly in attachRouterTransitionTarget; the global buffer remains only for commit/abort ordering - Rename NavigationRequestAccumulation.cacheHit to instrumentationCacheHit and describeRoute to describeRouteForInstrumentation to make the instrumentation-only scope explicit; same for related comments - Add concrete examples to every event field's JSDoc - Add e2e coverage for middleware rewrites (post-rewrite renderedPathname and searchParams vs the canonical URL) and log continuity (route param names replaced by positional holes, search param names kept verbatim)
Author
Jude Gao
Committer
Jude Gao
Parents
Loading