Skip to content

Commit 7cbe349

Browse files
chore: Update version for release (pre) (#11955)
* chore: Update version for release (pre) * Draft release notes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Brophy <matt@brophy.org>
1 parent 9815d9b commit 7cbe349

File tree

13 files changed

+84
-7
lines changed

13 files changed

+84
-7
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.26.1",
99
"@remix-run/router": "1.19.1"
1010
},
11-
"changesets": []
11+
"changesets": [
12+
"four-books-bow",
13+
"hot-insects-rescue",
14+
"serious-news-kick",
15+
"soft-socks-remain"
16+
]
1217
}

.changeset/serious-news-kick.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@remix-run/router": patch
33
---
44

5-
Fix blocker usage when `blocker.proceed` is called quickly/syncronously
5+
Fix blocker usage when `blocker.proceed` is called quickly/synchronously

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,28 @@ Date: YYYY-MM-DD
203203
**Full Changelog**: [`v6.X.Y...v6.X.Y`](https://github.com/remix-run/react-router/compare/react-router@6.X.Y...react-router@6.X.Y)
204204
-->
205205

206+
## v6.26.2
207+
208+
Date: 2024-09-04
209+
210+
### Patch Changes
211+
212+
- Update the `unstable_dataStrategy` API to allow for more advanced implementations ([#11943](https://github.com/remix-run/react-router/pull/11943))
213+
- ⚠️ If you have already adopted `unstable_dataStrategy`, please review carefully as this includes breaking changes to this API
214+
- Rename `unstable_HandlerResult` to `unstable_DataStrategyResult`
215+
- Change the return signature of `unstable_dataStrategy` from a parallel array of `unstable_DataStrategyResult[]` (parallel to `matches`) to a key/value object of `routeId => unstable_DataStrategyResult`
216+
- This allows more advanced control over revalidation behavior because you can opt-into or out-of revalidating data that may not have been revalidated by default (via `match.shouldLoad`)
217+
- You should now return/throw a result from your `handlerOverride` instead of returning a `DataStrategyResult`
218+
- The return value (or thrown error) from your `handlerOverride` will be wrapped up into a `DataStrategyResult` and returned fromm `match.resolve`
219+
- Therefore, if you are aggregating the results of `match.resolve()` into a final results object you should not need to think about the `DataStrategyResult` type
220+
- If you are manually filling your results object from within your `handlerOverride`, then you will need to assign a `DataStrategyResult` as the value so React Router knows if it's a successful execution or an error (see examples in the documentation for details)
221+
- Added a new `fetcherKey` parameter to `unstable_dataStrategy` to allow differentiation from navigational and fetcher calls
222+
- Preserve opted-in view transitions through redirects ([#11925](https://github.com/remix-run/react-router/pull/11925))
223+
- Preserve pending view transitions through a router revalidation call ([#11917](https://github.com/remix-run/react-router/pull/11917))
224+
- Fix blocker usage when `blocker.proceed` is called quickly/synchronously ([#11930](https://github.com/remix-run/react-router/pull/11930))
225+
226+
**Full Changelog**: [`v6.26.1...v6.26.2`](https://github.com/remix-run/react-router/compare/react-router@6.26.1...react-router@6.26.2)
227+
206228
## v6.26.1
207229

208230
Date: 2024-08-15

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

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

3+
## 6.26.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@remix-run/router@1.19.2-pre.0`
9+
- `react-router@6.26.2-pre.0`
10+
- `react-router-dom@6.26.2-pre.0`
11+
312
## 6.26.1
413

514
### 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.26.1",
3+
"version": "6.26.2-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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# `react-router-dom`
22

3+
## 6.26.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@remix-run/router@1.19.2-pre.0`
9+
- `react-router@6.26.2-pre.0`
10+
311
## 6.26.1
412

513
### 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.26.1",
3+
"version": "6.26.2-pre.0",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",

packages/react-router-native/CHANGELOG.md

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

3+
## 6.26.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@6.26.2-pre.0`
9+
310
## 6.26.1
411

512
### 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.26.1",
3+
"version": "6.26.2-pre.0",
44
"description": "Declarative routing for React Native applications",
55
"keywords": [
66
"react",

packages/react-router/CHANGELOG.md

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

3+
## 6.26.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@remix-run/router@1.19.2-pre.0`
9+
310
## 6.26.1
411

512
### 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.26.1",
3+
"version": "6.26.2-pre.0",
44
"description": "Declarative routing for React",
55
"keywords": [
66
"react",

packages/router/CHANGELOG.md

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

3+
## 1.19.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Update the `unstable_dataStrategy` API to allow for more advanced implementations ([#11943](https://github.com/remix-run/react-router/pull/11943))
8+
9+
- Rename `unstable_HandlerResult` to `unstable_DataStrategyResult`
10+
- The return signature has changed from a parallel array of `unstable_DataStrategyResult[]` (parallel to `matches`) to a key/value object of `routeId => unstable_DataStrategyResult`
11+
- This allows you to more easily decide to opt-into or out-of revalidating data that may not have been revalidated by default (via `match.shouldLoad`)
12+
- ⚠️ This is a breaking change if you've currently adopted `unstable_dataStrategy`
13+
- Added a new `fetcherKey` parameter to `unstable_dataStrategy` to allow differentiation from navigational and fetcher calls
14+
- You should now return/throw a result from your `handlerOverride` instead of returning a `DataStrategyResult`
15+
- If you are aggregating the results of `match.resolve()` into a final results object you should not need to think about the `DataStrategyResult` type
16+
- If you are manually filling your results object from within your `handlerOverride`, then you will need to assign a `DataStrategyResult` as the value so React Router knows if it's a successful execution or an error.
17+
18+
- Preserve view transition through redirects ([#11925](https://github.com/remix-run/react-router/pull/11925))
19+
- Fix blocker usage when `blocker.proceed` is called quickly/syncronously ([#11930](https://github.com/remix-run/react-router/pull/11930))
20+
- Preserve pending view transitions through a router revalidation call ([#11917](https://github.com/remix-run/react-router/pull/11917))
21+
322
## 1.19.1
423

524
### Patch Changes

packages/router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@remix-run/router",
3-
"version": "1.19.1",
3+
"version": "1.19.2-pre.0",
44
"description": "Nested/Data-driven/Framework-agnostic Routing",
55
"keywords": [
66
"remix",

0 commit comments

Comments
 (0)