Skip to content

Commit add109f

Browse files
dependabot[bot]nicohrubecclaude
authored
chore(deps-dev): Bump react-router from 7.13.0 to 7.15.0 (#21337)
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.13.0 to 7.15.0. <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.15.0</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7150">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7150</a></p> <h2>v7.14.2</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7142">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7142</a></p> <h2>v7.14.1</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7141">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7141</a></p> <h2>v7.14.0</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7140">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7140</a></p> <h2>v7.13.2</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7132">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7132</a></p> <h2>v7.13.1</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7131">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7131</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>v7.15.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>Stabilize <code>unstable_defaultShouldRevalidate</code> as <code>defaultShouldRevalidate</code> on <code>&lt;Link&gt;</code>, <code>&lt;Form&gt;</code>, <code>useLinkClickHandler</code>, <code>useSubmit</code>, <code>fetcher.submit</code>, and <code>setSearchParams</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize the instrumentation APIs. <code>unstable_instrumentations</code> is now <code>instrumentations</code> and <code>unstable_pattern</code> is now <code>pattern</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>The <code>unstable_ServerInstrumentation</code>, <code>unstable_ClientInstrumentation</code>, <code>unstable_InstrumentRequestHandlerFunction</code>, <code>unstable_InstrumentRouterFunction</code>, <code>unstable_InstrumentRouteFunction</code>, and <code>unstable_InstrumentationHandlerResult</code> types have had their <code>unstable_</code> prefixes removed</li> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize <code>unstable_mask</code> as <code>mask</code> on <code>&lt;Link&gt;</code>, <code>useLinkClickHandler</code>, and <code>useNavigate</code>, and rename the corresponding <code>Location.unstable_mask</code> field to <code>Location.mask</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize the <code>unstable_normalizePath</code> option on <code>staticHandler.query</code> and <code>staticHandler.queryRoute</code> as <code>normalizePath</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize <code>future.unstable_passThroughRequests</code> as <code>future.v8_passThroughRequests</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Remove <code>unstable_subResourceIntegrity</code> from the runtime <code>FutureConfig</code> type; the flag is now controlled by the top-level <code>subResourceIntegrity</code> option in <code>react-router.config.ts</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize <code>unstable_url</code> as <code>url</code> on <code>loader</code>, <code>action</code>, and <code>middleware</code> function args (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> <li> <p>Stabilize <code>unstable_useTransitions</code> as <code>useTransitions</code> on <code>&lt;BrowserRouter&gt;</code>, <code>&lt;HashRouter&gt;</code>, <code>&lt;HistoryRouter&gt;</code>, <code>&lt;MemoryRouter&gt;</code>, <code>&lt;Router&gt;</code>, <code>&lt;RouterProvider&gt;</code>, <code>&lt;HydratedRouter&gt;</code>, and <code>useLinkClickHandler</code> (<a href="https://github.com/remix-run/react-router/commit/a993f09">a993f09</a>)</p> <ul> <li>⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly</li> </ul> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Add <code>nonce</code> to <code>&lt;Scripts&gt;</code> <code>&lt;link rel=&quot;modulepreload&quot;&gt;</code> elements (if provided) (<a href="https://github.com/remix-run/react-router/commit/af5d49b">af5d49b</a>)</p> </li> <li> <p>Fix a bug with <code>unstable_defaultShouldRevalidate={false}</code> where parent routes that did not export a <code>shouldRevalidate</code> function could be incorrectly included in the single fetch call for new child route data (<a href="https://redirect.github.com/remix-run/react-router/pull/15012">#15012</a>)</p> </li> <li> <p>Improve server-side route matching performance by pre-computing flattened/cached route branches (<a href="https://redirect.github.com/remix-run/react-router/pull/14967">#14967</a>) (<a href="https://github.com/remix-run/react-router/commit/af5d49b">af5d49b</a>)</p> <ul> <li>Performance benchmarks showed roughly a 10-15% improvement in server-side request handling performance</li> </ul> </li> <li> <p>Mark <code>mask</code> as an optional field in <code>Location</code> for easier mocking in unit tests (<a href="https://redirect.github.com/remix-run/react-router/pull/14999">#14999</a>)</p> </li> <li> <p>Cache flattened/ranked route branches to optimize server-side route matching (<a href="https://redirect.github.com/remix-run/react-router/pull/14967">#14967</a>)</p> </li> <li> <p>Improve route matching performance in Framework/Data Mode (<a href="https://redirect.github.com/remix-run/react-router/pull/14971">#14971</a>) (<a href="https://github.com/remix-run/react-router/commit/af5d49b">af5d49b</a>)</p> <ul> <li>Avoiding unnecessary calls to <code>matchRoutes</code> in data router scenarios <ul> <li>This includes adding back the optimization that was removed in <code>7.6.0</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/13562">#13562</a>)</li> <li>The issues that prompted the revert have been addressed by using the available router <code>matches</code> but always updating <code>match.route</code> to the latest route in the <code>manifest</code></li> </ul> </li> <li>Leverage pre-computed pre-computing flattened/cached route branches during client side route matching</li> <li>Performance benchmarks showed roughly a 15-30% improvement in server-side request handling performance</li> </ul> </li> </ul> <h2>v7.14.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/remix-run/react-router/commit/97c8de79c38f107acd15f74d8295c7bf75894a5d"><code>97c8de7</code></a> Release v7.15.0 (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15018">#15018</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/af5d49b71c15fa502cb0918482597284e8cb39c4"><code>af5d49b</code></a> Update change files again</li> <li><a href="https://github.com/remix-run/react-router/commit/a993f09533fa15bbf01ce734c8c7c116564cf4b7"><code>a993f09</code></a> Update change files</li> <li><a href="https://github.com/remix-run/react-router/commit/362635b8fdf020afdf697823ca71ba4c01b40e0d"><code>362635b</code></a> Move chnageset to change file</li> <li><a href="https://github.com/remix-run/react-router/commit/e756132b5bcae52b65c504bdac8cec406c746e62"><code>e756132</code></a> chore: format</li> <li><a href="https://github.com/remix-run/react-router/commit/49295b5c220b567cff9934ddf0199877663b552c"><code>49295b5</code></a> Stabilize APIs (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14999">#14999</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/5f61543c31c442271162b31ee9fe1499e170c68c"><code>5f61543</code></a> Client-side route matching optimizations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14971">#14971</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/67518cb61054f1b3eede95dde95480aca962626d"><code>67518cb</code></a> Remove unnecessary hasShouldRevalidate condition for opting out (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15012">#15012</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/6f18edde6b5eac5f7028bfde885bbb8031025480"><code>6f18edd</code></a> Add nonce to scripts <code>modulepreload</code> (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15002">#15002</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/10a968671d94a1147d78e766cffae33c6d151162"><code>10a9686</code></a> Migrate changeset to change file</li> <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router@7.15.0/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=7.13.0&new-version=7.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/getsentry/sentry-javascript/network/alerts). </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Hrubec <nico.hrubec@sentry.io> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4e2765b commit add109f

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

packages/react-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@react-router/dev": "^7.13.0",
6262
"@react-router/node": "^7.13.1",
6363
"react": "^18.3.1",
64-
"react-router": "^7.13.0",
64+
"react-router": "^7.15.0",
6565
"vite": "^6.4.2"
6666
},
6767
"peerDependencies": {

packages/react-router/test/server/createSentryHandleRequest.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ describe('createSentryHandleRequest', () => {
4949
},
5050
routeModules: {},
5151
future: {
52-
unstable_subResourceIntegrity: false,
5352
v8_middleware: false,
53+
v8_passThroughRequests: false,
5454
unstable_trailingSlashAwareDataRequests: false,
5555
},
5656
isSpaMode: false,
57+
branches: [],
5758
staticHandlerContext: {
5859
matches: [
5960
{

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25628,10 +25628,10 @@ react-router@6.30.3:
2562825628
dependencies:
2562925629
"@remix-run/router" "1.23.2"
2563025630

25631-
react-router@^7.13.0:
25632-
version "7.13.0"
25633-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.13.0.tgz#de9484aee764f4f65b93275836ff5944d7f5bd3b"
25634-
integrity sha512-PZgus8ETambRT17BUm/LL8lX3Of+oiLaPuVTRH3l1eLvSPpKO3AvhAEb5N7ihAFZQrYDqkvvWfFh9p0z9VsjLw==
25631+
react-router@^7.15.0:
25632+
version "7.15.0"
25633+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.15.0.tgz#cb438ff254ab5a1e356ef5a23d7821d8f6fbe652"
25634+
integrity sha512-HW9vYwuM8f4yx66Izy8xfrzCM+SBJluoZcCbww9A1TySax11S5Vgw6fi3ZjMONw9J4gQwngL7PzkyIpJJpJ7RQ==
2563525635
dependencies:
2563625636
cookie "^1.0.1"
2563725637
set-cookie-parser "^2.6.0"

0 commit comments

Comments
 (0)