Skip to content

build(deps): bump the react-router-versions group in /frontend with 5 updates #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the react-router-versions group in /frontend with 5 updates:

Package From To
@react-router/express 7.5.3 7.6.0
@react-router/node 7.5.3 7.6.0
@react-router/serve 7.5.3 7.6.0
react-router 7.5.3 7.6.0
@react-router/dev 7.5.3 7.6.0

Updates @react-router/express from 7.5.3 to 7.6.0

Release notes

Sourced from @​react-router/express's releases.

v7.6.0

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

Changelog

Sourced from @​react-router/express's changelog.

7.6.0

Patch Changes

Commits

Updates @react-router/node from 7.5.3 to 7.6.0

Release notes

Sourced from @​react-router/node's releases.

v7.6.0

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

Changelog

Sourced from @​react-router/node's changelog.

7.6.0

Patch Changes

Commits

Updates @react-router/serve from 7.5.3 to 7.6.0

Release notes

Sourced from @​react-router/serve's releases.

v7.6.0

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

Changelog

Sourced from @​react-router/serve's changelog.

7.6.0

Patch Changes

Commits

Updates react-router from 7.5.3 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

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

Updates @react-router/dev from 7.5.3 to 7.6.0

Release notes

Sourced from @​react-router/dev's releases.

v7.6.0

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

Changelog

Sourced from @​react-router/dev'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" }
  • Automatic types for future flags (#13506)

    Some future flags alter the way types should work in React Router. Previously, you had to remember to manually opt-in to the new types.

    For example, for unstable_middleware:

    // react-router.config.ts
    // Step 1: Enable middleware
    export default {
    future: {
    unstable_middleware: true,
    },
    };
    // Step 2: Enable middleware types
    declare module "react-router" {
    interface Future {
    unstable_middleware: true; // 👈 Enable middleware types
    }
    }

    It was up to you to keep the runtime future flags synced with the types for those future flags. This was confusing and error-prone.

    Now, React Router will automatically enable types for future flags. That means you only need to specify the runtime future flag:

    // react-router.config.ts
    // Step 1: Enable middleware
    export default {
    future: {

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the react-router-versions group in /frontend with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@react-router/express](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-express) | `7.5.3` | `7.6.0` |
| [@react-router/node](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-node) | `7.5.3` | `7.6.0` |
| [@react-router/serve](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-serve) | `7.5.3` | `7.6.0` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.5.3` | `7.6.0` |
| [@react-router/dev](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dev) | `7.5.3` | `7.6.0` |


Updates `@react-router/express` from 7.5.3 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-express/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/@react-router/[email protected]/packages/react-router-express)

Updates `@react-router/node` from 7.5.3 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-node/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/@react-router/[email protected]/packages/react-router-node)

Updates `@react-router/serve` from 7.5.3 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-serve/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/@react-router/[email protected]/packages/react-router-serve)

Updates `react-router` from 7.5.3 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/[email protected]/packages/react-router)

Updates `@react-router/dev` from 7.5.3 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-dev/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/@react-router/[email protected]/packages/react-router-dev)

---
updated-dependencies:
- dependency-name: "@react-router/express"
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-router-versions
- dependency-name: "@react-router/node"
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-router-versions
- dependency-name: "@react-router/serve"
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-router-versions
- dependency-name: react-router
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-router-versions
- dependency-name: "@react-router/dev"
  dependency-version: 7.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: react-router-versions
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 8, 2025
@ken-blanchard ken-blanchard merged commit 998739d into main May 8, 2025
3 checks passed
@ken-blanchard ken-blanchard deleted the dependabot/npm_and_yarn/frontend/react-router-versions-d20bdd338f branch May 8, 2025 18:02
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.

1 participant