505.md (9356B)
1 # PR #505 Bump react-router-dom from 6.7.0 to 6.14.1 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-07-03T08:38:28Z 6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.14.1 → main 7 - **Closed:** 2023-07-18T08:30:02Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [505.diff](./505.diff) 12 13 --- 14 15 Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.7.0 to 6.14.1. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p> 19 <blockquote> 20 <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2> 21 <h3>Patch Changes</h3> 22 <ul> 23 <li>Updated dependencies 24 <ul> 25 <li>react-router@6.4.0-pre.15</li> 26 <li>react-router-dom@6.4.0-pre.15</li> 27 </ul> 28 </li> 29 </ul> 30 <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2> 31 <h3>Patch Changes</h3> 32 <ul> 33 <li>Updated dependencies 34 <ul> 35 <li>react-router@6.4.0-pre.11</li> 36 <li>react-router-dom@6.4.0-pre.11</li> 37 </ul> 38 </li> 39 </ul> 40 <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2> 41 <h3>Patch Changes</h3> 42 <ul> 43 <li>Updated dependencies 44 <ul> 45 <li>react-router@6.4.0-pre.10</li> 46 <li>react-router-dom@6.4.0-pre.10</li> 47 </ul> 48 </li> 49 </ul> 50 <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2> 51 <h3>Patch Changes</h3> 52 <ul> 53 <li>Updated dependencies 54 <ul> 55 <li>react-router@6.4.0-pre.9</li> 56 <li>react-router-dom@6.4.0-pre.9</li> 57 </ul> 58 </li> 59 </ul> 60 <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2> 61 <h3>Patch Changes</h3> 62 <ul> 63 <li>Updated dependencies 64 <ul> 65 <li>react-router@6.4.0-pre.8</li> 66 <li>react-router-dom@6.4.0-pre.8</li> 67 </ul> 68 </li> 69 </ul> 70 <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2> 71 <h3>Patch Changes</h3> 72 <ul> 73 <li>Updated dependencies 74 <ul> 75 <li><code>react-router@6.4.0-pre.7</code></li> 76 <li><code>react-router-dom@6.4.0-pre.7</code></li> 77 </ul> 78 </li> 79 </ul> 80 <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2> 81 <h3>Patch Changes</h3> 82 <ul> 83 <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version 84 <ul> 85 <li>react-router@6.4.0-pre.6</li> 86 <li>react-router-dom@6.4.0-pre.6</li> 87 </ul> 88 </li> 89 </ul> 90 <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2> 91 <!-- raw HTML omitted --> 92 </blockquote> 93 <p>... (truncated)</p> 94 </details> 95 <details> 96 <summary>Changelog</summary> 97 <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> 98 <blockquote> 99 <h2>6.14.1</h2> 100 <h3>Patch Changes</h3> 101 <ul> 102 <li>Updated dependencies: 103 <ul> 104 <li><code>react-router@6.14.1</code></li> 105 <li><code>@remix-run/router@1.7.1</code></li> 106 </ul> 107 </li> 108 </ul> 109 <h2>6.14.0</h2> 110 <h3>Minor Changes</h3> 111 <ul> 112 <li> 113 <p>Add support for <code>application/json</code> and <code>text/plain</code> encodings for <code>useSubmit</code>/<code>fetcher.submit</code>. To reflect these additional types, <code>useNavigation</code>/<code>useFetcher</code> now also contain <code>navigation.json</code>/<code>navigation.text</code> and <code>fetcher.json</code>/<code>fetcher.text</code> which include the json/text submission if applicable (<a href="https://redirect.github.com/remix-run/react-router/pull/10413">#10413</a>)</p> 114 <pre lang="jsx"><code>// The default behavior will still serialize as FormData 115 function Component() { 116 let navigation = useNavigation(); 117 let submit = useSubmit(); 118 submit({ key: "value" }, { method: "post" }); 119 // navigation.formEncType => "application/x-www-form-urlencoded" 120 // navigation.formData => FormData instance 121 } 122 <p>async function action({ request }) { 123 // request.headers.get("Content-Type") => "application/x-www-form-urlencoded" 124 // await request.formData() => FormData instance 125 } 126 </code></pre></p> 127 <pre lang="js"><code>// Opt-into JSON encoding with `encType: "application/json"` 128 function Component() { 129 let navigation = useNavigation(); 130 let submit = useSubmit(); 131 submit({ key: "value" }, { method: "post", encType: "application/json" }); 132 // navigation.formEncType => "application/json" 133 // navigation.json => { key: "value" } 134 } 135 136 async function action({ request }) { 137 // request.headers.get("Content-Type") => "application/json" 138 // await request.json() => { key: "value" } 139 } 140 </code></pre> 141 <pre lang="js"><code>// Opt-into text encoding with `encType: "text/plain"` 142 function Component() { 143 let navigation = useNavigation(); 144 </code></pre> 145 </li> 146 </ul> 147 <!-- raw HTML omitted --> 148 </blockquote> 149 <p>... (truncated)</p> 150 </details> 151 <details> 152 <summary>Commits</summary> 153 <ul> 154 <li><a href="https://github.com/remix-run/react-router/commit/8be5e51772b2953b67bec739387f8192c57949f5"><code>8be5e51</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10659">#10659</a>)</li> 155 <li><a href="https://github.com/remix-run/react-router/commit/1f06a02acfc45971ce7b9b69025d399fe0a4ae56"><code>1f06a02</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10658">#10658</a>)</li> 156 <li><a href="https://github.com/remix-run/react-router/commit/cbda9cff254e682e8b42b15346e0249b63c7d647"><code>cbda9cf</code></a> Fix issue with reused blockers on subsequent navigations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10656">#10656</a>)</li> 157 <li><a href="https://github.com/remix-run/react-router/commit/775bff945076522bf11343dc1156e4dedc8ee5f1"><code>775bff9</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10653">#10653</a>)</li> 158 <li><a href="https://github.com/remix-run/react-router/commit/0ffa3dc7f75b9439321fb7b57d55201ddf391417"><code>0ffa3dc</code></a> Fix loop in unstable_useBlocker when used with an unstable blocker function (...</li> 159 <li><a href="https://github.com/remix-run/react-router/commit/09b6cbeabb02ffaccc3d5a6ca751b9f5221b0d5b"><code>09b6cbe</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10636">#10636</a>)</li> 160 <li><a href="https://github.com/remix-run/react-router/commit/9debb5c123d7ab9f9d15b6db4fc0fd9d7ea2a856"><code>9debb5c</code></a> Update changelogs</li> 161 <li><a href="https://github.com/remix-run/react-router/commit/d1bc7cf0af7c977103b7a1a7c1294d8dc8595b63"><code>d1bc7cf</code></a> Update changeset + chanbgelog</li> 162 <li><a href="https://github.com/remix-run/react-router/commit/6cbd0b148e9655f0a471c9f2445f49f343c52d21"><code>6cbd0b1</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10628">#10628</a>)</li> 163 <li><a href="https://github.com/remix-run/react-router/commit/19a71df56ff6fde417cc80aa9394d1d5b63e1d72"><code>19a71df</code></a> fix FormData submitter check (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10627">#10627</a>)</li> 164 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.14.1/packages/react-router-dom">compare view</a></li> 165 </ul> 166 </details> 167 <br /> 168 169 170 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 171 172 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`. 173 174 [//]: # (dependabot-automerge-start) 175 [//]: # (dependabot-automerge-end) 176 177 --- 178 179 <details> 180 <summary>Dependabot commands and options</summary> 181 <br /> 182 183 You can trigger Dependabot actions by commenting on this PR: 184 - `@dependabot rebase` will rebase this PR 185 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 186 - `@dependabot merge` will merge this PR after your CI passes on it 187 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 188 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 189 - `@dependabot reopen` will reopen this PR if it is closed 190 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 191 - `@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) 192 - `@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) 193 - `@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) 194 195 196 </details> 197 198 199 ## Comments 200 201 ### @dependabot[bot] — 2023-07-18T08:30:01Z 202 203 Superseded by #536. 204