477.json (10926B)
1 { 2 "number": 477, 3 "title": "Bump react-router-dom from 6.7.0 to 6.13.0", 4 "state": "closed", 5 "diff_file": "477.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-06-15T09:07:04Z", 8 "closed_at": "2023-06-26T09:08:55Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-router-dom-6.13.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.7.0 to 6.13.0.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/remix-run/react-router/releases\">react-router-dom's releases</a>.</em></p>\n<blockquote>\n<h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.15</li>\n<li>react-router-dom@6.4.0-pre.15</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.11</li>\n<li>react-router-dom@6.4.0-pre.11</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.10</li>\n<li>react-router-dom@6.4.0-pre.10</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.9</li>\n<li>react-router-dom@6.4.0-pre.9</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.8</li>\n<li>react-router-dom@6.4.0-pre.8</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li><code>react-router@6.4.0-pre.7</code></li>\n<li><code>react-router-dom@6.4.0-pre.7</code></li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version\n<ul>\n<li>react-router@6.4.0-pre.6</li>\n<li>react-router-dom@6.4.0-pre.6</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Changelog</summary>\n<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>\n<blockquote>\n<h2>6.13.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p>Move <a href=\"https://react.dev/reference/react/startTransition\"><code>React.startTransition</code></a> usage behind a <a href=\"https://reactrouter.com/en/main/guides/api-development-strategy\">future flag</a> to avoid issues with existing incompatible <code>Suspense</code> usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of <code>startTransition</code> until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a <code>useMemo</code>. (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10596\">#10596</a>)</p>\n<p>Existing behavior will no longer include <code>React.startTransition</code>:</p>\n<pre lang=\"jsx\"><code><BrowserRouter>\n <Routes>{/*...*/}</Routes>\n</BrowserRouter>\n<p><RouterProvider router={router} />\n</code></pre></p>\n<p>If you wish to enable <code>React.startTransition</code>, pass the future flag to your component:</p>\n<pre lang=\"jsx\"><code><BrowserRouter future={{ v7_startTransition: true }}>\n <Routes>{/*...*/}</Routes>\n</BrowserRouter>\n<p><RouterProvider router={router} future={{ v7_startTransition: true }}/>\n</code></pre></p>\n</li>\n</ul>\n<h3>Patch Changes</h3>\n<ul>\n<li>Work around webpack/terser <code>React.startTransition</code> minification bug in production mode (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10588\">#10588</a>)</li>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.13.0</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.12.1</h2>\n<blockquote>\n<p><strong>Warning</strong>\nPlease use version <code>6.13.0</code> or later instead of <code>6.12.1</code>. This version suffers from a <code>webpack</code>/<code>terser</code> minification issue resulting in invalid minified code in your resulting production bundles which can cause issues in your application. See <a href=\"https://redirect.github.com/remix-run/react-router/issues/10579\">#10579</a> for more details.</p>\n</blockquote>\n<h3>Patch Changes</h3>\n<ul>\n<li>Adjust feature detection of <code>React.startTransition</code> to fix webpack + react 17 compilation error (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10569\">#10569</a>)</li>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.12.1</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.12.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>Wrap internal router state updates with <code>React.startTransition</code> if it exists (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10438\">#10438</a>)</li>\n</ul>\n<h3>Patch Changes</h3>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<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>\n<li><a href=\"https://github.com/remix-run/react-router/commit/a0b53e36fb9f9c408cb36a3d69959d4703cda994\"><code>a0b53e3</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10597\">#10597</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/5d9be065472dd757a9e877f0710a765a8d4d51bd\"><code>5d9be06</code></a> Add future.v7_startTransition flag (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10596\">#10596</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/31bdd23c3f2fe1bdd4154187764ec5e14a3c3045\"><code>31bdd23</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10589\">#10589</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/2f79bcef5f396943cf95d0d23fbd67df9b8e17a6\"><code>2f79bce</code></a> Fix webpack/terser startTransition minification bug in production mode (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10588\">#10588</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/77d718245e22cf648a2b08350fb2e587a6263ef4\"><code>77d7182</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10577\">#10577</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/e8d4301dfe207b7305272044a9232b10fd815eb5\"><code>e8d4301</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10575\">#10575</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/c5d9e252ed332a08fcf9ad6013cf2b3c9617d4f7\"><code>c5d9e25</code></a> Fix feature detection of React.startTransition (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10569\">#10569</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/6c0bbb14ed638a9adcae11376b084db450b69c84\"><code>6c0bbb1</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10564\">#10564</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/4cf2543b503d2f22c345a8595b8558be56ee3716\"><code>4cf2543</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10554\">#10554</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/remix-run/react-router/commits/react-router-dom@6.13.0/packages/react-router-dom\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>\n\n<!-- Replace -->\n----\n\u231b Deploy Preview - Build in Progress\n<!-- Replace -->\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-06-26T09:08:54Z", 27 "body": "Superseded by #494." 28 } 29 ], 30 "review_comments": [] 31 }