[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
remix-run/react-router (react-router)
### [`v6.28.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6280)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.27.0...react-router@6.28.0)
##### Minor Changes
- - Log deprecation warnings for v7 flags ([#11750](https://redirect.github.com/remix-run/react-router/pull/11750))
- Add deprecation warnings to `json`/`defer` in favor of returning raw objects
- These methods will be removed in React Router v7
##### Patch Changes
- Update JSDoc URLs for new website structure (add /v6/ segment) ([#12141](https://redirect.github.com/remix-run/react-router/pull/12141))
- Updated dependencies:
- `@remix-run/router@1.21.0`
### [`v6.27.0`](https://redirect.github.com/remix-run/react-router/releases/tag/react-router%406.27.0): v6.27.0
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.2...react-router@6.27.0)
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6270
### [`v6.26.2`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6262)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.1...react-router@6.26.2)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.19.2`
### [`v6.26.1`](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1)
### [`v6.26.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6260)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.25.1...react-router@6.26.0)
##### Minor Changes
- Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#11811](https://redirect.github.com/remix-run/react-router/pull/11811))
##### Patch Changes
- Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://redirect.github.com/remix-run/react-router/pull/11838))
- During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components
- Updated dependencies:
- `@remix-run/router@1.19.0`
### [`v6.25.1`](https://redirect.github.com/remix-run/react-router/releases/tag/react-router%406.25.1): v6.25.1
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.25.0...react-router@6.25.1)
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6251
### [`v6.25.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6250)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.24.1...react-router@6.25.0)
##### Minor Changes
- Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://redirect.github.com/remix-run/react-router/pull/11769))
- When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code
- You may still opt-into revalidation via `shouldRevalidate`
- This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus`
##### Patch Changes
- Fix regression and properly decode paths inside `useMatch` so matches/params reflect decoded params ([#11789](https://redirect.github.com/remix-run/react-router/pull/11789))
- Updated dependencies:
- `@remix-run/router@1.18.0`
### [`v6.24.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6241)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.24.0...react-router@6.24.1)
##### Patch Changes
- When using `future.v7_relativeSplatPath`, properly resolve relative paths in splat routes that are children of pathless routes ([#11633](https://redirect.github.com/remix-run/react-router/pull/11633))
- Updated dependencies:
- `@remix-run/router@1.17.1`
### [`v6.24.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6240)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.23.1...react-router@6.24.0)
##### Minor Changes
- Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#11626](https://redirect.github.com/remix-run/react-router/pull/11626))
- RFC:
- `unstable_patchRoutesOnMiss` docs:
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.17.0`
### [`v6.23.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6231)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.23.0...react-router@6.23.1)
##### Patch Changes
- allow undefined to be resolved with `` ([#11513](https://redirect.github.com/remix-run/react-router/pull/11513))
- Updated dependencies:
- `@remix-run/router@1.16.1`
### [`v6.23.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6230)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.22.3...react-router@6.23.0)
##### Minor Changes
- Add a new `unstable_dataStrategy` configuration option ([#11098](https://redirect.github.com/remix-run/react-router/pull/11098))
- This option allows Data Router applications to take control over the approach for executing route loaders and actions
- The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix single-fetch, middleware/context APIs, automatic loader caching, and more
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.16.0`
### [`v6.22.3`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6223)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.22.2...react-router@6.22.3)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.15.3`
### [`v6.22.2`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6222)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.22.1...react-router@6.22.2)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.15.2`
### [`v6.22.1`](https://redirect.github.com/remix-run/react-router/releases/tag/react-router%406.22.1): v6.22.1
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.22.0...react-router@6.22.1)
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6221
### [`v6.22.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6220)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.21.3...react-router@6.22.0)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.15.0`
### [`v6.21.3`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6213)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.21.2...react-router@6.21.3)
##### Patch Changes
- Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types ([#11187](https://redirect.github.com/remix-run/react-router/pull/11187))
### [`v6.21.2`](https://redirect.github.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2)
### [`v6.21.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6211)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.21.0...react-router@6.21.1)
##### Patch Changes
- Fix bug with `route.lazy` not working correctly on initial SPA load when `v7_partialHydration` is specified ([#11121](https://redirect.github.com/remix-run/react-router/pull/11121))
- Updated dependencies:
- `@remix-run/router@1.14.1`
### [`v6.21.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6210)
[Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.20.1...react-router@6.21.0)
##### Minor Changes
- Add a new `future.v7_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. ([#11087](https://redirect.github.com/remix-run/react-router/pull/11087))
This fix was originally added in [#10983](https://redirect.github.com/remix-run/react-router/issues/10983) and was later reverted in [#11078](https://redirect.github.com/remix-run/react-router/pull/11078) because it was determined that a large number of existing applications were relying on the buggy behavior (see [#11052](https://redirect.github.com/remix-run/react-router/issues/11052))
**The Bug**
The buggy behavior is that without this flag, the default behavior when resolving relative paths is to *ignore* any splat (`*`) portion of the current route path.
**The Background**
This decision was originally made thinking that it would make the concept of nested different sections of your apps in `` easier if relative routing would *replace* the current splat:
```jsx
} />
} />
```
Any paths like `/dashboard`, `/dashboard/team`, `/dashboard/projects` will match the `Dashboard` route. The dashboard component itself can then render nested ``:
```jsx
function Dashboard() {
return (
This PR contains the following updates:
6.4.3
->6.28.0
6.4.3
->6.28.0
Release Notes
remix-run/react-router (react-router)
### [`v6.28.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6280) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.27.0...react-router@6.28.0) ##### Minor Changes - - Log deprecation warnings for v7 flags ([#11750](https://redirect.github.com/remix-run/react-router/pull/11750)) - Add deprecation warnings to `json`/`defer` in favor of returning raw objects - These methods will be removed in React Router v7 ##### Patch Changes - Update JSDoc URLs for new website structure (add /v6/ segment) ([#12141](https://redirect.github.com/remix-run/react-router/pull/12141)) - Updated dependencies: - `@remix-run/router@1.21.0` ### [`v6.27.0`](https://redirect.github.com/remix-run/react-router/releases/tag/react-router%406.27.0): v6.27.0 [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.2...react-router@6.27.0) See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6270 ### [`v6.26.2`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6262) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.1...react-router@6.26.2) ##### Patch Changes - Updated dependencies: - `@remix-run/router@1.19.2` ### [`v6.26.1`](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1) ### [`v6.26.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6260) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.25.1...react-router@6.26.0) ##### Minor Changes - Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#11811](https://redirect.github.com/remix-run/react-router/pull/11811)) ##### Patch Changes - Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://redirect.github.com/remix-run/react-router/pull/11838)) - During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components - Updated dependencies: - `@remix-run/router@1.19.0` ### [`v6.25.1`](https://redirect.github.com/remix-run/react-router/releases/tag/react-router%406.25.1): v6.25.1 [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.25.0...react-router@6.25.1) See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6251 ### [`v6.25.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6250) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.24.1...react-router@6.25.0) ##### Minor Changes - Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://redirect.github.com/remix-run/react-router/pull/11769)) - When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code - You may still opt-into revalidation via `shouldRevalidate` - This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus` ##### Patch Changes - Fix regression and properly decode paths inside `useMatch` so matches/params reflect decoded params ([#11789](https://redirect.github.com/remix-run/react-router/pull/11789)) - Updated dependencies: - `@remix-run/router@1.18.0` ### [`v6.24.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6241) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.24.0...react-router@6.24.1) ##### Patch Changes - When using `future.v7_relativeSplatPath`, properly resolve relative paths in splat routes that are children of pathless routes ([#11633](https://redirect.github.com/remix-run/react-router/pull/11633)) - Updated dependencies: - `@remix-run/router@1.17.1` ### [`v6.24.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6240) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.23.1...react-router@6.24.0) ##### Minor Changes - Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#11626](https://redirect.github.com/remix-run/react-router/pull/11626)) - RFC:Dashboard
Dashboard
You made it!
{data}
> ); } // Export an `ErrorBoundary` directly instead of needing to create a React Element from it export function ErrorBoundary() { let error = useRouteError(); return isRouteErrorResponse(error) ? ({error.status} {error.statusText}
) : ({error.message || error}
); } ``` An example of this in action can be found in the [`examples/lazy-loading-router-provider`](https://redirect.github.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider) directory of the repository. 🙌 Huge thanks to [@rossipedia](https://redirect.github.com/rossipedia) for the [Initial Proposal](https://redirect.github.com/remix-run/react-router/discussions/9826) and [POC Implementation](https://redirect.github.com/remix-run/react-router/pull/9830). - Updated dependencies: - `@remix-run/router@1.4.0` ##### Patch Changes - Fix `generatePath` incorrectly applying parameters in some cases ([#10078](https://redirect.github.com/remix-run/react-router/pull/10078)) - Improve memoization for context providers to avoid unnecessary re-renders ([#9983](https://redirect.github.com/remix-run/react-router/pull/9983)) ### [`v6.8.2`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#682) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.8.1...react-router@6.8.2) ##### Patch Changes - Updated dependencies: - `@remix-run/router@1.3.3` ### [`v6.8.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#681) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.8.0...react-router@6.8.1) ##### Patch Changes - Remove inaccurate console warning for POP navigations and update active blocker logic ([#10030](https://redirect.github.com/remix-run/react-router/pull/10030)) - Updated dependencies: - `@remix-run/router@1.3.2` ### [`v6.8.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#680) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.7.0...react-router@6.8.0) ##### Patch Changes - Updated dependencies: - `@remix-run/router@1.3.1` ### [`v6.7.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#670) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.6.2...react-router@6.7.0) ##### Minor Changes - Add `unstable_useBlocker` hook for blocking navigations within the app's location origin ([#9709](https://redirect.github.com/remix-run/react-router/pull/9709)) ##### Patch Changes - Fix `generatePath` when optional params are present ([#9764](https://redirect.github.com/remix-run/react-router/pull/9764)) - Update `remix-run/react-router (react-router-dom)
### [`v6.28.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6280) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.27.0...react-router-dom@6.28.0) ##### Minor Changes - - Log deprecation warnings for v7 flags ([#11750](https://redirect.github.com/remix-run/react-router/pull/11750)) - Add deprecation warnings to `json`/`defer` in favor of returning raw objects - These methods will be removed in React Router v7 ##### Patch Changes - Update JSDoc URLs for new website structure (add /v6/ segment) ([#12141](https://redirect.github.com/remix-run/react-router/pull/12141)) - Updated dependencies: - `react-router@6.28.0` - `@remix-run/router@1.21.0` ### [`v6.27.0`](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.2...react-router-dom@6.27.0) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.2...react-router-dom@6.27.0) ### [`v6.26.2`](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.1...react-router-dom@6.26.2) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.1...react-router-dom@6.26.2) ### [`v6.26.1`](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.0...react-router-dom@6.26.1) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.26.0...react-router-dom@6.26.1) ### [`v6.26.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6260) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.25.1...react-router-dom@6.26.0) ##### Minor Changes - Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#11811](https://redirect.github.com/remix-run/react-router/pull/11811)) ##### Patch Changes - Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://redirect.github.com/remix-run/react-router/pull/11838)) - During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components - Updated dependencies: - `@remix-run/router@1.19.0` - `react-router@6.26.0` ### [`v6.25.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6251) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.25.0...react-router-dom@6.25.1) ##### Patch Changes - Memoize some `RouterProvider` internals to reduce unnecessary re-renders ([#11803](https://redirect.github.com/remix-run/react-router/pull/11803)) - Updated dependencies: - `react-router@6.25.1` ### [`v6.25.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6250) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.24.1...react-router-dom@6.25.0) ##### Minor Changes - Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://redirect.github.com/remix-run/react-router/pull/11769)) - When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code - You may still opt-into revalidation via `shouldRevalidate` - This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus` ##### Patch Changes - Updated dependencies: - `react-router@6.25.0` - `@remix-run/router@1.18.0` ### [`v6.24.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6241) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router-dom@6.24.0...react-router-dom@6.24.1) ##### Patch Changes - Remove `polyfill.io` reference from warning message because the domain was sold and has since been determined to serve malware ([#11741](https://redirect.github.com/remix-run/react-router/pull/11741)) - SeeDashboard
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.