You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-router-dom/CHANGELOG.md
+16
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# `react-router-dom`
2
2
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))
Copy file name to clipboardExpand all lines: packages/react-router/CHANGELOG.md
+17
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# `react-router`
2
2
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.
Copy file name to clipboardExpand all lines: packages/router/CHANGELOG.md
+28
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,33 @@
1
1
# `@remix-run/router`
2
2
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
+
functionComponent() {
21
+
return (
22
+
<>
23
+
{/* This is now correctly relative to /a/b, not /a/b/c */}
0 commit comments