Skip to content

Version Packages - #709

Merged
ryansolid merged 1 commit into
mainfrom
changeset-release/main
Oct 30, 2026
Merged

ryansolid merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@solidjs/router@1.0.1

Patch Changes

  • eaafba6: Stamp history depth from the current entry instead of history.length, so useBeforeLeave and scroll restoration keep working on Back once the browser's session history is full (useBeforeLeave and scroll restoration break on Back after 50 history entries (_depth taken from the capped history.length) #694)

  • c3cbd67: Throw a descriptive error in development when an action is called directly instead of through useAction.

  • 473c270: Anchor click handling no longer intercepts links with a non-http(s) scheme (blob:, mailto:, tel:, data:, …). Previously blob: links could be wrongly routed because they inherit the page origin and bypassed the same-origin check.

  • 5a46ba1: Speed up <A> server rendering by roughly 5x

    <A> spent most of its server render time in mergeProps and splitProps, which build
    accessor-backed prop objects that can never be observed during a one shot
    renderToString. The default activeClass / inactiveClass merge is gone, the
    location.pathname normalization is shared instead of repeated per link, JSON.stringify
    is skipped when there is no state, and on the server a link that passes nothing beyond
    the props <A> consumes itself now skips splitProps and the JSX spread entirely.

    Rendered output is unchanged on the client, and unchanged on the server apart from the
    link marker serializing as link rather than link="true" on that fast path. Client
    bundles get slightly smaller, since the server branch is constant folded away.

  • 65f9ee7: Fixes browser history navigation when Forward is pressed while a Back transition is waiting on route data.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from cee4c80 to f0a898c Compare October 30, 2026 04:53
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f0a898c to c4eb19a Compare October 30, 2026 04:56
@ryansolid
ryansolid merged commit 14fdf54 into main Oct 30, 2026
2 checks passed
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.

1 participant