494.md (9620B)
1 # PR #494 Bump react-router-dom from 6.7.0 to 6.14.0 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-06-26T09:08:49Z 6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.14.0 → main 7 - **Closed:** 2023-07-03T08:38:33Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [494.diff](./494.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.0. 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/react-router-dom@6.14.0/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p> 98 <blockquote> 99 <h2>6.14.0</h2> 100 <h3>Minor Changes</h3> 101 <ul> 102 <li> 103 <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> 104 <pre lang="jsx"><code>// The default behavior will still serialize as FormData 105 function Component() { 106 let navigation = useNavigation(); 107 let submit = useSubmit(); 108 submit({ key: "value" }, { method: "post" }); 109 // navigation.formEncType => "application/x-www-form-urlencoded" 110 // navigation.formData => FormData instance 111 } 112 <p>async function action({ request }) { 113 // request.headers.get("Content-Type") => "application/x-www-form-urlencoded" 114 // await request.formData() => FormData instance 115 } 116 </code></pre></p> 117 <pre lang="js"><code>// Opt-into JSON encoding with `encType: "application/json"` 118 function Component() { 119 let navigation = useNavigation(); 120 let submit = useSubmit(); 121 submit({ key: "value" }, { method: "post", encType: "application/json" }); 122 // navigation.formEncType => "application/json" 123 // navigation.json => { key: "value" } 124 } 125 126 async function action({ request }) { 127 // request.headers.get("Content-Type") => "application/json" 128 // await request.json() => { key: "value" } 129 } 130 </code></pre> 131 <pre lang="js"><code>// Opt-into text encoding with `encType: "text/plain"` 132 function Component() { 133 let navigation = useNavigation(); 134 let submit = useSubmit(); 135 submit("Text submission", { method: "post", encType: "text/plain" }); 136 // navigation.formEncType => "text/plain" 137 // navigation.text => "Text submission" 138 } 139 140 async function action({ request }) { 141 // request.headers.get("Content-Type") => "text/plain" 142 </code></pre> 143 </li> 144 </ul> 145 <!-- raw HTML omitted --> 146 </blockquote> 147 <p>... (truncated)</p> 148 </details> 149 <details> 150 <summary>Commits</summary> 151 <ul> 152 <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> 153 <li><a href="https://github.com/remix-run/react-router/commit/9debb5c123d7ab9f9d15b6db4fc0fd9d7ea2a856"><code>9debb5c</code></a> Update changelogs</li> 154 <li><a href="https://github.com/remix-run/react-router/commit/d1bc7cf0af7c977103b7a1a7c1294d8dc8595b63"><code>d1bc7cf</code></a> Update changeset + chanbgelog</li> 155 <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> 156 <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> 157 <li><a href="https://github.com/remix-run/react-router/commit/8b95f2b861feb5999b509d22318cd2384ab84dac"><code>8b95f2b</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10626">#10626</a>)</li> 158 <li><a href="https://github.com/remix-run/react-router/commit/96e1fc1dcdcfd89930df1af4cf190f43c2a0f461"><code>96e1fc1</code></a> Inline startTransitionImpl to avoid .d.ts issues with skipLibCheck:false (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10">#10</a>...</li> 159 <li><a href="https://github.com/remix-run/react-router/commit/f63774c3843e2f25b6ca5b6f4882ebd4db705603"><code>f63774c</code></a> fix(react-router-dom): fix submitter serialization (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/9865">#9865</a>)</li> 160 <li><a href="https://github.com/remix-run/react-router/commit/a3b21eb301b336bfb7645ba11d8b96eed9fbefd6"><code>a3b21eb</code></a> Merge branch 'release-next' into dev</li> 161 <li><a href="https://github.com/remix-run/react-router/commit/ed17fcd344d33e5d2bca6ec053975a761f5990ce"><code>ed17fcd</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10601">#10601</a>)</li> 162 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.14.0/packages/react-router-dom">compare view</a></li> 163 </ul> 164 </details> 165 <br /> 166 167 168 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 169 170 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`. 171 172 [//]: # (dependabot-automerge-start) 173 [//]: # (dependabot-automerge-end) 174 175 --- 176 177 <details> 178 <summary>Dependabot commands and options</summary> 179 <br /> 180 181 You can trigger Dependabot actions by commenting on this PR: 182 - `@dependabot rebase` will rebase this PR 183 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 184 - `@dependabot merge` will merge this PR after your CI passes on it 185 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 186 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 187 - `@dependabot reopen` will reopen this PR if it is closed 188 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 189 - `@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) 190 - `@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) 191 - `@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) 192 193 194 </details> 195 196 <!-- Replace --> 197 ---- 198 ⌛ Deploy Preview - Build in Progress 199 <!-- Replace --> 200 201 202 203 ## Comments 204 205 ### @dependabot[bot] — 2023-07-03T08:38:32Z 206 207 Superseded by #505. 208