react-router-dom 6.24.1 → 6.25.0-pre.0
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 -0
- package/dist/index.js +1 -1
- package/dist/main.js +1 -1
- package/dist/react-router-dom.development.js +1 -1
- package/dist/react-router-dom.production.min.js +1 -1
- package/dist/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/dist/umd/react-router-dom.development.js +1 -1
- package/dist/umd/react-router-dom.production.min.js +1 -1
- package/package.json +3 -3
- package/server.js +1 -1
- package/server.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# `react-router-dom`
|
|
2
2
|
|
|
3
|
+
## 6.25.0-pre.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://github.com/remix-run/react-router/pull/11769))
|
|
8
|
+
|
|
9
|
+
- When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code
|
|
10
|
+
- You may still opt-into revalidation via `shouldRevalidate`
|
|
11
|
+
- This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus`
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies:
|
|
16
|
+
- `react-router@6.25.0-pre.0`
|
|
17
|
+
- `@remix-run/router@1.18.0-pre.0`
|
|
18
|
+
|
|
3
19
|
## 6.24.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.js
CHANGED
package/dist/main.js
CHANGED
package/dist/server.js
CHANGED
|
@@ -214,7 +214,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
214
214
|
v7_partialHydration: opts.future?.v7_partialHydration === true,
|
|
215
215
|
v7_prependBasename: false,
|
|
216
216
|
v7_relativeSplatPath: opts.future?.v7_relativeSplatPath === true,
|
|
217
|
-
|
|
217
|
+
v7_skipActionErrorRevalidation: false
|
|
218
218
|
};
|
|
219
219
|
},
|
|
220
220
|
get state() {
|
package/dist/server.mjs
CHANGED
|
@@ -191,7 +191,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
191
191
|
v7_partialHydration: opts.future?.v7_partialHydration === true,
|
|
192
192
|
v7_prependBasename: false,
|
|
193
193
|
v7_relativeSplatPath: opts.future?.v7_relativeSplatPath === true,
|
|
194
|
-
|
|
194
|
+
v7_skipActionErrorRevalidation: false
|
|
195
195
|
};
|
|
196
196
|
},
|
|
197
197
|
get state() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-dom",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.25.0-pre.0",
|
|
4
4
|
"description": "Declarative routing for React web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"module": "./dist/index.js",
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@remix-run/router": "1.
|
|
27
|
-
"react-router": "6.
|
|
26
|
+
"@remix-run/router": "1.18.0-pre.0",
|
|
27
|
+
"react-router": "6.25.0-pre.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.2.0",
|
package/server.js
CHANGED
|
@@ -214,7 +214,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
214
214
|
v7_partialHydration: opts.future?.v7_partialHydration === true,
|
|
215
215
|
v7_prependBasename: false,
|
|
216
216
|
v7_relativeSplatPath: opts.future?.v7_relativeSplatPath === true,
|
|
217
|
-
|
|
217
|
+
v7_skipActionErrorRevalidation: false
|
|
218
218
|
};
|
|
219
219
|
},
|
|
220
220
|
get state() {
|
package/server.mjs
CHANGED
|
@@ -191,7 +191,7 @@ function createStaticRouter(routes, context, opts = {}) {
|
|
|
191
191
|
v7_partialHydration: opts.future?.v7_partialHydration === true,
|
|
192
192
|
v7_prependBasename: false,
|
|
193
193
|
v7_relativeSplatPath: opts.future?.v7_relativeSplatPath === true,
|
|
194
|
-
|
|
194
|
+
v7_skipActionErrorRevalidation: false
|
|
195
195
|
};
|
|
196
196
|
},
|
|
197
197
|
get state() {
|