Skip to content

Commit 03b2682

Browse files
chore: Update version for release (pre) (remix-run#11026)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 783fbb5 commit 03b2682

File tree

11 files changed

+98
-11
lines changed

11 files changed

+98
-11
lines changed

.changeset/pre.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,16 @@
88
"react-router-native": "6.18.0",
99
"@remix-run/router": "1.11.0"
1010
},
11-
"changesets": []
11+
"changesets": [
12+
"changing-fetcher-key",
13+
"fix-action-data",
14+
"fix-relative-path",
15+
"fix-resolve-path",
16+
"flush-sync-router",
17+
"flush-sync",
18+
"form-action-index",
19+
"itchy-items-hang",
20+
"stabilize-use-blocker",
21+
"update-useprompt-args"
22+
]
1223
}

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

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# `react-router-dom-v5-compat`
22

3+
## 6.19.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router-dom@6.19.0-pre.0`
9+
- `react-router@6.19.0-pre.0`
10+
311
## 6.18.0
412

513
### Patch Changes

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom-v5-compat",
3-
"version": "6.18.0",
3+
"version": "6.19.0-pre.0",
44
"description": "Migration path to React Router v6 from v4/5",
55
"keywords": [
66
"react",
@@ -24,7 +24,7 @@
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
2626
"history": "^5.3.0",
27-
"react-router": "6.18.0"
27+
"react-router": "6.19.0-pre.0"
2828
},
2929
"peerDependencies": {
3030
"react": ">=16.8",

packages/react-router-dom/CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# `react-router-dom`
22

3+
## 6.19.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add `unstable_flushSync` option to `useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005))
8+
- Allow `unstable_usePrompt` to accept a `BlockerFunction` in addition to a `boolean` ([#10991](https://github.com/remix-run/react-router/pull/10991))
9+
10+
### Patch Changes
11+
12+
- Fix issue where a changing fetcher `key` in a `useFetcher` that remains mounted wasn't getting picked up ([#11009](https://github.com/remix-run/react-router/pull/11009))
13+
- Fix `useFormAction` which was incorrectly inheriting the `?index` query param from child route `action` submissions ([#11025](https://github.com/remix-run/react-router/pull/11025))
14+
- Fix `NavLink` `active` logic when `to` location has a trailing slash ([#10734](https://github.com/remix-run/react-router/pull/10734))
15+
- Updated dependencies:
16+
- `react-router@6.19.0-pre.0`
17+
- `@remix-run/router@1.12.0-pre.0`
18+
319
## 6.18.0
420

521
### Minor Changes

packages/react-router-dom/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom",
3-
"version": "6.18.0",
3+
"version": "6.19.0-pre.0",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",
@@ -23,8 +23,8 @@
2323
"module": "./dist/index.js",
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
26-
"@remix-run/router": "1.11.0",
27-
"react-router": "6.18.0"
26+
"@remix-run/router": "1.12.0-pre.0",
27+
"react-router": "6.19.0-pre.0"
2828
},
2929
"devDependencies": {
3030
"react": "^18.2.0",

packages/react-router-native/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `react-router-native`
22

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

512
### Patch Changes

packages/react-router-native/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-native",
3-
"version": "6.18.0",
3+
"version": "6.19.0-pre.0",
44
"description": "Declarative routing for React Native applications",
55
"keywords": [
66
"react",
@@ -22,7 +22,7 @@
2222
"types": "./dist/index.d.ts",
2323
"dependencies": {
2424
"@ungap/url-search-params": "^0.2.2",
25-
"react-router": "6.18.0"
25+
"react-router": "6.19.0-pre.0"
2626
},
2727
"devDependencies": {
2828
"react": "^18.2.0",

packages/react-router/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# `react-router`
22

3+
## 6.19.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add `unstable_flushSync` option to `useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005))
8+
- Remove the `unstable_` prefix from the [`useBlocker`](https://reactrouter.com/en/main/hooks/use-blocker) hook as it's been in use for enough time that we are confident in the API. We do not plan to remove the prefix from `unstable_usePrompt` due to differences in how browsers handle `window.confirm` that prevent React Router from guaranteeing consistent/correct behavior. ([#10991](https://github.com/remix-run/react-router/pull/10991))
9+
10+
### Patch Changes
11+
12+
- Fix `useActionData` so it returns proper contextual action data and not _any_ action data in the tree ([#11023](https://github.com/remix-run/react-router/pull/11023))
13+
- Fix bug in `useResolvedPath` that would cause `useResolvedPath(".")` in a splat route to lose the splat portion of the URL path. ([#10983](https://github.com/remix-run/react-router/pull/10983))
14+
15+
- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths inside a splat route which incorrectly dropped the splat portion of the URL. If you are relative routing via `"."` inside a splat route in your application you should double check that your logic is not relying on this buggy behavior and update accordingly.
16+
17+
- Updated dependencies:
18+
- `@remix-run/router@1.12.0-pre.0`
19+
320
## 6.18.0
421

522
### Patch Changes

packages/react-router/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router",
3-
"version": "6.18.0",
3+
"version": "6.19.0-pre.0",
44
"description": "Declarative routing for React",
55
"keywords": [
66
"react",
@@ -23,7 +23,7 @@
2323
"module": "./dist/index.js",
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
26-
"@remix-run/router": "1.11.0"
26+
"@remix-run/router": "1.12.0-pre.0"
2727
},
2828
"devDependencies": {
2929
"react": "^18.2.0"

packages/router/CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# `@remix-run/router`
22

3+
## 1.12.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add `unstable_flushSync` option to `router.navigate` and `router.fetch` to tell the React Router layer to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005))
8+
9+
### Patch Changes
10+
11+
- Fix `relative="path"` bug where relative path calculations started from the full location pathname, instead of from the current contextual route pathname. ([#11006](https://github.com/remix-run/react-router/pull/11006))
12+
13+
```jsx
14+
<Route path="/a">
15+
<Route path="/b" element={<Component />}>
16+
<Route path="/c" />
17+
</Route>
18+
</Route>;
19+
20+
function Component() {
21+
return (
22+
<>
23+
{/* This is now correctly relative to /a/b, not /a/b/c */}
24+
<Link to=".." relative="path" />
25+
<Outlet />
26+
</>
27+
);
28+
}
29+
```
30+
331
## 1.11.0
432

533
### Minor Changes

packages/router/package.json

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

0 commit comments

Comments
 (0)