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 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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
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
- unstable_skipActionErrorRevalidation: false
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
- unstable_skipActionErrorRevalidation: false
194
+ v7_skipActionErrorRevalidation: false
195
195
  };
196
196
  },
197
197
  get state() {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v6.24.1
2
+ * React Router DOM v6.25.0-pre.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-router-dom",
3
- "version": "6.24.1",
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.17.1",
27
- "react-router": "6.24.1"
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
- unstable_skipActionErrorRevalidation: false
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
- unstable_skipActionErrorRevalidation: false
194
+ v7_skipActionErrorRevalidation: false
195
195
  };
196
196
  },
197
197
  get state() {