Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps react-router from 6.28.0 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

v7.6.1

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

v6.30.1

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

v7.6.0

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

v7.5.3

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

v7.5.2

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

v7.5.1

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

v7.5.0

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

v7.4.1

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

v7.4.0

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

v7.3.0

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

v6.30.0

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

... (truncated)

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)

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 2283443 to 8b41752 Compare August 17, 2025 14:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 8b41752 to c0991ba Compare August 17, 2025 14:54
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from c0991ba to 663834b Compare August 17, 2025 15:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 663834b to 68befc8 Compare August 17, 2025 15:11
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 17, 2025

Dependabot could not find a dependency.. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 68befc8 to 411df26 Compare August 17, 2025 15:39
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 411df26 to 541f6fc Compare August 17, 2025 15:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from 541f6fc to a97fa36 Compare August 20, 2025 11:19
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.28.0 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/[email protected]/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.8.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.8.1 branch from a97fa36 to 8b1e4e6 Compare August 22, 2025 16:44
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 31, 2025

Superseded by #19467.

@dependabot dependabot bot closed this Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant