react-router 0.0.0-experimental-2eb7164 → 0.0.0-experimental-426e5caec
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -2
- package/dist/development/{chunk-433YBOKX.mjs → chunk-5HELVQDL.mjs} +198 -268
- package/dist/development/{chunk-PFFPX2WQ.js → chunk-KCPD675I.js} +179 -249
- package/dist/{production/chunk-GALNUNJG.js → development/chunk-KPVSYEOF.js} +147 -147
- package/dist/development/{chunk-CM3L6EBM.mjs → chunk-ZOYSFAC5.mjs} +56 -102
- package/dist/development/{context-DY_GBoQM.d.mts → context-EwD9faH7.d.mts} +40 -39
- package/dist/development/dom-export.d.mts +6 -6
- package/dist/development/dom-export.d.ts +6 -6
- package/dist/development/dom-export.js +8 -8
- package/dist/development/dom-export.mjs +8 -8
- package/dist/{production/index-react-server-client-pJZFIoFI.d.ts → development/index-react-server-client-CjrUmqhw.d.ts} +12 -12
- package/dist/{production/index-react-server-client-ByWQ94sU.d.mts → development/index-react-server-client-DDdP8ud2.d.mts} +13 -13
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +2 -2
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +76 -38
- package/dist/development/index-react-server.d.ts +76 -38
- package/dist/development/index-react-server.js +116 -112
- package/dist/development/index-react-server.mjs +114 -111
- package/dist/development/index.d.mts +53 -15
- package/dist/development/index.d.ts +51 -13
- package/dist/development/index.js +138 -184
- package/dist/development/index.mjs +7 -7
- package/dist/development/lib/types/internal.d.mts +11 -8
- package/dist/development/lib/types/internal.d.ts +10 -7
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{route-data-DZyLihZ0.d.mts → route-data-CAnRKu1U.d.mts} +14 -14
- package/dist/development/{routeModules-iYhSy-FD.d.ts → routeModules-CQWjJ9NX.d.ts} +52 -51
- package/dist/production/{chunk-G343FNS2.mjs → chunk-5W7O3ZZ2.mjs} +198 -268
- package/dist/production/{chunk-VQTSL3FX.mjs → chunk-DZS627TW.mjs} +56 -102
- package/dist/production/{chunk-MFKHDFBJ.js → chunk-NLCKEFES.js} +179 -249
- package/dist/{development/chunk-DMYOHO3D.js → production/chunk-TC5SCO6O.js} +147 -147
- package/dist/production/{context-DY_GBoQM.d.mts → context-EwD9faH7.d.mts} +40 -39
- package/dist/production/dom-export.d.mts +6 -6
- package/dist/production/dom-export.d.ts +6 -6
- package/dist/production/dom-export.js +8 -8
- package/dist/production/dom-export.mjs +8 -8
- package/dist/{development/index-react-server-client-pJZFIoFI.d.ts → production/index-react-server-client-CjrUmqhw.d.ts} +12 -12
- package/dist/{development/index-react-server-client-ByWQ94sU.d.mts → production/index-react-server-client-DDdP8ud2.d.mts} +13 -13
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +2 -2
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +76 -38
- package/dist/production/index-react-server.d.ts +76 -38
- package/dist/production/index-react-server.js +116 -112
- package/dist/production/index-react-server.mjs +114 -111
- package/dist/production/index.d.mts +53 -15
- package/dist/production/index.d.ts +51 -13
- package/dist/production/index.js +138 -184
- package/dist/production/index.mjs +7 -7
- package/dist/production/lib/types/internal.d.mts +11 -8
- package/dist/production/lib/types/internal.d.ts +10 -7
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{route-data-DZyLihZ0.d.mts → route-data-CAnRKu1U.d.mts} +14 -14
- package/dist/production/{routeModules-iYhSy-FD.d.ts → routeModules-CQWjJ9NX.d.ts} +52 -51
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# `react-router`
|
|
2
2
|
|
|
3
|
+
## 7.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- \[UNSTABLE] Remove Data Mode `future.unstable_middleware` flag from `createBrowserRouter` ([#14213](https://github.com/remix-run/react-router/pull/14213))
|
|
8
|
+
- This is only needed as a Framework Mode flag because of the route modules and the `getLoadContext` type behavior change
|
|
9
|
+
- In Data Mode, it's an opt-in feature because it's just a new property on a route object, so there's no behavior changes that necessitate a flag
|
|
10
|
+
|
|
11
|
+
- \[UNSTABLE] Add `<RouterProvider unstable_onError>`/`<HydratedRouter unstable_onError>` prop for client side error reporting ([#14162](https://github.com/remix-run/react-router/pull/14162))
|
|
12
|
+
|
|
13
|
+
- server action revalidation opt out via $SKIP_REVALIDATION field ([#14154](https://github.com/remix-run/react-router/pull/14154))
|
|
14
|
+
|
|
15
|
+
- Properly escape interpolated param values in `generatePath()` ([#13530](https://github.com/remix-run/react-router/pull/13530))
|
|
16
|
+
|
|
17
|
+
- Maintain `ReadonlyMap` and `ReadonlySet` types in server response data. ([#13092](https://github.com/remix-run/react-router/pull/13092))
|
|
18
|
+
|
|
19
|
+
- \[UNSTABLE] Delay serialization of `.data` redirects to 202 responses until after middleware chain ([#14205](https://github.com/remix-run/react-router/pull/14205))
|
|
20
|
+
|
|
21
|
+
- Fix `TypeError` if you throw from `patchRoutesOnNavigation` when no partial matches exist ([#14198](https://github.com/remix-run/react-router/pull/14198))
|
|
22
|
+
|
|
23
|
+
- Fix `basename` usage without a leading slash in data routers ([#11671](https://github.com/remix-run/react-router/pull/11671))
|
|
24
|
+
|
|
25
|
+
- \[UNSTABLE] Update client middleware so it returns the data strategy results allowing for more advanced post-processing middleware ([#14151](https://github.com/remix-run/react-router/pull/14151))
|
|
26
|
+
|
|
27
|
+
## 7.8.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Fix usage of optional path segments in nested routes defined using absolute paths ([#14135](https://github.com/remix-run/react-router/pull/14135))
|
|
32
|
+
- Bubble client pre-next middleware error to the shallowest ancestor that needs to load, not strictly the shallowest ancestor with a loader ([#14150](https://github.com/remix-run/react-router/pull/14150))
|
|
33
|
+
- Fix optional static segment matching in `matchPath` ([#11813](https://github.com/remix-run/react-router/pull/11813))
|
|
34
|
+
- Fix prerendering when a `basename` is set with `ssr:false` ([#13791](https://github.com/remix-run/react-router/pull/13791))
|
|
35
|
+
- Provide `isRouteErrorResponse` utility in `react-server` environments ([#14166](https://github.com/remix-run/react-router/pull/14166))
|
|
36
|
+
- Propagate non-redirect Responses thrown from middleware to the error boundary on document/data requests ([#14182](https://github.com/remix-run/react-router/pull/14182))
|
|
37
|
+
- Handle `meta` and `links` Route Exports in RSC Data Mode ([#14136](https://github.com/remix-run/react-router/pull/14136))
|
|
38
|
+
- Properly convert returned/thrown `data()` values to `Response` instances via `Response.json()` in resource routes and middleware ([#14159](https://github.com/remix-run/react-router/pull/14159), [#14181](https://github.com/remix-run/react-router/pull/14181))
|
|
39
|
+
|
|
3
40
|
## 7.8.0
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
|
@@ -92,9 +129,9 @@
|
|
|
92
129
|
- \[UNSTABLE] Change the `unstable_getContext` signature on `RouterProvider`/`HydratedRouter`/`unstable_RSCHydratedRouter` so that it returns an `unstable_RouterContextProvider` instance instead of a `Map` used to contruct the instance internally ([#14097](https://github.com/remix-run/react-router/pull/14097))
|
|
93
130
|
- ⚠️ This is a breaking change if you have adopted the `unstable_getContext` prop
|
|
94
131
|
|
|
95
|
-
- [UNSTABLE] proxy server action side-effect redirects from actions for document and callServer requests ([#14131](https://github.com/remix-run/react-router/pull/14131))
|
|
132
|
+
- \[UNSTABLE] proxy server action side-effect redirects from actions for document and callServer requests ([#14131](https://github.com/remix-run/react-router/pull/14131))
|
|
96
133
|
|
|
97
|
-
- [UNSTABLE] Fix RSC Data Mode issue where routes that return `false` from `shouldRevalidate` would be replaced by an `<Outlet />` ([#14071](https://github.com/remix-run/react-router/pull/14071))
|
|
134
|
+
- \[UNSTABLE] Fix RSC Data Mode issue where routes that return `false` from `shouldRevalidate` would be replaced by an `<Outlet />` ([#14071](https://github.com/remix-run/react-router/pull/14071))
|
|
98
135
|
|
|
99
136
|
## 7.7.1
|
|
100
137
|
|