Skip to content

Commit d3be262

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into mwilcox/skip-imported-route-typegen
* upstream/dev: (55 commits) Fix root loader data on initial load redirects in SPA mode (#13222) Ensure ancestor pathless/index routes are loaded via manifest requests (#13203) Fix shoulRevalidate behavior in clientLoader-only routes (#13221) Stop leaking internal MiddlewareError implementation detail (#13180) Fix validation of split route modules for root route (#13238) Fix `RequestHandler` `loadContext` type when middleware is enabled (#13204) Change middleware return type from void to undefined (#13199) update docs home page add API docs Fix error message typo Fix Windows CI (#13215) Remove Vite server hooks in child compiler plugins (#13184) Support flexible ordering of Vite plugins that override SSR environment (#13183) chore: format chore: Update version for release (#13175) Exit prerelease mode chore: Update version for release (pre) (#13174) Fix JSDoc types for context (#13170) Remove middleware depth restrictions (#13172) minor language improvements in context/middleware decision doc ...
2 parents 5212dc5 + bc43707 commit d3be262

File tree

170 files changed

+5344
-986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+5344
-986
lines changed

.changeset/afraid-tigers-promise.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/clever-sheep-draw.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": patch
3+
---
4+
5+
- UNSTABLE(BREAKING): If a middleware throws an error, ensure we only bubble the error itself via `next()` and are no longer leaking the `MiddlewareError` implementation detail

.changeset/cool-pillows-sing.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cuddly-dots-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-router/dev": patch
3+
---
4+
5+
When `future.unstable_splitRouteModules` is set to `"enforce"`, allow both splittable and unsplittable root route exports since it's always in a single chunk.

.changeset/dry-impalas-live.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/dull-hotels-battle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-router/dev": patch
3+
---
4+
5+
When `future.unstable_viteEnvironmentApi` is enabled, allow plugins that override the default SSR environment (such as `@cloudflare/vite-plugin`) to be placed before or after the React Router plugin.

.changeset/eleven-oranges-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-router/dev": patch
3+
---
4+
5+
Fix conflicts with other Vite plugins that use the `configureServer` and/or `configurePreviewServer` hooks

.changeset/few-months-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": patch
3+
---
4+
5+
Fix `RequestHandler` `loadContext` parameter type when middleware is enabled

.changeset/four-ligers-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": patch
3+
---
4+
5+
Fix root loader data on initial load redirects in SPA mode

.changeset/gold-insects-remain.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)