Skip to content

Commit 3503551

Browse files
Bump react-router from 7.9.4 to 7.9.5 in /ui (#1993)
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.9.4 to 7.9.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router's releases</a>.</em></p> <blockquote> <h2>v7.9.5</h2> <p>See the changelog for release notes: <a href="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> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router's changelog</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. (<a href="https://redirect.github.com/remix-run/react-router/pull/14457">#14457</a>)</p> </li> <li> <p>useRoute: return type-safe <code>handle</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/14462">#14462</a>)</p> <p>For example:</p> <pre lang="ts"><code>// app/routes/admin.tsx const handle = { hello: &quot;world&quot; }; </code></pre> <pre lang="ts"><code>// app/routes/some-other-route.tsx export 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 no loader is present (<a href="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 add observablity to their apps by instrumenting route loaders, actions, middlewares, lazy, as well as server-side request handlers and client side navigations/fetches (<a href="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 const unstable_instrumentations = [...]</code></li> <li><code>entry.client.tsx</code>: <code>&lt;HydratedRouter unstable_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 to loaders/actions/middleware which contains the un-interpolated route pattern (i.e., <code>/blog/:slug</code>) which is useful for aggregating performance metrics by route</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/remix-run/react-router/commit/a1918125144aecd8ac5dd62ad3b682877f06106f"><code>a191812</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14485">#14485</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/74bef786708cf6fe626649adca60a39bce898f39"><code>74bef78</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14469">#14469</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/c0577e4ad2347a097c7249ea1e7935fef3b53b27"><code>c0577e4</code></a> Merge branch 'main' into release-next</li> <li><a href="https://github.com/remix-run/react-router/commit/0163df4848a05fca60f0390b67e9615e9f4b40f9"><code>0163df4</code></a> fix(react-router): run action handlers for routes with middleware even if no ...</li> <li><a href="https://github.com/remix-run/react-router/commit/c84016b8847250f8cabab291adf44a12a46e3f2c"><code>c84016b</code></a> Minor updates for instrumentations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14467">#14467</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/adadca5534c3bfa43fcd61adbf00c78d56d43c77"><code>adadca5</code></a> Add unstable_instrumentations API (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14412">#14412</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/dea842d8d938c4f39503a8f3a97e424d2b73b16a"><code>dea842d</code></a> fix: move RSCHydratedRouter and utils to <code>/dom</code> export (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14457">#14457</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/1d1b18809eac4bd9e4fd0887dcfa1f225e10b0bc"><code>1d1b188</code></a> useRoute: return type-safe <code>handle</code> (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14462">#14462</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/3e3a223ee90c1fee3da01daf6866ad2f5bdf62ba"><code>3e3a223</code></a> docs: fix references (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14441">#14441</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/158847e11664bc47534bf8f334bc9d630ea79a70"><code>158847e</code></a> fix: Fix invalid markdown link for createHashRouter (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14434">#14434</a>)</li> <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router&package-manager=npm_and_yarn&previous-version=7.9.4&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't alter 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 edits that 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 after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) - `@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) - `@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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e11e08d commit 3503551

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"lucide-react": "^0.548.0",
3838
"next-themes": "^0.4.6",
3939
"react": "^19.2.0",
40-
"react-router": "^7.9.4",
40+
"react-router": "^7.9.5",
4141
"react-dom": "^19.2.0",
4242
"react-hook-form": "^7.65.0",
4343
"react-icons": "^5.5.0",

ui/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,10 +4165,10 @@ react-remove-scroll@^2.6.3:
41654165
use-callback-ref "^1.3.3"
41664166
use-sidecar "^1.1.3"
41674167

4168-
react-router@^7.9.4:
4169-
version "7.9.4"
4170-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.9.4.tgz#2c4249e5d0a6bb8b8f6bf0ede8f5077e4ff8024f"
4171-
integrity sha512-SD3G8HKviFHg9xj7dNODUKDFgpG4xqD5nhyd0mYoB5iISepuZAvzSr8ywxgxKJ52yRzf/HWtVHc9AWwoTbljvA==
4168+
react-router@^7.9.5:
4169+
version "7.9.5"
4170+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.9.5.tgz#68722186b4c9f42be36e658d9fe5d62ac1e0808b"
4171+
integrity sha512-JmxqrnBZ6E9hWmf02jzNn9Jm3UqyeimyiwzD69NjxGySG6lIz/1LVPsoTCwN7NBX2XjCEa1LIX5EMz1j2b6u6A==
41724172
dependencies:
41734173
cookie "^1.0.1"
41744174
set-cookie-parser "^2.6.0"

0 commit comments

Comments
 (0)