376.json (10508B)
1 { 2 "number": 376, 3 "title": "Bump react-router-dom from 6.7.0 to 6.9.0", 4 "state": "closed", 5 "diff_file": "376.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-03-13T09:12:31Z", 8 "closed_at": "2023-03-30T09:08:37Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-router-dom-6.9.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.9.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.9.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p>React Router now supports an alternative way to define your route <code>element</code> and <code>errorElement</code> fields as React Components instead of React Elements. You can instead pass a React Component to the new <code>Component</code> and <code>ErrorBoundary</code> fields if you choose. There is no functional difference between the two, so use whichever approach you prefer \ud83d\ude00. You shouldn't be defining both, but if you do <code>Component</code>/<code>ErrorBoundary</code> will "win". (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10045\">#10045</a>)</p>\n<p><strong>Example JSON Syntax</strong></p>\n<pre lang=\"jsx\"><code>// Both of these work the same:\nconst elementRoutes = [{\n path: '/',\n element: <Home />,\n errorElement: <HomeError />,\n}]\n<p>const componentRoutes = [{\npath: '/',\nComponent: Home,\nErrorBoundary: HomeError,\n}]</p>\n<p>function Home() { ... }\nfunction HomeError() { ... }\n</code></pre></p>\n<p><strong>Example JSX Syntax</strong></p>\n<pre lang=\"jsx\"><code>// Both of these work the same:\nconst elementRoutes = createRoutesFromElements(\n <Route path='/' element={<Home />} errorElement={<HomeError /> } />\n);\n<p>const componentRoutes = createRoutesFromElements(\n<Route path='/' Component={Home} ErrorBoundary={HomeError} />\n);</p>\n<p>function Home() { ... }\nfunction HomeError() { ... }\n</code></pre></p>\n</li>\n<li>\n<p><strong>Introducing Lazy Route Modules!</strong> (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10045\">#10045</a>)</p>\n<p>In order to keep your application bundles small and support code-splitting of your routes, we've introduced a new <code>lazy()</code> route property. This is an async function that resolves the non-route-matching portions of your route definition (<code>loader</code>, <code>action</code>, <code>element</code>/<code>Component</code>, <code>errorElement</code>/<code>ErrorBoundary</code>, <code>shouldRevalidate</code>, <code>handle</code>).</p>\n<p>Lazy routes are resolved on initial load and during the <code>loading</code> or <code>submitting</code> phase of a navigation or fetcher call. You cannot lazily define route-matching properties (<code>path</code>, <code>index</code>, <code>children</code>) since we only execute your lazy route functions after we've matched known routes.</p>\n<p>Your <code>lazy</code> functions will typically return the result of a dynamic import.</p>\n</li>\n</ul>\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/4ec107a69b2c6b2ea7482a5a5138c035ce0ab8c2\"><code>4ec107a</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10185\">#10185</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/12db33ae49251cf41275ff3149fbef7a9c554c20\"><code>12db33a</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10174\">#10174</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/c56d84c1a6af53c7c5bd835406d7daca97439262\"><code>c56d84c</code></a> Lazy Loaded Route Modules (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10045\">#10045</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/c312eaa7d3d511369a4dbccfa6d3a799ed65578d\"><code>c312eaa</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10142\">#10142</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/b1aa838d8fe5b6cd41ac0a862109799de27aca28\"><code>b1aa838</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10137\">#10137</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/d43e1ab91b7f70d1579b78c442a8ad984f060629\"><code>d43e1ab</code></a> fix: treat absolute/same-origin/different-basename <Link to> values as extern...</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/1d2417bd48c59edfd9a08d0a7d876c14508f70a5\"><code>1d2417b</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10129\">#10129</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/d6af011465dd4d486af088201b333c999ad8278e\"><code>d6af011</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10128\">#10128</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/8975de9966d272fda2deca1a1cadfb1658c60790\"><code>8975de9</code></a> Hotfix: absolute URLs on server router (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10112\">#10112</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/3c6fb46a678036ed25895dc05ae260ab78cfc7a5\"><code>3c6fb46</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10124\">#10124</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/remix-run/react-router/commits/react-router-dom@6.9.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-03-30T09:08:36Z", 27 "body": "Superseded by #408." 28 } 29 ], 30 "review_comments": [] 31 }