Skip to content

Commit 9a62e35

Browse files
chore: Update version for release (pre) (#12101)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5032d3b commit 9a62e35

File tree

11 files changed

+98
-6
lines changed

11 files changed

+98
-6
lines changed

.changeset/pre.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,17 @@
88
"react-router-native": "6.26.2",
99
"@remix-run/router": "1.19.2"
1010
},
11-
"changesets": []
11+
"changesets": [
12+
"calm-wombats-design",
13+
"chatty-impalas-pump",
14+
"gold-frogs-pump",
15+
"happy-grapes-fry",
16+
"itchy-shoes-sort",
17+
"nasty-queens-leave",
18+
"silly-walls-sit",
19+
"soft-maps-fix",
20+
"stabilize-flush-sync",
21+
"stabilize-view-transitions",
22+
"unlucky-keys-collect"
23+
]
1224
}

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.27.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
10+
- `@remix-run/[email protected]`
11+
312
## 6.26.2
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.2",
3+
"version": "6.27.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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# `react-router-dom`
22

3+
## 6.27.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
8+
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
9+
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
10+
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))
11+
12+
### Patch Changes
13+
14+
- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
15+
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
16+
- - Fix types for `RouteObject` within `PatchRoutesOnNavigationFunction`'s `patch` method so it doesn't expect agnostic route objects passed to `patch` ([#11967](https://github.com/remix-run/react-router/pull/11967))
17+
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
18+
- Updated dependencies:
19+
20+
- `@remix-run/[email protected]`
21+
322
## 6.26.2
423

524
### 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.2",
3+
"version": "6.27.0-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.27.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 6.26.2
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.2",
3+
"version": "6.27.0-pre.0",
44
"description": "Declarative routing for React Native applications",
55
"keywords": [
66
"react",

packages/react-router/CHANGELOG.md

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

3+
## 6.27.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
8+
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
9+
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
10+
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))
11+
12+
### Patch Changes
13+
14+
- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
15+
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
16+
- - Fix types for `RouteObject` within `PatchRoutesOnNavigationFunction`'s `patch` method so it doesn't expect agnostic route objects passed to `patch` ([#11967](https://github.com/remix-run/react-router/pull/11967))
17+
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
18+
- Updated dependencies:
19+
- `@remix-run/[email protected]`
20+
321
## 6.26.2
422

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

packages/router/CHANGELOG.md

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

3+
## 1.20.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
8+
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
9+
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
10+
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))
11+
12+
### Patch Changes
13+
14+
- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
15+
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
16+
- Fix bug with fetchers not persisting `preventScrollReset` through redirects during concurrent fetches ([#11999](https://github.com/remix-run/react-router/pull/11999))
17+
- Remove internal cache to fix issues with interrupted `patchRoutesOnNavigation` calls ([#12055](https://github.com/remix-run/react-router/pull/12055))
18+
19+
- We used to cache in-progress calls to `patchRoutesOnNavigation` internally so that multiple navigations with the same start/end would only execute the function once and use the same promise
20+
- However, this approach was at odds with `patch` short circuiting if a navigation was interrupted (and the `request.signal` aborted) since the first invocation's `patch` would no-op
21+
- This cache also made some assumptions as to what a valid cache key might be - and is oblivious to any other application-state changes that may have occurred
22+
- So, the cache has been removed because in _most_ cases, repeated calls to something like `import()` for async routes will already be cached automatically - and if not it's easy enough for users to implement this cache in userland
23+
24+
- Avoid unnecessary `console.error` on fetcher abort due to back-to-back revalidation calls ([#12050](https://github.com/remix-run/react-router/pull/12050))
25+
- - Fix types for `RouteObject` within `PatchRoutesOnNavigationFunction`'s `patch` method so it doesn't expect agnostic route objects passed to `patch` ([#11967](https://github.com/remix-run/react-router/pull/11967))
26+
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
27+
- Fix bugs with partialHydration when hydrating with errors ([#12070](https://github.com/remix-run/react-router/pull/12070))
28+
- Remove internal `discoveredRoutes` FIFO queue from `unstable_patchRoutesOnNavigation` ([#11977](https://github.com/remix-run/react-router/pull/11977))
29+
330
## 1.19.2
431

532
### Patch Changes

0 commit comments

Comments
 (0)