Skip to content

fix(deps): update dependency @solidjs/router to ^0.16.0 - #419

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/solidjs-router-0.x
Open

fix(deps): update dependency @solidjs/router to ^0.16.0#419
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/solidjs-router-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 22, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@solidjs/router ^0.14.3^0.16.0 age confidence

Release Notes

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

v0.16.3

Patch Changes
  • 31501fd: Add opt-in explicit scroll restoration for back/forward navigation: <Router scrollRestoration> (#​577). The browser's native same-document heuristic loses the saved offset when the destination route forces a layout while the document is still short — any component that measures itself on mount is enough to trigger it. When enabled the router sets history.scrollRestoration = "manual", captures positions continuously keyed by the history entry depth it already tracks, persists them across reloads, and restores after the navigation settles — retrying as the document grows if the target offset isn't reachable yet, cancelled by the first user scroll. Off by default on 0.x; no behavior changes unless enabled.

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

v0.16.1

Patch Changes
  • e847f96: Fix the published package contents so dist no longer includes mirrored src, test, or co-located spec files.

    Also move the data tests under test/ and align the test TypeScript config with that layout so test:types continues to pass cleanly.

v0.16.0

Minor Changes
Patch Changes
  • 63940c5: Use name in action and createAsync

    action() and createAsync() were not respecting user defined name.
    Moreover, action was not applying the hashed name and only naming the action "mutate".

  • f9b6dc6: Make useHref return a string with string param

v0.15.4

Patch Changes
  • da5e1f9: allow URLSearchParams type for when enctype is not set to multipart/form-data

  • 1aa664e: - Improve route matching fallback

    • Optimize imports
  • fa46b67: fix(type): allow value from Params and SearchParams to be optional

  • bd89541: Support in operator for useParams()

  • 0a2f556: preserve headers in query()'s handleResponse()

  • ac97470: added SearchParams to the exported types

  • 8885abf: fix: createAsync - catch errors of prev to avoid bubbling error up

  • d665cc9: Fix Router popstate event handling logic

    • Simplified delta check logic for history navigation
    • Improved reliability of forward navigation detection
    • Fixed window.history.forward() navigation handling

v0.15.3

Patch Changes
  • 97184e4: more lenient on cache resuming (allow nested promises during hydration)

v0.15.2

Patch Changes

v0.15.1

Patch Changes
  • f3763aa: Export Submission at the top level
  • 813e6bd: fix onComplete return type

v0.15.0

Minor Changes
  • 6799556: rename cache to query, action onComplete

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@github-actions

github-actions Bot commented Mar 22, 2025

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
enclosed-docs ✅ Ready (View Log) Visit Preview d6f8ae6
enclosed ✅ Ready (View Log) Visit Preview d6f8ae6

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@renovate renovate Bot changed the title fix(deps): update dependency @solidjs/router to ^0.15.0 fix(deps): update dependency @solidjs/router to ^0.16.0 Mar 18, 2026
@renovate
renovate Bot force-pushed the renovate/solidjs-router-0.x branch from 8ac8cda to 0998be0 Compare March 18, 2026 01:00
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/solidjs-router-0.x branch from 0998be0 to 251cc3c Compare May 12, 2026 17:29
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/solidjs-router-0.x branch from 85237af to d6f8ae6 Compare July 27, 2026 17:47
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants