Skip to content

build(deps-dev): bump react-router from 7.12.0 to 7.13.2#4089

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/react-router-7.13.2
Open

build(deps-dev): bump react-router from 7.12.0 to 7.13.2#4089
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/react-router-7.13.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2026

Bumps react-router from 7.12.0 to 7.13.2.

Release notes

Sourced from react-router's releases.

v7.13.2

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

v7.13.1

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

v7.13.0

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

Changelog

Sourced from react-router's changelog.

7.13.2

Patch Changes

  • Fix clientLoader.hydrate when an ancestor route is also hydrating a clientLoader (#14835)

  • Fix type error when passing Framework Mode route components using Route.ComponentProps to createRoutesStub (#14892)

  • Fix percent encoding in relative path navigation (#14786)

  • Add future.unstable_passThroughRequests flag (#14775)

    By default, React Router normalizes the request.url passed to your loader, action, and middleware functions by removing React Router's internal implementation details (.data suffixes, index + _routes query params).

    Enabling this flag removes that normalization and passes the raw HTTP request instance to your handlers. This provides a few benefits:

    • Reduces server-side overhead by eliminating multiple new Request() calls on the critical path
    • Allows you to distinguish document from data requests in your handlers base don the presence of a .data suffix (useful for observability purposes)

    If you were previously relying on the normalization of request.url, you can switch to use the new sibling unstable_url parameter which contains a URL instance representing the normalized location:

    // ❌ Before: you could assume there was no `.data` suffix in `request.url`
    export async function loader({ request }: Route.LoaderArgs) {
      let url = new URL(request.url);
      if (url.pathname === "/path") {
        // This check will fail with the flag enabled because the `.data` suffix will
        // exist on data requests
      }
    }
    // ✅ After: use unstable_url for normalized routing logic and request.url
    // for raw routing logic
    export async function loader({ request, unstable_url }: Route.LoaderArgs) {
    if (unstable_url.pathname === "/path") {
    // This will always have the .data suffix stripped
    }
    // And now you can distinguish between document versus data requests
    let isDataRequest = new URL(request.url).pathname.endsWith(".data");
    }

  • Internal refactor to consolidate framework-agnostic/React-specific route type layers - no public API changes (#14765)

  • Sync protocol validation to rsc flows (#14882)

  • Add a new unstable_url: URL parameter to route handler methods (loader, action, middleware, etc.) representing the normalized URL the application is navigating to or fetching, with React Router implementation details removed (.datasuffix, index/_routes query params) (#14775)

    This is being added alongside the new future.unstable_passthroughRequests future flag so that users still have a way to access the normalized URL when that flag is enabled and non-normalized request's are being passed to your handlers. When adopting this flag, you will only need to start leveraging this new parameter if you are relying on the normalization of request.url in your application code.

... (truncated)

Commits
  • aadb56f chore: Update version for release (#14908)
  • c68a9b3 chore: Update version for release (pre) (#14893)
  • 8c3c7ce fix: allow Framework Mode route components to be passed to createRoutesStub (...
  • 1cd923e chore: format
  • 830d3ba Fix percent encoding in relative path navigation (#14786)
  • 8646d39 Align redirect protocol validation in RSC flows (#14882)
  • 7d21b1c Add additional unit test - hydrate fallback rendering for SPA middleware w/o ...
  • 8a10826 docs: fix typo in useNavigate documentation (#14848)
  • bda5bb7 Fix typo in comment (#14844)
  • bbe4a73 chore: format
  • 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 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.12.0 to 7.13.2.
- [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.13.2/packages/react-router)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added Deps Reserved to dependency/dependabot PRs Deps: JavaScript Reserved to dependency/dependabot PRs labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deps: JavaScript Reserved to dependency/dependabot PRs Deps Reserved to dependency/dependabot PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants