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: CHANGELOG.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1113,17 +1113,17 @@ Date: 2022-11-01
1113
1113
1114
1114
### Patch Changes
1115
1115
1116
-
- Generate correct `<ahref>` values when using `createHashRouter` (#9409)
1117
-
- Better handle encoding/matching with special characters in URLs and route paths (#9477, #9496)
1118
-
- Generate correct `formAction` pathnames when an `index` route also has a `path` (#9486)
1116
+
- Generate correct `<ahref>` values when using `createHashRouter` ([#9409](https://github.com/remix-run/react-router/pull/9409))
1117
+
- Better handle encoding/matching with special characters in URLs and route paths ([#9477](https://github.com/remix-run/react-router/pull/9477), [#9496](https://github.com/remix-run/react-router/pull/9496))
1118
+
- Generate correct `formAction` pathnames when an `index` route also has a `path` ([#9486](https://github.com/remix-run/react-router/pull/9486))
1119
1119
- Respect `relative=path` prop on `NavLink` ([#9453](https://github.com/remix-run/react-router/pull/9453))
1120
-
- Fix `NavLink` behavior for root urls (#9497)
1121
-
- `useRoutes` should be able to return `null` when passing `locationArg` (#9485)
1122
-
- Fix `initialEntries` type in `createMemoryRouter` (#9498)
1123
-
- Support `basename` and relative routing in `loader`/`action` redirects (#9447)
1124
-
- Ignore pathless layout routes when looking for proper submission `action` function (#9455)
1125
-
- Add UMD build for `@remix-run/router` (#9446)
1126
-
- Fix `createURL` in local file execution in Firefox (#9464)
1120
+
- Fix `NavLink` behavior for root urls ([#9497](https://github.com/remix-run/react-router/pull/9497))
1121
+
- `useRoutes` should be able to return `null` when passing `locationArg` ([#9485](https://github.com/remix-run/react-router/pull/9485))
1122
+
- Fix `initialEntries` type in `createMemoryRouter` ([#9498](https://github.com/remix-run/react-router/pull/9498))
1123
+
- Support `basename` and relative routing in `loader`/`action` redirects ([#9447](https://github.com/remix-run/react-router/pull/9447))
1124
+
- Ignore pathless layout routes when looking for proper submission `action` function ([#9455](https://github.com/remix-run/react-router/pull/9455))
1125
+
- Add UMD build for `@remix-run/router` ([#9446](https://github.com/remix-run/react-router/pull/9446))
1126
+
- Fix `createURL` in local file execution in Firefox ([#9464](https://github.com/remix-run/react-router/pull/9464))
- In v6.1.0 we inadvertently shipped a new, undocumented API that will likely introduce bugs (#7586). We have flagged `HistoryRouter` as `unstable_HistoryRouter`, as this API will likely need to change before a new major release.
1241
+
- In v6.1.0 we inadvertently shipped a new, undocumented API that will likely introduce bugs ([#7586](https://github.com/remix-run/react-router/pull/7586)). We have flagged `HistoryRouter` as `unstable_HistoryRouter`, as this API will likely need to change before a new major release.
- `<Outlet>` can now receive a `context` prop. This value is passed to child routes and is accessible via the new `useOutletContext` hook. See [the API docs](https://reactrouter.com/docs/en/v6/api#useoutletcontext) for details. (#8461)
1252
-
- `<NavLink>` can now receive a child function for access to its props. (#8164)
1253
-
- Improved TypeScript signature for `useMatch` and `matchPath`. For example, when you call `useMatch("foo/:bar/:baz")`, the path is parsed and the return type will be `PathMatch<"bar" | "baz">`. (#8030)
1251
+
- `<Outlet>` can now receive a `context` prop. This value is passed to child routes and is accessible via the new `useOutletContext` hook. See [the API docs](https://reactrouter.com/docs/en/v6/api#useoutletcontext) for details. ([#8461](https://github.com/remix-run/react-router/pull/8461))
1252
+
- `<NavLink>` can now receive a child function for access to its props. ([#8164](https://github.com/remix-run/react-router/pull/8164))
1253
+
- Improved TypeScript signature for `useMatch` and `matchPath`. For example, when you call `useMatch("foo/:bar/:baz")`, the path is parsed and the return type will be `PathMatch<"bar" | "baz">`. ([#8030](https://github.com/remix-run/react-router/pull/8030))
1254
1254
1255
1255
### Patch Changes
1256
1256
1257
-
- Fixed a bug that broke support for base64 encoded IDs on nested routes (#8291)
1258
-
- A few error message improvements (#8202)
1257
+
- Fixed a bug that broke support for base64 encoded IDs on nested routes ([#8291](https://github.com/remix-run/react-router/pull/8291))
1258
+
- A few error message improvements ([#8202](https://github.com/remix-run/react-router/pull/8202))
- Added the `reloadDocument` prop to `<Link>`. This allows `<Link>` to function like a normal anchor tag by reloading the document after navigation while maintaining the relative `to` resolution (#8283)
1268
+
- Added the `reloadDocument` prop to `<Link>`. This allows `<Link>` to function like a normal anchor tag by reloading the document after navigation while maintaining the relative `to` resolution ([#8283](https://github.com/remix-run/react-router/pull/8283))
0 commit comments