Skip to content

1.0.2

Choose a tag to compare

@github-actions github-actions released this 29 Oct 00:59

Fixed

    • A loader that failed is refetched at the next visit instead of being served as fresh data for the rest of staleTime.
    • A load that an invalidate overtook lands as stale, and a reload no longer joins it.
    • navigate, preload, invalidate, ready and href run untracked, and blockers run their predicates untracked, so an effect that navigates no longer subscribes to what beforeLoad or a blocker reads.
    • Destroying a router with a visible pending UI no longer leaves its minimum-display timer running.
    • A preload no longer leaves a listener on the caller's AbortSignal.
    • useSearchParams reads queries up to the router's maxSearchLength instead of the 4096 default.
    • A %2e or %2E dot segment in a navigation target is resolved like . and .., as the browser does, so the router's location matches the address bar.
    • <A> is active at the same page written in another case when the router ignores case.
    • A prefetch task that throws synchronously is reported to the router's error handler.
    • redirect(to, { replace }) (and the object form's replace) is honored by the navigator: true replaces the current entry and false pushes, whichever the redirected navigation did. Without it the navigation keeps its own mode; the documentation now says so.
    • buildPath and buildPathFromParams throw a RangeError for a param value (or splat piece) of . or .., which a browser collapses into another page.