Skip to content

chore(deps): bump react-router-dom from 5.3.4 to 7.13.2 in /superset-frontend#39058

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/superset-frontend/react-router-dom-7.13.2
Closed

chore(deps): bump react-router-dom from 5.3.4 to 7.13.2 in /superset-frontend#39058
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/superset-frontend/react-router-dom-7.13.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 2, 2026

Bumps react-router-dom from 5.3.4 to 7.13.2.

Release notes

Sourced from react-router-dom's releases.

v7.1.3

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

v6.4.4

What's Changed

  • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
  • Properly handle redirects to external domains (#9590, #9654)
  • Preserve the HTTP method on 307/308 redirects (#9597)
  • Support basename in static data routers (#9591)
  • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios
  • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)
  • Properly serialize/deserialize ErrorResponse instances when using built-in hydration (#9593)
  • Support basename in static data routers (#9591)
  • Updated dependencies:
    • @remix-run/router@1.0.4
    • react-router@6.4.4

Full Changelog: https://github.com/remix-run/react-router/compare/react-router-dom@6.4.3...react-router-dom@6.4.4

Changelog

Sourced from react-router-dom's changelog.

7.13.2

Patch Changes

  • Updated dependencies:
    • react-router@7.13.2

7.13.1

Patch Changes

  • Updated dependencies:
    • react-router@7.13.1

7.13.0

Patch Changes

  • Updated dependencies:
    • react-router@7.13.0

7.12.0

Patch Changes

  • Updated dependencies:
    • react-router@7.12.0

7.11.0

Patch Changes

  • Updated dependencies:
    • react-router@7.11.0

7.10.1

Patch Changes

  • Updated dependencies:
    • react-router@7.10.1

7.10.0

Patch Changes

  • Updated dependencies:
    • react-router@7.10.0

7.9.6

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for react-router-dom since your current version.


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-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 5.3.4 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-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.13.2/packages/react-router-dom)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot npm Dependabot - npm related PRs labels Apr 2, 2026
@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented Apr 2, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@sadpandajoe
Copy link
Copy Markdown
Member

Dependabot Review: CI Failing — MAJOR BREAKING CHANGE (React Router v5 → v7)

CI Status: 21 failures (frontend-build, cypress, playwright, lint, translations — all downstream of build failure)

Root Cause & Breaking Changes:

This is a v5 → v7 major version jump — one of the largest breaking changes in the React ecosystem. React Router v6 and v7 have a completely rewritten API:

Breaking Changes Summary:

  • Switch removed → replaced by Routes
  • Route syntax changed → component/render/children props replaced by element={<Component />}
  • useHistory() removed → replaced by useNavigate()
  • useRouteMatch() removed → replaced by useMatch()
  • withRouter() HOC removed → must use hooks
  • Nested routes → must use Outlet pattern
  • Redirect removed → replaced by Navigate
  • React Router v7 = Remix migration path — adds framework-level features

Superset's codebase has extensive use of React Router v5 APIs across hundreds of components. This migration requires a full codebase audit and refactor.

Estimated effort: Large (days to weeks) — cannot be merged as-is.

Note: This PR supersedes #38223 (which targets v7.13.1; this targets v7.13.2).

Recommendation: ❌ Do NOT merge. This requires a dedicated migration effort:

  1. Replace all Switch with Routes
  2. Replace all Redirect with Navigate
  3. Replace all useHistory() with useNavigate()
  4. Replace all useRouteMatch() with useMatch()
  5. Replace all withRouter() HOCs with hook-based patterns
  6. Audit all nested route patterns

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 3, 2026

Superseded by #39086.

@dependabot dependabot Bot closed this Apr 3, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/superset-frontend/react-router-dom-7.13.2 branch April 3, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant