[PR #62] Bump react-router from 6.30.2 to 7.10.1 in /src/packages/app #21

Open
opened 2026-06-08 08:27:44 +00:00 by ryangr0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/webgrip/backstage-application/pull/62
Author: @dependabot[bot]
Created: 12/16/2025
Status: 🔄 Open

Base: mainHead: dependabot/npm_and_yarn/src/packages/app/react-router-7.10.1


📝 Commits (1)

  • 7d15e90 Bump react-router from 6.30.2 to 7.10.1 in /src/packages/app

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/packages/app/package.json (+1 -1)

📄 Description

Bumps react-router from 6.30.2 to 7.10.1.

Release notes

Sourced from react-router's releases.

v7.10.1

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

v7.10.0

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

Changelog

Sourced from react-router's changelog.

7.10.1

Patch Changes

  • Update the useOptimistic stub we provide for React 18 users to use a stable setter function to avoid potential useEffect loops - specifically when using <Link viewTransition> (#14628)

7.10.0

Minor Changes

  • Stabilize fetcher.reset() (#14545)

    • ⚠️ This is a breaking change if you have begun using fetcher.unstable_reset()
  • Stabilize the dataStrategy match.shouldRevalidateArgs/match.shouldCallHandler() APIs. (#14592)

    • The match.shouldLoad API is now marked deprecated in favor of these more powerful alternatives

    • If you're using this API in a custom dataStrategy today, you can swap to the new API at your convenience:

      // Before
      const matchesToLoad = matches.filter((m) => m.shouldLoad);
      

      // After const matchesToLoad = matches.filter((m) => m.shouldCallHandler());

    • match.shouldRevalidateArgs is the argument that will be passed to the route shouldRevaliate function

    • Combined with the parameter accepted by match.shouldCallHandler, you can define a custom revalidation behavior for your dataStrategy:

    const matchesToLoad = matches.filter((m) => {
      const defaultShouldRevalidate = customRevalidationBehavior(
        match.shouldRevalidateArgs,
      );
      return m.shouldCallHandler(defaultShouldRevalidate);
      // The argument here will override the internal `defaultShouldRevalidate` value
    });
    

Patch Changes

  • Fix a Framework Mode bug where the defaultShouldRevalidate parameter to shouldRevalidate would not be correct after action returned a 4xx/5xx response (true when it should have been false) (#14592)

    • If your shouldRevalidate function relied on that parameter, you may have seen unintended revalidations
  • Fix fetcher.submit failing with plain objects containing a tagName property (#14534)

  • [UNSTABLE] Add unstable_pattern to the parameters for client side unstable_onError, refactor how it's called by RouterProvider to avoid potential strict mode issues (#14573)

  • Add new unstable_useTransitions flag to routers to give users control over the usage of React.startTransition and React.useOptimistic. (#14524)

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/webgrip/backstage-application/pull/62 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/16/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/src/packages/app/react-router-7.10.1` --- ### 📝 Commits (1) - [`7d15e90`](https://github.com/webgrip/backstage-application/commit/7d15e90d8c8a702d93be3099610ead5d410b657f) Bump react-router from 6.30.2 to 7.10.1 in /src/packages/app ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/packages/app/package.json` (+1 -1) </details> ### 📄 Description Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.30.2 to 7.10.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router's releases</a>.</em></p> <blockquote> <h2>v7.10.1</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7101">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7101</a></p> <h2>v7.10.0</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7100">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7100</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router's changelog</a>.</em></p> <blockquote> <h2>7.10.1</h2> <h3>Patch Changes</h3> <ul> <li>Update the <code>useOptimistic</code> stub we provide for React 18 users to use a stable setter function to avoid potential <code>useEffect</code> loops - specifically when using <code>&lt;Link viewTransition&gt;</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/14628">#14628</a>)</li> </ul> <h2>7.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>Stabilize <code>fetcher.reset()</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/14545">#14545</a>)</p> <ul> <li>⚠️ This is a breaking change if you have begun using <code>fetcher.unstable_reset()</code></li> </ul> </li> <li> <p>Stabilize the <code>dataStrategy</code> <code>match.shouldRevalidateArgs</code>/<code>match.shouldCallHandler()</code> APIs. (<a href="https://redirect.github.com/remix-run/react-router/pull/14592">#14592</a>)</p> <ul> <li> <p>The <code>match.shouldLoad</code> API is now marked deprecated in favor of these more powerful alternatives</p> </li> <li> <p>If you're using this API in a custom <code>dataStrategy</code> today, you can swap to the new API at your convenience:</p> <pre lang="tsx"><code>// Before const matchesToLoad = matches.filter((m) =&gt; m.shouldLoad); <p>// After const matchesToLoad = matches.filter((m) =&gt; m.shouldCallHandler()); </code></pre></p> </li> <li> <p><code>match.shouldRevalidateArgs</code> is the argument that will be passed to the route <code>shouldRevaliate</code> function</p> </li> <li> <p>Combined with the parameter accepted by <code>match.shouldCallHandler</code>, you can define a custom revalidation behavior for your <code>dataStrategy</code>:</p> </li> </ul> <pre lang="tsx"><code>const matchesToLoad = matches.filter((m) =&gt; { const defaultShouldRevalidate = customRevalidationBehavior( match.shouldRevalidateArgs, ); return m.shouldCallHandler(defaultShouldRevalidate); // The argument here will override the internal `defaultShouldRevalidate` value }); </code></pre> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Fix a Framework Mode bug where the <code>defaultShouldRevalidate</code> parameter to <code>shouldRevalidate</code> would not be correct after <code>action</code> returned a 4xx/5xx response (<code>true</code> when it should have been <code>false</code>) (<a href="https://redirect.github.com/remix-run/react-router/pull/14592">#14592</a>)</p> <ul> <li>If your <code>shouldRevalidate</code> function relied on that parameter, you may have seen unintended revalidations</li> </ul> </li> <li> <p>Fix <code>fetcher.submit</code> failing with plain objects containing a <code>tagName</code> property (<a href="https://redirect.github.com/remix-run/react-router/pull/14534">#14534</a>)</p> </li> <li> <p>[UNSTABLE] Add <code>unstable_pattern</code> to the parameters for client side <code>unstable_onError</code>, refactor how it's called by <code>RouterProvider</code> to avoid potential strict mode issues (<a href="https://redirect.github.com/remix-run/react-router/pull/14573">#14573</a>)</p> </li> <li> <p>Add new <code>unstable_useTransitions</code> flag to routers to give users control over the usage of <a href="https://react.dev/reference/react/startTransition"><code>React.startTransition</code></a> and <a href="https://react.dev/reference/react/useOptimistic"><code>React.useOptimistic</code></a>. (<a href="https://redirect.github.com/remix-run/react-router/pull/14524">#14524</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/remix-run/react-router/commit/77d22facf73ac0092d46d1d099c73ef759a5ba29"><code>77d22fa</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14634">#14634</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/201cad9f9734c58c46c8aaa334166b8437e09a80"><code>201cad9</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14629">#14629</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/d04cbbc1b67eec0e50fd598cbf171261506c8f80"><code>d04cbbc</code></a> Use a stable useOptimistic setter stub in React 18 (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14628">#14628</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/4a5e3332aa20cdf7011d5ebd17c9b78a18123f5b"><code>4a5e333</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14618">#14618</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/99244df399bbd6b4d15a59683ed57de3f2420952"><code>99244df</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14606">#14606</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/1f8fee408db2f74dcc4b04eeb51009da5d51d8a6"><code>1f8fee4</code></a> Update source code docs</li> <li><a href="https://github.com/remix-run/react-router/commit/d037c1129cc8b4f92a0c88e764dfe4cf309450f6"><code>d037c11</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14599">#14599</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/75bdd9b9f7a2b7bed3a0c88c4539abad02f3d58e"><code>75bdd9b</code></a> Stabilize shouldCallHandler APIs (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14592">#14592</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/e04ad2badbcc4dd415ffc6ce30f9b5d82bf560f1"><code>e04ad2b</code></a> Test cleanups (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14589">#14589</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/1dbf8e39bb293779be7bfb2ace1ce0b2800e98ab"><code>1dbf8e3</code></a> Improve href() with a faster trim end splat (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14329">#14329</a>)</li> <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router@7.10.1/packages/react-router">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router&package-manager=npm_and_yarn&previous-version=6.30.2&new-version=7.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/backstage-application#21
No description provided.