react-router 7.8.2-pre.0 → 7.8.2
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 +16 -4
- package/dist/{production/chunk-4HHN5NDL.mjs → development/chunk-5UALIXAM.mjs} +2 -2
- package/dist/{production/chunk-3PSRBVDP.js → development/chunk-CSDGKXLR.js} +131 -131
- package/dist/development/{chunk-5LNVHL6T.mjs → chunk-PVWAREVJ.mjs} +4 -5
- package/dist/development/{chunk-KUJAVZYD.js → chunk-ZO66TDGB.js} +3 -4
- package/dist/development/{context-D5hQ2yCL.d.mts → context-jKip1TFB.d.mts} +3 -2
- package/dist/development/dom-export.d.mts +1 -1
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/{production/index-react-server-client-C4AMmMi3.d.ts → development/index-react-server-client-BKpa2trA.d.ts} +1 -1
- package/dist/{production/index-react-server-client-DgVbd8DS.d.mts → development/index-react-server-client-DRhjXpk2.d.mts} +2 -2
- 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 +3 -2
- package/dist/development/index-react-server.d.ts +3 -2
- package/dist/development/index-react-server.js +24 -9
- package/dist/development/index-react-server.mjs +24 -9
- package/dist/development/index.d.mts +6 -6
- package/dist/development/index.d.ts +4 -4
- package/dist/development/index.js +95 -95
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +1 -1
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{route-data-B3sNokxM.d.mts → route-data-DAVP2QQ0.d.mts} +2 -2
- package/dist/development/{routeModules-DRWHoPcT.d.ts → routeModules-rOzWJJ9x.d.ts} +4 -3
- package/dist/{development/chunk-UMVNFWBW.js → production/chunk-JNT5PWCQ.js} +131 -131
- package/dist/{development/chunk-RVSOEW4N.mjs → production/chunk-KWHRV2I7.mjs} +2 -2
- package/dist/production/{chunk-O46NJYOA.mjs → chunk-REDRD2MB.mjs} +4 -5
- package/dist/production/{chunk-NCRSBAFG.js → chunk-Z56HUDN5.js} +3 -4
- package/dist/production/{context-D5hQ2yCL.d.mts → context-jKip1TFB.d.mts} +3 -2
- package/dist/production/dom-export.d.mts +1 -1
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/{development/index-react-server-client-C4AMmMi3.d.ts → production/index-react-server-client-BKpa2trA.d.ts} +1 -1
- package/dist/{development/index-react-server-client-DgVbd8DS.d.mts → production/index-react-server-client-DRhjXpk2.d.mts} +2 -2
- 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 +3 -2
- package/dist/production/index-react-server.d.ts +3 -2
- package/dist/production/index-react-server.js +24 -9
- package/dist/production/index-react-server.mjs +24 -9
- package/dist/production/index.d.mts +6 -6
- package/dist/production/index.d.ts +4 -4
- package/dist/production/index.js +95 -95
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +1 -1
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{route-data-B3sNokxM.d.mts → route-data-DAVP2QQ0.d.mts} +2 -2
- package/dist/production/{routeModules-DRWHoPcT.d.ts → routeModules-rOzWJJ9x.d.ts} +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
# `react-router`
|
|
2
2
|
|
|
3
|
-
## 7.8.2
|
|
3
|
+
## 7.8.2
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [UNSTABLE]
|
|
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
|
+
|
|
8
15
|
- Properly escape interpolated param values in `generatePath()` ([#13530](https://github.com/remix-run/react-router/pull/13530))
|
|
16
|
+
|
|
9
17
|
- Maintain `ReadonlyMap` and `ReadonlySet` types in server response data. ([#13092](https://github.com/remix-run/react-router/pull/13092))
|
|
10
|
-
|
|
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
|
+
|
|
11
21
|
- Fix `TypeError` if you throw from `patchRoutesOnNavigation` when no partial matches exist ([#14198](https://github.com/remix-run/react-router/pull/14198))
|
|
22
|
+
|
|
12
23
|
- Fix `basename` usage without a leading slash in data routers ([#11671](https://github.com/remix-run/react-router/pull/11671))
|
|
13
|
-
|
|
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))
|
|
14
26
|
|
|
15
27
|
## 7.8.1
|
|
16
28
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.8.2
|
|
2
|
+
* react-router v7.8.2
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
withComponentProps,
|
|
59
59
|
withErrorBoundaryProps,
|
|
60
60
|
withHydrateFallbackProps
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PVWAREVJ.mjs";
|
|
62
62
|
|
|
63
63
|
// lib/dom/ssr/server.tsx
|
|
64
64
|
import * as React from "react";
|