- 17 Dec, 2025 7 commits
-
-
nextjs-bot authored
-
Will Binns-Smith authored
-
Vercel Release Bot authored
This auto-generated PR updates font data with latest available Co-authored-by:nextjs-bot <it+nextjs-bot@vercel.com>
-
Will Binns-Smith authored
The top bar is getting quite wide with all of its button toggle groups. This: - Converts the Compressed/Uncompressed and Client/Server toggles to shadcn `<Select>`s - Adds a custom `<MultiSelect>` implementation since this is missing in shadcn. This composes shadcn’s popovers and a series of checkboxes, along with accessibility attributes and keyboard shortcuts. - Uses this `<MultiSelect>` for the type filter - Removes the divider between these since there aren’t any groups left to divide <img width="1547" height="719" alt="image" src="https://github.com/user-attachments/assets/4041f6b7-2a47-4e17-b020-448ac0103740" />
-
Cong-Cong Pan authored
update @next/rspack-core version to 1.0.2 and update the snapshot other changes: - packages/next/src/build/webpack-config.ts Adjusted configuration to account for differences in default node config between Rspack and Webpack. - packages/next/src/shared/lib/format-webpack-messages.ts Added a fallback to moduleIdentifier in cases where Rspack does not correctly populate moduleName.
-
Luke Sandberg authored
Point next/bundle-analyzer users at the new one when running with turbopack 
-
Luke Sandberg authored
This should ensure that if priorities are ambiguous we revert to a BFS order BFS is better than DFS for the `fixed point` traversals since we are generally propogating information 'down' the graph so to the extent we can we should visit all r-deps first. BFS approximates this.
-
- 16 Dec, 2025 14 commits
-
-
nextjs-bot authored
-
Sebastian "Sebbie" Silbermann authored
Installs much less via apt.
-
Luke Sandberg authored
Since we are aiming for a release this week, lets flag this off since it probably won't get enough dogfooding before then. Also this will unblock landing #86675
-
Niklas Mischkulnig authored
-
Sebastian "Sebbie" Silbermann authored
-
xusd320 authored
-
Sebastian "Sebbie" Silbermann authored
-
Sebastian "Sebbie" Silbermann authored
-
nextjs-bot authored
-
Sebastian "Sebbie" Silbermann authored
-
Cong-Cong Pan authored
update @next/rspack-binding version to 1.0.2
-
Will Binns-Smith authored
-
Cong-Cong Pan authored
We should update the rust toolchain for Rspack.
-
nextjs-bot authored
-
- 15 Dec, 2025 19 commits
-
-
Andrew Clark authored
Based on: - #87128 - #87147 - #87134 - #87135 --- This completes the migration of navigation response handling to the new Segment Cache and PPR-based implementation. Most of this PR is just deleting vestigial code. No behavioral changes are expected. The substance of the migration was completed in earlier steps.
-
nextjs-bot authored
-
Andrew Clark authored
Based on: - #87134 --- hmr-refresh-reducer is identical to refresh-reducer except for the fact that it doesn't evict the prefetch cache. So this refactors both implementations to call the same shared function.
-
nextjs-bot authored
-
Andrew Clark authored
Based on: - #87128 --- Small refactor. During the initial render to hydrate the page, we create the CacheNode tree using the same function that is used to create new trees during soft navigation. Unlike during a soft navigation, we intentionally don't check if any data needs to be fetched from the server. We assume the initial hydration payload is sufficient to render the page. The completeness of the initial data is an important property that we rely on as a last-ditch mechanism for recovering the app; we must always be able to reload a fresh HTML document to get to a consistent state. This was one of the last remaining places where fillLazyItemsTillLeafWithHead was used.
-
Andrew Clark authored
This merges the logic inside updateCacheNodeOnPopstateRestoration into the function used for all other navigation types. The main difference between history traversal navigations and other navigation types is our treatment of dynamic data. History traversal operations are allowed to reuse dynamic data regardless of its freshness or staleness. So I've updated the `shouldRefreshDynamicData` argument to be an enum that accounts for our various freshness policies. As of now, there are three: Default, HistoryTraversal, and RefreshAll. This is part of an ongoing series of refactors to unify all navigation types into a single flow, both to simplify the implementation, and to ensure the behavior is consistent.
-
Sebastian "Sebbie" Silbermann authored
-
Zack Tanner authored
When an error is thrown inside a Suspense boundary during streaming SSR, the error was not being captured in the "render route (app)" span. This happened because `getTracer().wrap()` ends the span as soon as the stream is created and returned, but errors inside Suspense boundaries occur asynchronously during stream consumption. This PR changes the span management from using `wrap()` to manually calling `startSpan()` and tracking the span lifecycle. The span now stays open until `allReady` resolves or rejects. A new `withSpan()` helper was added to the tracer to properly activate the span context so child spans are parented. Error handlers now accept an optional `spanToRecordOn` parameter to record exceptions on the correct span rather than relying solely on the active scope span. Fixes #86517
-
nextjs-bot authored
-
Sebastian "Sebbie" Silbermann authored
-
Sebastian "Sebbie" Silbermann authored
-
Wyatt Johnson authored
### What? This PR fixes interception routes to work correctly with the `trailingSlash` configuration option. ### Why? Interception routes were not working when users had `trailingSlash: true` in their Next.js config. This was because interception route rewrites were marked as `internal: true`, which caused them to bypass the `modifyRouteRegex` processing that handles trailing slash normalization. When a route is marked as internal and provides its own regex, the code would skip the regex modification step that ensures routes work correctly with both `trailingSlash: true` and `trailingSlash: false` configurations. This meant interception routes would fail to match when trailing slashes were enabled. ### How? 1. **Removed `internal: true` flag** from interception route rewrites in `generate-interception-routes-rewrites.ts`. This ensures they go through the same regex modification process as regular routes, properly handling trailing slash normalization. 2. **Added comprehensive test coverage** by wrapping the parallel routes and interception test suite in `describe.each([true, false])` to test both trailing slash configurations. Updated all URL assertions to account for the trailing slash setting. 3. **Refactored `build-custom-route.ts`** to scope the `source` variable closer to where it's actually used, preventing unnecessary computation for internal routes that already provide a regex. 4. **Moved `next.config.js` inline** to the test file for better organization and to support the parameterized test structure.
-
Sebastian "Sebbie" Silbermann authored
-
Sebastian Sebbie Silbermann authored
-
nextjs-bot authored
-
Sebastian Sebbie Silbermann authored
-
Sebastian "Sebbie" Silbermann authored
-
nextjs-bot authored
-
Sebastian "Sebbie" Silbermann authored
-