Skip to content

Commit 88ec71a

Browse files
chore: Update version for release (pre) (#11379)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f2e924e commit 88ec71a

File tree

11 files changed

+94
-6
lines changed

11 files changed

+94
-6
lines changed

.changeset/pre.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
"react-router-native": "6.22.3",
99
"@remix-run/router": "1.15.3"
1010
},
11-
"changesets": []
11+
"changesets": [
12+
"data-strategy",
13+
"skip-action-revalidation",
14+
"slow-flies-help",
15+
"static-query-flags"
16+
]
1217
}

packages/react-router-dom-v5-compat/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# `react-router-dom-v5-compat`
22

3+
## 6.23.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://github.com/remix-run/react-router/pull/11098))
8+
9+
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
10+
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
11+
12+
### Patch Changes
13+
14+
- Updated dependencies:
15+
- `@remix-run/router@1.16.0-pre.0`
16+
- `react-router@6.23.0-pre.0`
17+
- `react-router-dom@6.23.0-pre.0`
18+
319
## 6.22.3
420

521
### Patch Changes

packages/react-router-dom-v5-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom-v5-compat",
3-
"version": "6.22.3",
3+
"version": "6.23.0-pre.0",
44
"description": "Migration path to React Router v6 from v4/5",
55
"keywords": [
66
"react",

packages/react-router-dom/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# `react-router-dom`
22

3+
## 6.23.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://github.com/remix-run/react-router/pull/11098))
8+
9+
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
10+
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
11+
12+
### Patch Changes
13+
14+
- Updated dependencies:
15+
- `@remix-run/router@1.16.0-pre.0`
16+
- `react-router@6.23.0-pre.0`
17+
318
## 6.22.3
419

520
### Patch Changes

packages/react-router-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom",
3-
"version": "6.22.3",
3+
"version": "6.23.0-pre.0",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",

packages/react-router-native/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# `react-router-native`
22

3+
## 6.23.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://github.com/remix-run/react-router/pull/11098))
8+
9+
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
10+
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
11+
12+
### Patch Changes
13+
14+
- Updated dependencies:
15+
- `react-router@6.23.0-pre.0`
16+
317
## 6.22.3
418

519
### Patch Changes

packages/react-router-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-native",
3-
"version": "6.22.3",
3+
"version": "6.23.0-pre.0",
44
"description": "Declarative routing for React Native applications",
55
"keywords": [
66
"react",

packages/react-router/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# `react-router`
22

3+
## 6.23.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://github.com/remix-run/react-router/pull/11098))
8+
9+
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
10+
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
11+
12+
### Patch Changes
13+
14+
- Updated dependencies:
15+
- `@remix-run/router@1.16.0-pre.0`
16+
317
## 6.22.3
418

519
### Patch Changes

packages/react-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router",
3-
"version": "6.22.3",
3+
"version": "6.23.0-pre.0",
44
"description": "Declarative routing for React",
55
"keywords": [
66
"react",

packages/router/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# `@remix-run/router`
22

3+
## 1.16.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://github.com/remix-run/react-router/pull/11098))
8+
9+
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
10+
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
11+
12+
- Add a new `future.unstable_skipActionRevalidation` future flag ([#11098](https://github.com/remix-run/react-router/pull/11098))
13+
14+
- Currently, active loaders revalidate after any action, regardless of the result
15+
- With this flag enabled, actions that return/throw a 4xx/5xx response status will no longer automatically revalidate
16+
- This should reduce load on your server since it's rare that a 4xx/5xx should actually mutate any data
17+
- If you need to revalidate after a 4xx/5xx result with this flag enabled, you can still do that via returning `true` from `shouldRevalidate`
18+
- `shouldRevalidate` now also receives a new `unstable_actionStatus` argument alongside `actionResult` so you can make decision based on the status of the `action` response without having to encode it into the action data
19+
20+
- - Move `unstable_dataStrategy` from `createStaticHandler` to `staticHandler.query` so it can be request-specific for use with the `ResponseStub` approach in Remix. It's not really applicable to `queryRoute` for now since that's a singular handler call anyway so any pre-processing/post/processing could be done there manually. ([#11377](https://github.com/remix-run/react-router/pull/11377))
21+
- Added a new `skipLoaders` flag to `staticHandler.query` for calling only the action in Remix Single Fetch
22+
- Added 2 new options to the `staticHandler.query` method for use in Remix's Single Fetch implementation: ([#11098](https://github.com/remix-run/react-router/pull/11098))
23+
24+
- `loadRouteIds`: An optional array of route IDs to load if you wish to load a subset of the matched routes (useful for fine-grained revalidation)
25+
- `skipLoaderErrorBubbling`: Disable error bubbling on loader executions for single-fetch scenarios where the client-side router will handle the bubbling
26+
327
## 1.15.3
428

529
### Patch Changes

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy