Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps react-router from 7.5.0 to 7.6.0.

Release notes

Sourced from react-router's releases.

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

Changelog

Sourced from react-router's changelog.

7.6.0

Minor Changes

  • Added a new react-router.config.ts routeDiscovery option to configure Lazy Route Discovery behavior. (#13451)

    • By default, Lazy Route Discovery is enabled and makes manifest requests to the /__manifest path:
      • routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }
    • You can modify the manifest path used:
      • routeDiscovery: { mode: "lazy", manifestPath: "/custom-manifest" }
    • Or you can disable this feature entirely and include all routes in the manifest on initial document load:
      • routeDiscovery: { mode: "initial" }
  • Add support for route component props in createRoutesStub. This allows you to unit test your route components using the props instead of the hooks: (#13528)

    let RoutesStub = createRoutesStub([
      {
        path: "/",
        Component({ loaderData }) {
          let data = loaderData as { message: string };
          return <pre data-testid="data">Message: {data.message}</pre>;
        },
        loader() {
          return { message: "hello" };
        },
      },
    ]);
    render(<RoutesStub />);
    await waitFor(() => screen.findByText("Message: hello"));

Patch Changes

  • Fix react-router module augmentation for NodeNext (#13498)

  • Don't bundle react-router in react-router/dom CJS export (#13497)

  • Fix bug where a submitting fetcher would get stuck in a loading state if a revalidating loader redirected (#12873)

  • Fix hydration error if a server loader returned undefined (#13496)

  • Fix initial load 404 scenarios in data mode (#13500)

  • Stabilize useRevalidator's revalidate function (#13542)

  • Preserve status code if a clientAction throws a data() result in framework mode (#13522)

... (truncated)

Commits
  • c29148e chore: Update version for release (#13561)
  • 3adc571 chore: Update version for release (pre) (#13545)
  • 0fe5d6d Fix middleware error bubbling scenarios (#13538)
  • 1678d41 feat(react-router): stabilize useRevalidator's revalidate (#13542)
  • 5af3eaa Add component props support to createRoutesStub (#13528)
  • 4e427a3 Short circuit dataStrategy post processing on aborted requests (#13521)
  • 7583dc7 Preserve status code on clientAction throw data() results (#13522)
  • 26ecf2f Fix fetcher state stuck on loading if a loader redirects (#12873)
  • 5a966cb Inline turbo-stream@2.4.1 and fix decode ordering of Map/Set instances (#13518)
  • eb59d5f feat(react-router): don't bundle react-router in react-router/dom export ...
  • 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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 12, 2025
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.5.0 to 7.6.0.
- [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.6.0/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-router-7.6.0 branch from 10cff68 to 5755af1 Compare May 14, 2025 08:29
@gh-buddy gh-buddy merged commit 50006f9 into dev May 15, 2025
8 checks passed
@gh-buddy gh-buddy deleted the dependabot/npm_and_yarn/react-router-7.6.0 branch May 15, 2025 08:03
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.

2 participants