Add's a new redirectDocument() function which allows users to specify that a redirect from a loader/action should trigger a document reload (via window.location) instead of attempting to navigate to the redirected location via React Router (#10705)
Patch Changes
Fixes an edge-case affecting web extensions in Firefox that use URLSearchParams and the useSearchParams hook. (#10620)
Do not include hash in useFormAction() for unspecified actions since it cannot be determined on the server and causes hydration issues (#10758)
Reorder effects in unstable_usePrompt to avoid throwing an exception if the prompt is unblocked and a navigation is performed synchronously (#10687, #10718)
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 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 6.14.2 to 6.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
<blockquote>
<h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.15</li>
<li>react-router-dom@6.4.0-pre.15</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.11</li>
<li>react-router-dom@6.4.0-pre.11</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.10</li>
<li>react-router-dom@6.4.0-pre.10</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.9</li>
<li>react-router-dom@6.4.0-pre.9</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.8</li>
<li>react-router-dom@6.4.0-pre.8</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li><code>react-router@6.4.0-pre.7</code></li>
<li><code>react-router-dom@6.4.0-pre.7</code></li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
<ul>
<li>react-router@6.4.0-pre.6</li>
<li>react-router-dom@6.4.0-pre.6</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p>
<blockquote>
<h2>6.15.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>Add's a new <code>redirectDocument()</code> function which allows users to specify that a redirect from a <code>loader</code>/<code>action</code> should trigger a document reload (via <code>window.location</code>) instead of attempting to navigate to the redirected location via React Router (<a href="https://redirect.github.com/remix-run/react-router/pull/10705">#10705</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Fixes an edge-case affecting web extensions in Firefox that use <code>URLSearchParams</code> and the <code>useSearchParams</code> hook. (<a href="https://redirect.github.com/remix-run/react-router/pull/10620">#10620</a>)</li>
<li>Do not include hash in <code>useFormAction()</code> for unspecified actions since it cannot be determined on the server and causes hydration issues (<a href="https://redirect.github.com/remix-run/react-router/pull/10758">#10758</a>)</li>
<li>Reorder effects in <code>unstable_usePrompt</code> to avoid throwing an exception if the prompt is unblocked and a navigation is performed synchronously (<a href="https://redirect.github.com/remix-run/react-router/pull/10687">#10687</a>, <a href="https://redirect.github.com/remix-run/react-router/pull/10718">#10718</a>)</li>
<li>Updated dependencies:
<ul>
<li><code>@remix-run/router@1.8.0</code></li>
<li><code>react-router@6.15.0</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remix-run/react-router/commit/e79cb77cb566788bfa61e6f7b2d4a64e80ea56f7"><code>e79cb77</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10776">#10776</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/cd1e25a96eef89d880a3b78af2e1d534afdea427"><code>cd1e25a</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10771">#10771</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/d6d0e5b699b606249a776b436adece65e52eb169"><code>d6d0e5b</code></a> Merge branch 'main' into release-next</li>
<li><a href="https://github.com/remix-run/react-router/commit/fb70fed8d1e826ed0be7d5284fecddbb1d242e7e"><code>fb70fed</code></a> Do not include hash in useFormAction() for unspecified actions (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10758">#10758</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/46806a413a0f8b41977b90cff0aeac207cd12984"><code>46806a4</code></a> Add support to force reload on redirect with <code>X-Remix-Reload-Document</code> header...</li>
<li><a href="https://github.com/remix-run/react-router/commit/b23d7b503bf6683338755bbc263f3c254a86455f"><code>b23d7b5</code></a> Fix docs on NavLink w.r.t. links to the root route and the end prop (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10757">#10757</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/4bdd6b4cb5611f9667841e05de19a37fe8867436"><code>4bdd6b4</code></a> Add setTimeout back to unstable_usePrompt (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10718">#10718</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/78ef4ef92c632b90ab2befad389f926c432f50d0"><code>78ef4ef</code></a> Stabilize useRevalidator (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10707">#10707</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/172bad793a97b4a9ea6a9e7f79a630f4960c90db"><code>172bad7</code></a> Merge branch 'release-next' into dev</li>
<li><a href="https://github.com/remix-run/react-router/commit/aa65dbd94a86b79065d5fc5732ad0457017e769b"><code>aa65dbd</code></a> fix(react-router-dom): fix <code>getSearchParamsForLocation</code> in Firefox (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10620">#10620</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.15.0/packages/react-router-dom">compare view</a></li>
</ul>
</details>
<br />
[](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 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps react-router-dom from 6.14.2 to 6.15.0.
Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
Commits
e79cb77chore: Update version for release (#10776)cd1e25achore: Update version for release (pre) (#10771)d6d0e5bMerge branch 'main' into release-nextfb70fedDo not include hash in useFormAction() for unspecified actions (#10758)46806a4Add support to force reload on redirect withX-Remix-Reload-Documentheader...b23d7b5Fix docs on NavLink w.r.t. links to the root route and the end prop (#10757)4bdd6b4Add setTimeout back to unstable_usePrompt (#10718)78ef4efStabilize useRevalidator (#10707)172bad7Merge branch 'release-next' into devaa65dbdfix(react-router-dom): fixgetSearchParamsForLocationin Firefox (#10620)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Deploying with
Cloudflare Pages
eafa84eView logs