From c4eb19a645bb77b6317a7c4c95cd9da2b45221fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 04:56:30 +0000 Subject: [PATCH] Version Packages --- .changeset/history-depth-capped-length.md | 5 ----- .changeset/raw-action-dev-error.md | 5 ----- .changeset/skip-non-http-anchor-links.md | 5 ----- .changeset/spotty-moons-jump.md | 16 ---------------- .changeset/tidy-books-wave.md | 5 ----- CHANGELOG.md | 22 ++++++++++++++++++++++ package.json | 2 +- 7 files changed, 23 insertions(+), 37 deletions(-) delete mode 100644 .changeset/history-depth-capped-length.md delete mode 100644 .changeset/raw-action-dev-error.md delete mode 100644 .changeset/skip-non-http-anchor-links.md delete mode 100644 .changeset/spotty-moons-jump.md delete mode 100644 .changeset/tidy-books-wave.md diff --git a/.changeset/history-depth-capped-length.md b/.changeset/history-depth-capped-length.md deleted file mode 100644 index 0aad0177..00000000 --- a/.changeset/history-depth-capped-length.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/router": patch ---- - -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 (#694) diff --git a/.changeset/raw-action-dev-error.md b/.changeset/raw-action-dev-error.md deleted file mode 100644 index 8c07d2a5..00000000 --- a/.changeset/raw-action-dev-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/router": patch ---- - -Throw a descriptive error in development when an action is called directly instead of through `useAction`. diff --git a/.changeset/skip-non-http-anchor-links.md b/.changeset/skip-non-http-anchor-links.md deleted file mode 100644 index 80f86894..00000000 --- a/.changeset/skip-non-http-anchor-links.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/router": patch ---- - -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. diff --git a/.changeset/spotty-moons-jump.md b/.changeset/spotty-moons-jump.md deleted file mode 100644 index 38e8f807..00000000 --- a/.changeset/spotty-moons-jump.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@solidjs/router": patch ---- - -Speed up `` server rendering by roughly 5x - -`` 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 `` 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. diff --git a/.changeset/tidy-books-wave.md b/.changeset/tidy-books-wave.md deleted file mode 100644 index 07b7944c..00000000 --- a/.changeset/tidy-books-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/router": patch ---- - -Fixes browser history navigation when Forward is pressed while a Back transition is waiting on route data. diff --git a/CHANGELOG.md b/CHANGELOG.md index 521410cd..8f5c5731 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # @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 (#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 `` server rendering by roughly 5x + + `` 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 `` 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. + ## 1.0.0 ### Major Changes diff --git a/package.json b/package.json index c2b7b46d..6fe6794a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "Ryan Turnquist" ], "license": "MIT", - "version": "1.0.0", + "version": "1.0.1", "homepage": "https://github.com/solidjs/solid-router#readme", "repository": { "type": "git",