0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00
ghost/apps
renovate[bot] 7f9c0da1f8
Update dependency react-router to v7.4.1 (#22565)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://redirect.github.com/remix-run/react-router)
([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`7.3.0` ->
`7.4.1`](https://renovatebot.com/diffs/npm/react-router/7.3.0/7.4.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/7.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/7.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/7.3.0/7.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/7.3.0/7.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v7.4.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#741)

[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/react-router@7.4.0...react-router@7.4.1)

##### Patch Changes

- Fix types on `unstable_MiddlewareFunction` to avoid type errors when a
middleware doesn't return a value
([#&#8203;13311](https://redirect.github.com/remix-run/react-router/pull/13311))
- Dedupe calls to `route.lazy` functions
([#&#8203;13260](https://redirect.github.com/remix-run/react-router/pull/13260))
- Add support for `route.unstable_lazyMiddleware` function to allow lazy
loading of middleware logic.
([#&#8203;13210](https://redirect.github.com/remix-run/react-router/pull/13210))

    **Breaking change for `unstable_middleware` consumers**

The `route.unstable_middleware` property is no longer supported in the
return value from `route.lazy`. If you want to lazily load middleware,
you must use `route.unstable_lazyMiddleware`.

###
[`v7.4.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#740)

[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/react-router@7.3.0...react-router@7.4.0)

##### Patch Changes

- Fix root loader data on initial load redirects in SPA mode
([#&#8203;13222](https://redirect.github.com/remix-run/react-router/pull/13222))
- Load ancestor pathless/index routes in lazy route discovery for
upwards non-eager-discoery routing
([#&#8203;13203](https://redirect.github.com/remix-run/react-router/pull/13203))
- Fix `shouldRevalidate` behavior for `clientLoader`-only routes in
`ssr:true` apps
([#&#8203;13221](https://redirect.github.com/remix-run/react-router/pull/13221))
- UNSTABLE: Fix `RequestHandler` `loadContext` parameter type when
middleware is enabled
([#&#8203;13204](https://redirect.github.com/remix-run/react-router/pull/13204))
- UNSTABLE: Update `Route.unstable_MiddlewareFunction` to have a return
value of `Response | undefined` instead of `Response | void` becaue you
should not return anything if you aren't returning the `Response`
([#&#8203;13199](https://redirect.github.com/remix-run/react-router/pull/13199))
- UNSTABLE(BREAKING): If a middleware throws an error, ensure we only
bubble the error itself via `next()` and are no longer leaking the
`MiddlewareError` implementation detail
([#&#8203;13180](https://redirect.github.com/remix-run/react-router/pull/13180))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 20:59:12 +00:00
..
admin-x-activitypub Update dependency ts-jest to v29.3.1 (#22723) 2025-03-31 18:17:41 +00:00
admin-x-demo
admin-x-design-system Updated TypeScript to v5.8.2 2025-03-31 15:16:52 +02:00
admin-x-framework Update dependency react-router to v7.4.1 (#22565) 2025-03-31 20:59:12 +00:00
admin-x-settings Updated TypeScript to v5.8.2 2025-03-31 15:16:52 +02:00
announcement-bar
comments-ui Update dependency @testing-library/user-event to v14.6.1 (#22695) 2025-03-31 19:50:18 +00:00
portal Update dependency eslint-plugin-i18next to v6.1.1 (#22701) 2025-03-31 08:29:53 +00:00
posts
shade Updated TypeScript to v5.8.2 2025-03-31 15:16:52 +02:00
signup-form Update dependency eslint-plugin-react-hooks to v4.6.2 (#22689) 2025-03-31 10:14:45 +00:00
sodo-search Released @tryghost/sodo-search v1.5.4 (#22494) 2025-03-13 17:04:56 +00:00
stats Added Stats React app (#22613) 2025-03-25 10:20:28 +01:00