Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"public-hydration-api",
"query-cache-prototype-keys",
"query-decodes-redirect-carrier",
"query-hydration-hang",
"query-implies-get",
"query-prototype-keys",
"query-redirect-revalidate-pending",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @solidjs/router

## 2.0.0-next.33

### Patch Changes

- d8288bd: Fix navigations hanging after hydration when a `query()` read ran inside Solid's hydration tracking run, where the global `Promise` and `fetch` are swapped for stubs that never settle (solidjs/solid#3721). Adopting a server value that had already settled wrapped it with that stubbed `Promise`, so the cache kept a promise that never settled. A boundary resuming more than 5s after boot treated the entry adopted at boot as stale and called the query function inside the tracking run, caching the same kind of promise. Adopted values are now wrapped with the native `Promise`, and a read with no navigation in flight while hydrating reuses the cached entry at any age, as adoption already did for server payloads. Navigations keep the normal freshness windows.

## 2.0.0-next.32

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Ryan Turnquist"
],
"license": "MIT",
"version": "2.0.0-next.32",
"version": "2.0.0-next.33",
"homepage": "https://github.com/solidjs/solid-router#readme",
"repository": {
"type": "git",
Expand Down
Loading