Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17438d9

Browse files
chore: bump react-router from 7.8.0 to 7.9.5 in /site (#20624)
Bumps[react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router)from 7.8.0 to 7.9.5.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/remix-run/react-router/releases">react-router'sreleases</a>.</em></p><blockquote><h2>v7.9.5</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v795">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v795</a></p><h2>v7.9.4</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v794">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v794</a></p><h2>v7.9.3</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v793">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v793</a></p><h2>v7.9.2</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v792">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v792</a></p><h2>v7.9.1</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v791">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v791</a></p><h2>v7.9.0</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790</a></p><h2>v7.8.2</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v782">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v782</a></p><h2>v7.8.1</h2><p>See the changelog for release notes: <ahref="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v781">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v781</a></p></blockquote></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router'schangelog</a>.</em></p><blockquote><h2>7.9.5</h2><h3>Patch Changes</h3><ul><li><p>Move RSCHydratedRouter and utils to <code>/dom</code> export. (<ahref="https://redirect.github.com/remix-run/react-router/pull/14457">#14457</a>)</p></li><li><p>useRoute: return type-safe <code>handle</code> (<ahref="https://redirect.github.com/remix-run/react-router/pull/14462">#14462</a>)</p><p>For example:</p><pre lang="ts"><code>// app/routes/admin.tsxconst handle = { hello: &quot;world&quot; };</code></pre><pre lang="ts"><code>// app/routes/some-other-route.tsxexport default function Component() { const admin = useRoute(&quot;routes/admin&quot;);if (!admin) throw new Error(&quot;Not nested within'routes/admin'&quot;); console.log(admin.handle); // ^? { hello: string }}</code></pre></li><li><p>Ensure action handlers run for routes with middleware even if noloader is present (<ahref="https://redirect.github.com/remix-run/react-router/pull/14443">#14443</a>)</p></li><li><p>Add <code>unstable_instrumentations</code> API to allow users to addobservablity to their apps by instrumenting route loaders, actions,middlewares, lazy, as well as server-side request handlers and clientside navigations/fetches (<ahref="https://redirect.github.com/remix-run/react-router/pull/14412">#14412</a>)</p><ul><li>Framework Mode:<ul><li><code>entry.server.tsx</code>: <code>export constunstable_instrumentations = [...]</code></li><li><code>entry.client.tsx</code>: <code>&lt;HydratedRouterunstable_instrumentations={[...]} /&gt;</code></li></ul></li><li>Data Mode<ul><li><code>createBrowserRouter(routes, { unstable_instrumentations: [...]})</code></li></ul></li></ul><p>This also adds a new <code>unstable_pattern</code> parameter toloaders/actions/middleware which contains the un-interpolated routepattern (i.e., <code>/blog/:slug</code>) which is useful for aggregatingperformance metrics by route</p></li></ul><h2>7.9.4</h2><h3>Patch Changes</h3><ul><li><p>handle external redirects in from server actions (<ahref="https://redirect.github.com/remix-run/react-router/pull/14400">#14400</a>)</p></li><li><p>New (unstable) <code>useRoute</code> hook for accessing data fromspecific routes (<ahref="https://redirect.github.com/remix-run/react-router/pull/14407">#14407</a>)</p><p>For example, let's say you have an <code>admin</code> route somewherein your app and you want any child routes of <code>admin</code> to allhave access to the <code>loaderData</code> and <code>actionData</code>from <code>admin.</code></p><pre lang="tsx"><code>// app/routes/admin.tsximport { Outlet } from &quot;react-router&quot;;<p>export const loader = () =&gt; ({ message: &quot;Hello, loader!&quot;});</code></pre></p></li></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/remix-run/react-router/commit/a1918125144aecd8ac5dd62ad3b682877f06106f"><code>a191812</code></a>chore: Update version for release (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14485">#14485</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/74bef786708cf6fe626649adca60a39bce898f39"><code>74bef78</code></a>chore: Update version for release (pre) (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14469">#14469</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/c0577e4ad2347a097c7249ea1e7935fef3b53b27"><code>c0577e4</code></a>Merge branch 'main' into release-next</li><li><ahref="https://github.com/remix-run/react-router/commit/0163df4848a05fca60f0390b67e9615e9f4b40f9"><code>0163df4</code></a>fix(react-router): run action handlers for routes with middleware evenif no ...</li><li><ahref="https://github.com/remix-run/react-router/commit/c84016b8847250f8cabab291adf44a12a46e3f2c"><code>c84016b</code></a>Minor updates for instrumentations (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14467">#14467</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/adadca5534c3bfa43fcd61adbf00c78d56d43c77"><code>adadca5</code></a>Add unstable_instrumentations API (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14412">#14412</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/dea842d8d938c4f39503a8f3a97e424d2b73b16a"><code>dea842d</code></a>fix: move RSCHydratedRouter and utils to <code>/dom</code> export (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14457">#14457</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/1d1b18809eac4bd9e4fd0887dcfa1f225e10b0bc"><code>1d1b188</code></a>useRoute: return type-safe <code>handle</code> (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14462">#14462</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/3e3a223ee90c1fee3da01daf6866ad2f5bdf62ba"><code>3e3a223</code></a>docs: fix references (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14441">#14441</a>)</li><li><ahref="https://github.com/remix-run/react-router/commit/158847e11664bc47534bf8f334bc9d630ea79a70"><code>158847e</code></a>fix: Fix invalid markdown link for createHashRouter (<ahref="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14434">#14434</a>)</li><li>Additional commits viewable in <ahref="https://github.com/remix-run/react-router/commits/react-router@7.9.5/packages/react-router">compareview</a></li></ul></details><br />[![Dependabot compatibilityscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router&package-manager=npm_and_yarn&previous-version=7.8.0&new-version=7.9.5)](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'talter 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 editsthat 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 afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent279288a commit17438d9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

‎site/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"react-markdown":"9.1.0",
102102
"react-query":"npm:@tanstack/react-query@5.77.0",
103103
"react-resizable-panels":"3.0.6",
104-
"react-router":"7.8.0",
104+
"react-router":"7.9.5",
105105
"react-syntax-highlighter":"15.6.1",
106106
"react-textarea-autosize":"8.5.9",
107107
"react-virtualized-auto-sizer":"1.0.26",

‎site/pnpm-lock.yaml‎

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp