Update dependency @solidjs/router to v1 - #9
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/solidjs-router-1.x
branch
from
September 7, 2026 21:27
8c5fb55 to
a55a698
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.15.3→^1.0.0Release Notes
solidjs/solid-router (@solidjs/router)
v1.0.0Major Changes
^1.0.0finally gets normal caret semantics instead of the pinned-minor treatment resolvers give 0.x releases. It also aligns major numbers across the ecosystem — router 1.x pairs with Solid 1.x (and SolidStart 2.0), while the in-progress Solid 2 router moves from1.0.0-next.*to2.0.0-next.*prereleases under thenexttag.Patch Changes
1211a89: Restore scroll with a single scroll once routing settles, dropping theResizeObserverthat re-asserted the offset while the document was still growing (<Router scrollRestoration>, added in 0.16.3). Settling after the navigation commits is what makes the offset reachable, and it is the strategy every peer router ships (SvelteKit, TanStack Router, React Router, Next); TanStack's equivalentMutationObserversits commented out in their source. The chase carried real downside for a case none of them try to cover: with no bound, a target that is never reachable (a list that is genuinely shorter now) left the observer connected for the life of the page, re-clamping the viewport to the bottom on every subsequent resize, and scroll-induced layout changes can feed it back into itself. It was also untestable in jsdom, which has noResizeObserver, so the branch had no coverage. Content committing after the navigation settles — an image without reserved space, a boundary below the fold — now keeps whatever offset the document can hold.v0.16.3Compare Source
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 setshistory.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.2Patch Changes
676db85: fix #451 - dispose per-route roots when the route tree unmounts; leaked roots stayed subscribed to route matches and crashed withTypeError: ... (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().retrywas always a no-op due to an operator-precedence bug (#504)useBeforeLeavelisteners now observedefaultPreventedset by other listeners (#530)<A>active state now ignores trailing slashes onhref(#532)useCurrentMatchesreturns a copy so user mutation can't corrupt router state (#516)+,@,:,$,&,,,;,=), so routes like/+fooor/@usermatch the browser's raw pathname (#559, #509)setSearchParamscalls now compose: the merge applies to the in-flight navigation target instead of the stale committed location (#547)e9acd69: fix #454 - defaultRouteDefinition's data generic toanyso typed components and preload functions are assignable in annotated configs likeconst routes: RouteDefinition[], where no inference site for the generic exists9d80d4e: Paths with empty interior segments (doubled slashes, e.g.//dashor/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 -revalidatenow forces the cache miss synchronously instead of deferring it into the transition microtask, so a same-tickrefetch()after an un-awaitedrevalidate()refetches fresh datae9acd69: fix #347 - acceptVoidComponentpages as route components;componentnow takes aRouteSectionComponentunion so components that don't declarechildrentype-check, while components requiring props the router doesn't pass are still rejectedv0.16.1Patch Changes
e847f96: Fix the published package contents sodistno longer includes mirroredsrc,test, or co-located spec files.Also move the data tests under
test/and align the test TypeScript config with that layout sotest:typescontinues to pass cleanly.v0.16.0Minor Changes
8f0a8c3: Re-export context9e85fe2: UpdatemoduleResolutionPatch Changes
63940c5: UsenameinactionandcreateAsyncaction()andcreateAsync()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 paramConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.