fix(deps): update dependency @solidjs/router to ^0.16.2 #57

Merged
renovate merged 1 commit from renovate/solidjs-router-0.x into main 2026-07-16 05:20:13 -04:00
Member

This PR contains the following updates:

Package Change Age Confidence
@solidjs/router ^0.16.1^0.16.2 age confidence

Release Notes

solidjs/solid-router (@​solidjs/router)

v0.16.2

Patch Changes
  • 676db85: fix #​451 - dispose per-route roots when the route tree unmounts; leaked roots stayed subscribed to route matches and crashed with TypeError: ... (evaluating 'match().path') on a later navigation (e.g. when a <Show> in the root component hid the outlet during login/logout flows)

  • cae1d15: Fix a batch of long-standing bugs:

    • useSubmission().retry was always a no-op due to an operator-precedence bug (#​504)
    • disposing an older owner no longer unregisters a newer action bound to the same URL, which caused forms to fall through to native submission after revalidation (#​542)
    • useBeforeLeave listeners now observe defaultPrevented set by other listeners (#​530)
    • <A> active state now ignores trailing slashes on href (#​532)
    • useCurrentMatches returns a copy so user mutation can't corrupt router state (#​516)
    • static path segments no longer percent-encode RFC 3986 pchar characters (+, @, :, $, &, ,, ;, =), so routes like /+foo or /@&#8203;user match the browser's raw pathname (#​559, #​509)
    • consecutive synchronous setSearchParams calls now compose: the merge applies to the in-flight navigation target instead of the stale committed location (#​547)
  • e9acd69: fix #​454 - default RouteDefinition's data generic to any so typed components and preload functions are assignable in annotated configs like const routes: RouteDefinition[], where no inference site for the generic exists

  • 9d80d4e: Paths with empty interior segments (doubled slashes, e.g. //dash or /foo//bar) no longer match routes and now render the not-found state instead of silently matching their collapsed form (#​567). A single trailing slash is still tolerated. Doubled leading slashes are also no longer normalized away by the browser integration and parse correctly instead of being treated as protocol-relative URLs.

  • b308c21: fix #​497 - revalidate now forces the cache miss synchronously instead of deferring it into the transition microtask, so a same-tick refetch() after an un-awaited revalidate() refetches fresh data

  • e9acd69: fix #​347 - accept VoidComponent pages as route components; component now takes a RouteSectionComponent union so components that don't declare children type-check, while components requiring props the router doesn't pass are still rejected


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@solidjs/router](https://github.com/solidjs/solid-router) | [`^0.16.1` → `^0.16.2`](https://renovatebot.com/diffs/npm/@solidjs%2frouter/0.16.1/0.16.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@solidjs%2frouter/0.16.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@solidjs%2frouter/0.16.1/0.16.2?slim=true) | --- ### Release Notes <details> <summary>solidjs/solid-router (@&#8203;solidjs/router)</summary> ### [`v0.16.2`](https://github.com/solidjs/solid-router/blob/HEAD/CHANGELOG.md#0162) ##### Patch Changes - [`676db85`](https://github.com/solidjs/solid-router/commit/676db85): fix [#&#8203;451](https://github.com/solidjs/solid-router/issues/451) - dispose per-route roots when the route tree unmounts; leaked roots stayed subscribed to route matches and crashed with `TypeError: ... (evaluating 'match().path')` on a later navigation (e.g. when a `<Show>` in the root component hid the outlet during login/logout flows) - [`cae1d15`](https://github.com/solidjs/solid-router/commit/cae1d15): Fix a batch of long-standing bugs: - `useSubmission().retry` was always a no-op due to an operator-precedence bug ([#&#8203;504](https://github.com/solidjs/solid-router/issues/504)) - disposing an older owner no longer unregisters a newer action bound to the same URL, which caused forms to fall through to native submission after revalidation ([#&#8203;542](https://github.com/solidjs/solid-router/issues/542)) - `useBeforeLeave` listeners now observe `defaultPrevented` set by other listeners ([#&#8203;530](https://github.com/solidjs/solid-router/issues/530)) - `<A>` active state now ignores trailing slashes on `href` ([#&#8203;532](https://github.com/solidjs/solid-router/issues/532)) - `useCurrentMatches` returns a copy so user mutation can't corrupt router state ([#&#8203;516](https://github.com/solidjs/solid-router/issues/516)) - static path segments no longer percent-encode RFC 3986 pchar characters (`+`, `@`, `:`, `$`, `&`, `,`, `;`, `=`), so routes like `/+foo` or `/@&#8203;user` match the browser's raw pathname ([#&#8203;559](https://github.com/solidjs/solid-router/issues/559), [#&#8203;509](https://github.com/solidjs/solid-router/issues/509)) - consecutive synchronous `setSearchParams` calls now compose: the merge applies to the in-flight navigation target instead of the stale committed location ([#&#8203;547](https://github.com/solidjs/solid-router/issues/547)) - [`e9acd69`](https://github.com/solidjs/solid-router/commit/e9acd69): fix [#&#8203;454](https://github.com/solidjs/solid-router/issues/454) - default `RouteDefinition`'s data generic to `any` so typed components and preload functions are assignable in annotated configs like `const routes: RouteDefinition[]`, where no inference site for the generic exists - [`9d80d4e`](https://github.com/solidjs/solid-router/commit/9d80d4e): Paths with empty interior segments (doubled slashes, e.g. `//dash` or `/foo//bar`) no longer match routes and now render the not-found state instead of silently matching their collapsed form ([#&#8203;567](https://github.com/solidjs/solid-router/issues/567)). A single trailing slash is still tolerated. Doubled leading slashes are also no longer normalized away by the browser integration and parse correctly instead of being treated as protocol-relative URLs. - [`b308c21`](https://github.com/solidjs/solid-router/commit/b308c21): fix [#&#8203;497](https://github.com/solidjs/solid-router/issues/497) - `revalidate` now forces the cache miss synchronously instead of deferring it into the transition microtask, so a same-tick `refetch()` after an un-awaited `revalidate()` refetches fresh data - [`e9acd69`](https://github.com/solidjs/solid-router/commit/e9acd69): fix [#&#8203;347](https://github.com/solidjs/solid-router/issues/347) - accept `VoidComponent` pages as route components; `component` now takes a `RouteSectionComponent` union so components that don't declare `children` type-check, while components requiring props the router doesn't pass are still rejected </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXAiLCJub2RlIl19-->
fix(deps): update dependency @solidjs/router to ^0.16.2
All checks were successful
check / check (pull_request) Successful in 49s
3ba3e04524
renovate scheduled this pull request to auto merge when all checks succeed 2026-07-16 05:09:40 -04:00
renovate deleted branch renovate/solidjs-router-0.x 2026-07-16 05:20:13 -04:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
llc/stack!57
No description provided.