Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Bumps react-router from 7.6.1 to 7.8.1.

Release notes

Sourced from react-router's releases.

v7.8.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v781

v7.8.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v780

v7.7.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v771

v7.7.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v770

v7.6.3

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v763

v7.6.2

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v762

Changelog

Sourced from react-router's changelog.

7.8.1

Patch Changes

  • Fix usage of optional path segments in nested routes defined using absolute paths (#14135)
  • Bubble client pre-next middleware error to the shallowest ancestor that needs to load, not strictly the shallowest ancestor with a loader (#14150)
  • Fix optional static segment matching in matchPath (#11813)
  • Fix prerendering when a basename is set with ssr:false (#13791)
  • Provide isRouteErrorResponse utility in react-server environments (#14166)
  • Propagate non-redirect Responses thrown from middleware to the error boundary on document/data requests (#14182)
  • Handle meta and links Route Exports in RSC Data Mode (#14136)
  • Properly convert returned/thrown data() values to Response instances via Response.json() in resource routes and middleware (#14159, #14181)

7.8.0

Minor Changes

  • Add nonce prop to Links & PrefetchPageLinks (#14048)
  • Add loaderData arguments/properties alongside existing data arguments/properties to provide consistency and clarity between loaderData and actionData across the board (#14047)
    • Updated types: Route.MetaArgs, Route.MetaMatch, MetaArgs, MetaMatch, Route.ComponentProps.matches, UIMatch
    • @deprecated warnings have been added to the existing data properties to point users to new loaderData properties, in preparation for removing the data properties in a future major release

Patch Changes

  • Prevent "Did not find corresponding fetcher result" console error when navigating during a fetcher.submit revalidation (#14114)

  • Bubble client-side middleware errors prior to next to the appropriate ancestor error boundary (#14138)

  • Switch Lazy Route Discovery manifest URL generation to usea standalone URLSearchParams instance instead of URL.searchParams to avoid a major performance bottleneck in Chrome (#14084)

  • Adjust internal RSC usage of React.use to avoid Webpack compilation errors when using React 18 (#14113)

  • Remove dependency on @types/node in TypeScript declaration files (#14059)

  • Fix types for UIMatch to reflect that the loaderData/data properties may be undefined (#12206)

    • When an ErrorBoundary is being rendered, not all active matches will have loader data available, since it may have been their loader that threw to trigger the boundary
    • The UIMatch.data type was not correctly handing this and would always reflect the presence of data, leading to the unexpected runtime errors when an ErrorBoundary was rendered
    • ⚠️ This may cause some type errors to show up in your code for unguarded match.data accesses - you should properly guard for undefined values in those scenarios.
    // app/root.tsx
    export function loader() {
      someFunctionThatThrows(); // ❌ Throws an Error
      return { title: "My Title" };
    }
    export function Layout({ children }: { children: React.ReactNode }) {
    let matches = useMatches();
    let rootMatch = matches[0] as UIMatch<Awaited<ReturnType<typeof loader>>>;
    //  ^ rootMatch.data is incorrectly typed here, so TypeScript does not

... (truncated)

Commits
  • fd17d66 chore: Update version for release (#14185)
  • 68f3bfc chore: Update version for release (pre) (#14184)
  • 869e168 Propagate middleware thrown non-redirect responses to the boundary (#14182)
  • c819c77 Update logic for data->Response conversion to use Response.json (#14181)
  • bd38001 chore: Update version for release (pre) (#14178)
  • 6cce04f Merge branch 'main' into release-next
  • be95911 docs(api/hooks/useNavigate): add some extra reference links (#14170)
  • 1f06a5e Make missing loaderData conditional in Route.MetaArgs (#14173)
  • a9b539b Provide isRouteErrorResponse in react-server environments (#14166)
  • 3aee660 Properly handle data() values returned/thrown from resource routes (#14159)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.6.1 to 7.8.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.8.1/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.8.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 18, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 18, 2025 07:41
@dependabot dependabot bot requested a review from tomoasleep August 18, 2025 07:41
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 18, 2025
@dependabot dependabot bot requested a review from acronhub August 18, 2025 07:42
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 25, 2025

Superseded by #304.

@dependabot dependabot bot closed this Aug 25, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-router-7.8.1 branch August 25, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants