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
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"adopt-hoisted-wire-protocols",
"adopt-path-based-server-function-addressing",
"async-flash-decoder",
"chained-with-carries-all-args",
"claims-registry-sweep",
"claims-sweep-hydration-transparent",
"compiler-claimed-anchors",
Expand All @@ -26,6 +27,7 @@
"export-default-search-types",
"fix-navigate-commit-window-drop",
"fix-stale-params-on-navigation",
"flash-decode-per-request",
"flight-cookies-from-redirect",
"flight-entry-consumption-age-gate",
"follow-solid-rc10-attribution-api",
Expand Down Expand Up @@ -80,6 +82,7 @@
"scroll-restoration-hydration-transparent",
"selective-hover-preload",
"server-component-form-delegation",
"server-rendered-with-uses-registered-action",
"server-route-client-golf",
"server-route-component-source",
"server-route-component",
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @solidjs/router

## 2.0.0-next.34

### Patch Changes

- 9ba0fca: A chained `.with()` (`action.with(a).with(b)`) now puts every bound argument in its url (`?args=[a,b]`). Previously the url carried only the last call's arguments, so a server-rendered or no-JavaScript submission ran with arguments missing, and two chains ending in the same argument shared one url and overwrote each other's client registration.
- a6a2cee: The flash cookie is now detected, cleared and decoded once per request rather than once per router instance. A server render can re-create the router while it retries a suspension — a `useSubmissions` read under `<Errored>`, inside a document shell, retries from above the router — and each new router restarted the decode, so the render never settled and the stream retried until the process ran out of memory. Each re-created router also appended another `Set-Cookie` clear.
- 9ba0fca: A form rendered with `action.with(...args)` on the server now submits through the registered action on the client, so its `onSubmit` and `onSettled` hooks run with the bound arguments and `useSubmissions(action)` sees the outcome. Previously the rendered `?args` url missed the registry and fell back to a generic invocation (server actions) or native submission (client actions).

## 2.0.0-next.33

### 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.33",
"version": "2.0.0-next.34",
"homepage": "https://github.com/solidjs/solid-router#readme",
"repository": {
"type": "git",
Expand Down