Repository navigation
v2.0.0-next.34
Pre-release
Pre-release
·
8 commits
to main
since this release
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
useSubmissionsread 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 anotherSet-Cookieclear. - 9ba0fca: A form rendered with
action.with(...args)on the server now submits through the registered action on the client, so itsonSubmitandonSettledhooks run with the bound arguments anduseSubmissions(action)sees the outcome. Previously the rendered?argsurl missed the registry and fell back to a generic invocation (server actions) or native submission (client actions).