diff --git a/.changeset/affects-reject-5329.md b/.changeset/affects-reject-5329.md deleted file mode 100644 index 70434fd6f..000000000 --- a/.changeset/affects-reject-5329.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -fix(signals): a declared reload (`affects()` + `refresh()`) whose re-ask rejects no longer leaves `isPending` stuck true (#5329) diff --git a/.changeset/cleanup-action-landing-5233.md b/.changeset/cleanup-action-landing-5233.md deleted file mode 100644 index 2ede9b4e9..000000000 --- a/.changeset/cleanup-action-landing-5233.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -An action started while a transition lands, from a cleanup (`onCleanup` or an effect's returned cleanup) or from an optimistic value's `equals`, no longer leaves the flush pointing at the landed transaction. Before, the next action merged into it: its write showed but was never committed, and a later write that compared against the signal was skipped (#5233). An action that yielded could also commit its first write during the `yield`. diff --git a/.changeset/cleanup-writes-by-phase.md b/.changeset/cleanup-writes-by-phase.md deleted file mode 100644 index 56fcbcc09..000000000 --- a/.changeset/cleanup-writes-by-phase.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@solidjs/signals": patch -"solid-js": patch ---- - -Development: whether a cleanup may write is now decided by the scope it belongs to, not by where teardown runs it. A setter, store setter, `refresh` or `action` call from an `onCleanup` is an owned write again (`REACTIVE_WRITE_IN_OWNED_SCOPE`, `ACTION_CALLED_IN_OWNED_SCOPE`), under a removed `` row and under a `` branch alike. A cleanup returned from an effect callback or from `onSettled` may still write and call actions. Move the write into a returned cleanup, or mark the signal `ownedWrite`. Production output is unchanged by this. diff --git a/.changeset/create-root-no-closure.md b/.changeset/create-root-no-closure.md deleted file mode 100644 index f0010c850..000000000 --- a/.changeset/create-root-no-closure.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -`createRoot` calls `init` without allocating a wrapper closure for each root. Creating a root is 10 to 25% faster in a Node microbench; `init` still receives `dispose` as its only argument. diff --git a/.changeset/effect-cleanup-prod-5208.md b/.changeset/effect-cleanup-prod-5208.md deleted file mode 100644 index bc5d5697c..000000000 --- a/.changeset/effect-cleanup-prod-5208.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -In production, an effect that returns a non-function cleanup no longer stores that value. The next run used to call it and halt the reactive system. Development still throws on the run that returned it. diff --git a/.changeset/entry-link-headers.md b/.changeset/entry-link-headers.md deleted file mode 100644 index aed09952b..000000000 --- a/.changeset/entry-link-headers.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@solidjs/web": patch ---- - -A server render under a request event now adds the client entry's assets to the response as a `Link` header: the entry script and its static imports as `rel=preload; as=script; crossorigin`, and their stylesheets as `rel=preload; as=style`. Hosts and CDNs that build `103 Early Hints` from `Link` headers, such as Cloudflare, can then start those downloads before the page arrives. Scripts use `preload` rather than `modulepreload` because Cloudflare and Chrome document only `preload` and `preconnect` for Early Hints. It covers the static build manifest only, so dev renders add nothing, and `noScripts` renders hint only stylesheets. - -`createSSRResponse` now appends the response stub's `Link` values to a `Link` header in `responseInit` instead of replacing it, as it already does for `Server-Timing`. diff --git a/.changeset/errored-nested-loading-preflush-fallback.md b/.changeset/errored-nested-loading-preflush-fallback.md deleted file mode 100644 index 04aa3227e..000000000 --- a/.changeset/errored-nested-loading-preflush-fallback.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"solid-js": patch -"@solidjs/web": patch ---- - -During `renderToStream`, an `` whose `` fails before the shell is sent now draws its error fallback in the shell even when the `` is not all of its content: markup between them (`
`), a sibling beside the ``, or another `` inside the ``. The fallback replaces the ``'s whole content, as a client render shows it, and the error is serialized at the ``, so the hydrating client adopts that markup without asking again and recovers when the content's inputs change (#4287). The server error hook hears `fallback`. Before, the shell kept the content with the failed ``'s position empty (`` for ``), and the fallback appeared only once the client hydrated, or never without JavaScript. The same applies to the awaited form (`await renderToStream(...)`). - -The fallback is drawn only when it is ready as it renders; the shell never waits for it. A fallback with an async or client-only hole, or one that throws with no `` above it, leaves the shell as before: the client renders the failure, and the hook hears `client`. So does an `` whose markup has no place of its own in the shell: one that put no element and no `` placeholder into the page (text alone, or nothing), or that was itself never inserted. A fallback that throws inside an outer `` is that boundary's failure, drawn in the shell the same way. When the hook maps the error to another value, a fallback that reads the error is rendered again with that value; if that second render throws or is not ready, nothing is drawn, although the hook has already heard `fallback`. Whatever the replaced content still had pending goes with it. A `` still pending inside it streams nothing, and its head tags (`useHead`) never reach the document head, whether they come from a settled `` or from the content itself. A later failure inside the replaced content is still reported to the hook as `client`. After the shell has been sent, a nested `` failure still streams an empty fragment and the client renders the failure, as before. diff --git a/.changeset/fix-ssr-function-spread-presence.md b/.changeset/fix-ssr-function-spread-presence.md deleted file mode 100644 index 6be38f2f0..000000000 --- a/.changeset/fix-ssr-function-spread-presence.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -Fix server rendering so `Object.hasOwn` distinguishes omitted props from explicit `undefined` in a lone function spread. diff --git a/.changeset/fix-ssr-render-effect-cleanup.md b/.changeset/fix-ssr-render-effect-cleanup.md deleted file mode 100644 index 2e321e205..000000000 --- a/.changeset/fix-ssr-render-effect-cleanup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -Run the cleanup returned by `createRenderEffect` when its server-side owner is disposed, including when the effect first runs after an async dependency resolves. diff --git a/.changeset/for-plain-maparray.md b/.changeset/for-plain-maparray.md deleted file mode 100644 index 18395dd2f..000000000 --- a/.changeset/for-plain-maparray.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -`` returns its `mapArray` directly again. It had been creating the map lazily on first read, under the component's owner, for a list driver that has since been removed (#3079). That left a closure and a hydration-only special case (#3161) behind for no benefit. Every `` page is about 60 B smaller minified. diff --git a/.changeset/frame-address-collision.md b/.changeset/frame-address-collision.md deleted file mode 100644 index f4eaa8e04..000000000 --- a/.changeset/frame-address-collision.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Frames: two server component calls with different arguments no longer share a frame address, so one mount can no longer show another call's markup (#5284). The argument digest now quotes strings, tells numbers from strings, names `URL` / `URLSearchParams` and other class instances by their own string form, and hashes with FNV-1a. diff --git a/.changeset/frame-preflush-rejection.md b/.changeset/frame-preflush-rejection.md deleted file mode 100644 index 359113ea4..000000000 --- a/.changeset/frame-preflush-rejection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Frames: a server component whose async read rejects before the first flush, with no server `` or `` around it, now answers the frame's `:error` record instead of a bare `:complete` (#5283). `serverComponentResponse` now resolves its `Response` at the shell, as `createSSRResponse` does, so that failure also marks the response `no-store`. It returns `Promise` (experimental API); responses made through `frameTransformResult` are unaffected. diff --git a/.changeset/frames-prod-site-id.md b/.changeset/frames-prod-site-id.md deleted file mode 100644 index 944905629..000000000 --- a/.changeset/frames-prod-site-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Frames: in production, sibling mounts of one server component (and `` rows) get their own `data-fid` site again instead of all sharing the first one (#5281). diff --git a/.changeset/get-file-arguments-error.md b/.changeset/get-file-arguments-error.md deleted file mode 100644 index d1c241fbb..000000000 --- a/.changeset/get-file-arguments-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -A `GET` server function called with a file among its arguments (with `enableRichArguments`) now throws a clear error before sending, instead of putting `[object FormData]` in the url and failing with a 400. A `GET` call whose codec-encoded arguments are too long for a url and go over POST now sends the encoding it already made instead of encoding the arguments a second time, so a one-shot argument such as an async iterator arrives with all its chunks. diff --git a/.changeset/head-asset-lookup-scan.md b/.changeset/head-asset-lookup-scan.md deleted file mode 100644 index 9bf17af15..000000000 --- a/.changeset/head-asset-lookup-scan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Adopting server-emitted head resources during hydration no longer walks the whole document once per resource. The lookup checks `` first and only reaches `` (stream-emitted boundary links) when the head has no match, so a page with many preload links hydrates faster. Which element is adopted is unchanged. diff --git a/.changeset/hold-hydration-for-root-preload.md b/.changeset/hold-hydration-for-root-preload.md deleted file mode 100644 index bacdaafea..000000000 --- a/.changeset/hold-hydration-for-root-preload.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"solid-js": patch -"@solidjs/web": patch ---- - -Keep hydration open while a root waits on its module preload. Another root finishing first ended hydration for the page: `onHydrationEnd` fired and early input on the waiting root was lost before it claimed anything. A root that starts in the same tick after another root finished now also cancels that root's queued cleanup, which marked the page done and cleared the new root's registry. The same holds for a root started from an `onHydrationEnd` callback. diff --git a/.changeset/html-copy-nested-children.md b/.changeset/html-copy-nested-children.md deleted file mode 100644 index 2a42e3d4b..000000000 --- a/.changeset/html-copy-nested-children.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/html": patch ---- - -Preserve nested children when a tagged component copies its props with object spread or `Object.assign`. diff --git a/.changeset/hydration-events-cleanup.md b/.changeset/hydration-events-cleanup.md deleted file mode 100644 index 395a2fb8a..000000000 --- a/.changeset/hydration-events-cleanup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Guard the global `_$HY` when `runHydrationEvents` clears the hydration event queue, so a client render after a hydration with no delegated events does not throw once `_$HY` is removed. diff --git a/.changeset/hydration-ref-snapshot-read.md b/.changeset/hydration-ref-snapshot-read.md deleted file mode 100644 index 82d9b86ec..000000000 --- a/.changeset/hydration-ref-snapshot-read.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Hydration no longer discards a served element and calls its ref twice when the ref reads a signal whose value differs from the hydration snapshot. The ref is served the snapshot and runs once on the served element; its read no longer replays the pass that created the element. diff --git a/.changeset/keep-deferred-hydration-region.md b/.changeset/keep-deferred-hydration-region.md deleted file mode 100644 index 7ef26c332..000000000 --- a/.changeset/keep-deferred-hydration-region.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Replace stale server-rendered Loading boundary content if its module preload fails and the client renders the boundary again. diff --git a/.changeset/keep-explicit-component-children.md b/.changeset/keep-explicit-component-children.md deleted file mode 100644 index ad30bd457..000000000 --- a/.changeset/keep-explicit-component-children.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/babel-plugin": patch ---- - -Preserve an explicit `children` prop when a component's JSX body contains only comments or indentation. diff --git a/.changeset/keep-loading-fallback-5223.md b/.changeset/keep-loading-fallback-5223.md deleted file mode 100644 index 3de8ec822..000000000 --- a/.changeset/keep-loading-fallback-5223.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Keep a `` fallback on the page when its content fails after the shell is sent and no server `` drew a fallback at that position (for example `…`). The server used to swap in a blank there until the client hydrated. Now the fallback stays until the client renders the `` fallback over it. diff --git a/.changeset/keep-pending-sibling-boundary-nodes.md b/.changeset/keep-pending-sibling-boundary-nodes.md deleted file mode 100644 index 16ec45ade..000000000 --- a/.changeset/keep-pending-sibling-boundary-nodes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Keep a pending `` boundary's server-rendered elements in the document when a sibling boundary in the same insert resumes first. They were removed at the sibling's resume and re-inserted at their own. A boundary whose server output is text only is not covered yet. diff --git a/.changeset/live-no-store-5335.md b/.changeset/live-no-store-5335.md deleted file mode 100644 index bced910a8..000000000 --- a/.changeset/live-no-store-5335.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Send `live` and `broadcast` requests with `cache: "no-store"`. A live answer is never cacheable, and without it Firefox held a second tab's request to the same address for about 20 seconds while the first tab's connection was open. diff --git a/.changeset/loading-on-mount-effect-5203.md b/.changeset/loading-on-mount-effect-5203.md deleted file mode 100644 index b6eeb8690..000000000 --- a/.changeset/loading-on-mount-effect-5203.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Defer mid-flush `ASYNC_OUTSIDE_LOADING_BOUNDARY` diagnostics until after `settle()`, so pending reads inside a `` boundary whose `on` computation sits higher in the heap run and re-arm the boundary before the warning is evaluated. diff --git a/.changeset/lowered-show-zombie-condition-5327.md b/.changeset/lowered-show-zombie-condition-5327.md deleted file mode 100644 index b8157bc95..000000000 --- a/.changeset/lowered-show-zombie-condition-5327.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Fix a production-compiled `` whose condition reads `isPending()` re-running without end while a refetch is in flight. The lowered `` makes a new condition memo on every pass, and the old one, kept as a zombie during the hold, was re-run at the end of each flush and woke the `` again. A zombie that only its own owner reads is no longer re-run. diff --git a/.changeset/nested-errored-async-rethrow.md b/.changeset/nested-errored-async-rethrow.md deleted file mode 100644 index 2c09edc0b..000000000 --- a/.changeset/nested-errored-async-rethrow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Do not keep an inner error boundary's pending reader attached to an outer error boundary after an async rejection is caught by the inner boundary (#5261). diff --git a/.changeset/optimistic-failed-read.md b/.changeset/optimistic-failed-read.md deleted file mode 100644 index 13cbda684..000000000 --- a/.changeset/optimistic-failed-read.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Avoid retrying an errored computation while checking dependencies for a newly mounted reader. Failed optimistic sources retain their error until an existing reader re-reads them or an explicit refresh requests recovery. diff --git a/.changeset/plenty-moons-shave.md b/.changeset/plenty-moons-shave.md deleted file mode 100644 index 2949b0b91..000000000 --- a/.changeset/plenty-moons-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -Export the `NoFn` type from `solid-js` (client and server entries), alongside the other store types already re-exported from `@solidjs/signals`. diff --git a/.changeset/projection-draft-array-keys.md b/.changeset/projection-draft-array-keys.md deleted file mode 100644 index 00b82fbd0..000000000 --- a/.changeset/projection-draft-array-keys.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Fix `Object.keys` throwing on arrays inside client projection drafts. diff --git a/.changeset/projection-draft-native-objects.md b/.changeset/projection-draft-native-objects.md deleted file mode 100644 index c31188d90..000000000 --- a/.changeset/projection-draft-native-objects.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@solidjs/signals": patch -"solid-js": patch ---- - -Keep platform objects such as dates and maps raw in deep projection drafts so their native methods work on the client and server. diff --git a/.changeset/reconcile-keyed-row-proxy-5220.md b/.changeset/reconcile-keyed-row-proxy-5220.md deleted file mode 100644 index 836477da8..000000000 --- a/.changeset/reconcile-keyed-row-proxy-5220.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -A keyed `reconcile` keeps a row's store proxy when the row is matched by key, even if nothing has subscribed to any of its fields. Before, such a row got a new proxy at every reconcile, so a `` over the list disposed and remade the row and lost its local state. Updates to the kept proxy follow normal store flush and transition timing. diff --git a/.changeset/release-removed-spread-checked.md b/.changeset/release-removed-spread-checked.md deleted file mode 100644 index 7619ecf44..000000000 --- a/.changeset/release-removed-spread-checked.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -A JSX spread that drops `checked`, `value` or `selected` clears it once and then leaves it alone, so a later unrelated prop change in the same spread no longer clears a checkbox, radio, typed text or chosen option the user set since. diff --git a/.changeset/remove-stale-prototype-class-tokens.md b/.changeset/remove-stale-prototype-class-tokens.md deleted file mode 100644 index 2e5d1dd6f..000000000 --- a/.changeset/remove-stale-prototype-class-tokens.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Remove class tokens such as `constructor` and `toString` when their class map conditions become false, including on spread elements and `Dynamic` tags. diff --git a/.changeset/repark-drops-disposed-source.md b/.changeset/repark-drops-disposed-source.md deleted file mode 100644 index 8980f917c..000000000 --- a/.changeset/repark-drops-disposed-source.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -fix(signals): a re-parked reader drops a pending source that was disposed while loading, so a hold whose owner re-ran and replaced that source lands, and a staged error reaches its boundary diff --git a/.changeset/run-with-ancestor-owner.md b/.changeset/run-with-ancestor-owner.md deleted file mode 100644 index 3a7a29cd8..000000000 --- a/.changeset/run-with-ancestor-owner.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@solidjs/signals": patch -"solid-js": patch ---- - -New dev diagnostic `RUN_WITH_ANCESTOR_OWNER` (#5280). A running computation that uses `runWithOwner` to create a node on one of its own ancestors gets a warning. A typical case is a memo created lazily on first read under the component's captured owner. That node outlives the code that made it, and it takes the ancestor's next child slot at the moment of the read, which shifts hydration ids so later siblings miss their claims. The fix is to make the owner up front (`const scope = createRoot(() => getOwner())`) and create lazily under it, as `mapArray` does. Re-entries from event handlers, timers and async continuations, re-entries that only read context, and nodes created with an `id` option or `transparent` are not reported. Dev only, with no production bytes. diff --git a/.changeset/second-list-guess-5326.md b/.changeset/second-list-guess-5326.md deleted file mode 100644 index eba260ca0..000000000 --- a/.changeset/second-list-guess-5326.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Show a second whole-list guess on a keyed `createOptimisticStore` that rewrites a row back to the value its truth holds while an earlier guess on that row is still out. The list used to treat the rewritten row as the truth's own row, which is the row already shown, so it wrote nothing and the first guess stayed on screen. diff --git a/.changeset/share-hydration-node-collection.md b/.changeset/share-hydration-node-collection.md deleted file mode 100644 index 9e0087c18..000000000 --- a/.changeset/share-hydration-node-collection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Share the hydration node collection logic used for live children and captured marker regions. diff --git a/.changeset/skip-omitted-ref-alias.md b/.changeset/skip-omitted-ref-alias.md deleted file mode 100644 index 6eaed090f..000000000 --- a/.changeset/skip-omitted-ref-alias.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Fix DOM rendering when an omitted optional `ref` prop is forwarded through a local `const` alias. diff --git a/.changeset/ssr-for-positional-index.md b/.changeset/ssr-for-positional-index.md deleted file mode 100644 index 8e11b0ec6..000000000 --- a/.changeset/ssr-for-positional-index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -Pass the numeric row index to every `` callback during server rendering, including callbacks that use a default or rest parameter. diff --git a/.changeset/ssr-lazy-writable-signal.md b/.changeset/ssr-lazy-writable-signal.md deleted file mode 100644 index bb6827688..000000000 --- a/.changeset/ssr-lazy-writable-signal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"solid-js": patch ---- - -On the server, `createSignal(fn, { lazy: true })` now runs `fn` on the first read. diff --git a/.changeset/ssr-modulepreload-script.md b/.changeset/ssr-modulepreload-script.md deleted file mode 100644 index 8af6de7a4..000000000 --- a/.changeset/ssr-modulepreload-script.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Keep module scripts registered with `useHead` in the server-rendered HTML when a modulepreload link for the same URL was registered first. diff --git a/.changeset/ssr-root-hole-dollar-patterns.md b/.changeset/ssr-root-hole-dollar-patterns.md deleted file mode 100644 index a6f16d233..000000000 --- a/.changeset/ssr-root-hole-dollar-patterns.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -`renderToStream` now inserts the content of a root hole as written. It was passed to `String.prototype.replace` as a replacement string, so `` $` ``, `$&`, `$'` and `$$` in rendered text were expanded instead of output (#5275). diff --git a/.changeset/ssr-spread-default-muted.md b/.changeset/ssr-spread-default-muted.md deleted file mode 100644 index 1cdc28dbd..000000000 --- a/.changeset/ssr-spread-default-muted.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/web": patch ---- - -Fix server rendering of spread props on audio and video elements so `defaultMuted` controls the initial `muted` attribute. diff --git a/.changeset/thin-store-engine.md b/.changeset/thin-store-engine.md deleted file mode 100644 index 2bec75b32..000000000 --- a/.changeset/thin-store-engine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/signals": patch ---- - -Stores run on one signal per key a reader touches (the "thin" engine), in place of the deep engine's per-target committed backing and overlay. The public store API is unchanged, with one correctness fix: a store write now becomes visible at the flush that carries it for every reader, the same as a signal write. The deep engine let some reads between a setter and its flush see the new value early; those reads now return the old value until `flush()`. An app with stores ships about 0.65 to 1.3 KB less brotli, and an app without stores ships no store code at all. A push to a list no reader has read yet is now kept for a boundary that resumes after it, so the resume claims the server's rows and catches up (GH3). diff --git a/packages/babel-plugin/CHANGELOG.md b/packages/babel-plugin/CHANGELOG.md index 4d857f46c..8202107ee 100644 --- a/packages/babel-plugin/CHANGELOG.md +++ b/packages/babel-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # @solidjs/babel-plugin +## 2.0.4 + +### Patch Changes + +- 625b7ab: Preserve an explicit `children` prop when a component's JSX body contains only comments or indentation. + ## 2.0.3 ### Patch Changes diff --git a/packages/babel-plugin/package.json b/packages/babel-plugin/package.json index ae08b2135..bf27962c8 100644 --- a/packages/babel-plugin/package.json +++ b/packages/babel-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@solidjs/babel-plugin", "description": "Babel compiler plugin for Solid templates", - "version": "2.0.3", + "version": "2.0.4", "author": "Ryan Carniato", "license": "MIT", "repository": { diff --git a/packages/diagnostics/CHANGELOG.md b/packages/diagnostics/CHANGELOG.md index 8f2dc45a3..2f880e079 100644 --- a/packages/diagnostics/CHANGELOG.md +++ b/packages/diagnostics/CHANGELOG.md @@ -1,5 +1,56 @@ # @solidjs/diagnostics +## 2.0.5 + +### Patch Changes + +- Updated dependencies [56bca54] +- Updated dependencies [f7b6b9c] +- Updated dependencies [a3df43a] +- Updated dependencies [e0f2ad4] +- Updated dependencies [162d46a] +- Updated dependencies [caba92a] +- Updated dependencies [91260dc] +- Updated dependencies [00fba00] +- Updated dependencies [7898398] +- Updated dependencies [a50909b] +- Updated dependencies [5a729a9] +- Updated dependencies [97d54b0] +- Updated dependencies [7de4595] +- Updated dependencies [cbc14c8] +- Updated dependencies [e77da6f] +- Updated dependencies [185a5c2] +- Updated dependencies [6e6963b] +- Updated dependencies [cc4b6cf] +- Updated dependencies [8fa0476] +- Updated dependencies [cf3006c] +- Updated dependencies [185a5c2] +- Updated dependencies [623a4f6] +- Updated dependencies [a88836f] +- Updated dependencies [a440e01] +- Updated dependencies [9f7d51d] +- Updated dependencies [ae5ce50] +- Updated dependencies [0b703b4] +- Updated dependencies [44f26d6] +- Updated dependencies [14f48f4] +- Updated dependencies [510bb8d] +- Updated dependencies [4752ff1] +- Updated dependencies [d92fc73] +- Updated dependencies [50a4bfd] +- Updated dependencies [a50909b] +- Updated dependencies [6181f4b] +- Updated dependencies [8fa0476] +- Updated dependencies [b72a531] +- Updated dependencies [be566af] +- Updated dependencies [1465dfd] +- Updated dependencies [6e69108] +- Updated dependencies [c787ec8] +- Updated dependencies [0df6d19] +- Updated dependencies [46e665b] + - @solidjs/signals@2.0.5 + - solid-js@2.0.5 + - @solidjs/web@2.0.5 + ## 2.0.4 ### Patch Changes diff --git a/packages/diagnostics/package.json b/packages/diagnostics/package.json index 6b10ffed2..8bfc8ef7f 100644 --- a/packages/diagnostics/package.json +++ b/packages/diagnostics/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/diagnostics", - "version": "2.0.4", + "version": "2.0.5", "description": "Agent-consumable diagnostics harness for Solid: capture the dev-mode diagnostic and attribution channels as structured artifacts, with assertion helpers for tests and agent loops.", "author": "Ryan Carniato", "license": "MIT", @@ -52,11 +52,11 @@ "test:watch": "vitest watch tests" }, "dependencies": { - "@solidjs/signals": "^2.0.4" + "@solidjs/signals": "^2.0.5" }, "peerDependencies": { - "@solidjs/web": "^2.0.4", - "solid-js": "^2.0.4", + "@solidjs/web": "^2.0.5", + "solid-js": "^2.0.5", "vitest": ">=2.0.0" }, "peerDependenciesMeta": { diff --git a/packages/element/package.json b/packages/element/package.json index 3069996fb..a213aebbb 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -30,8 +30,8 @@ "component-register": "^0.8.7" }, "peerDependencies": { - "solid-js": "^2.0.4", - "@solidjs/web": "^2.0.4" + "solid-js": "^2.0.5", + "@solidjs/web": "^2.0.5" }, "devDependencies": { "solid-js": "workspace:*", diff --git a/packages/h/package.json b/packages/h/package.json index 427ae9f59..0bd3529b4 100644 --- a/packages/h/package.json +++ b/packages/h/package.json @@ -61,7 +61,7 @@ "csstype": "^3.1.0" }, "peerDependencies": { - "@solidjs/web": "^2.0.4" + "@solidjs/web": "^2.0.5" }, "devDependencies": { "@solidjs/web": "workspace:*", diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index c27879882..6ffd29f2d 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -1,5 +1,32 @@ # @solidjs/html +## 2.0.3 + +### Patch Changes + +- 7aed9cb: Preserve nested children when a tagged component copies its props with object spread or `Object.assign`. +- Updated dependencies [caba92a] +- Updated dependencies [91260dc] +- Updated dependencies [5a729a9] +- Updated dependencies [97d54b0] +- Updated dependencies [7de4595] +- Updated dependencies [cbc14c8] +- Updated dependencies [e77da6f] +- Updated dependencies [185a5c2] +- Updated dependencies [6e6963b] +- Updated dependencies [8fa0476] +- Updated dependencies [cf3006c] +- Updated dependencies [185a5c2] +- Updated dependencies [623a4f6] +- Updated dependencies [4752ff1] +- Updated dependencies [d92fc73] +- Updated dependencies [8fa0476] +- Updated dependencies [b72a531] +- Updated dependencies [6e69108] +- Updated dependencies [c787ec8] +- Updated dependencies [0df6d19] + - @solidjs/web@2.0.5 + ## 2.0.2 ### Patch Changes diff --git a/packages/html/package.json b/packages/html/package.json index bea1d85e8..3699be507 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,7 +1,7 @@ { "name": "@solidjs/html", "description": "Tagged-template-literal templating for Solid — write components with no build step.", - "version": "2.0.2", + "version": "2.0.3", "author": "Ryan Carniato", "license": "MIT", "homepage": "https://solidjs.com", @@ -42,7 +42,7 @@ "test": "vitest run" }, "peerDependencies": { - "@solidjs/web": "^2.0.4" + "@solidjs/web": "^2.0.5" }, "devDependencies": { "@solidjs/web": "workspace:*", diff --git a/packages/signals/CHANGELOG.md b/packages/signals/CHANGELOG.md index b0700a8a4..32135db6f 100644 --- a/packages/signals/CHANGELOG.md +++ b/packages/signals/CHANGELOG.md @@ -1,5 +1,27 @@ # @solidjs/signals +## 2.0.5 + +### Patch Changes + +- 56bca54: fix(signals): a declared reload (`affects()` + `refresh()`) whose re-ask rejects no longer leaves `isPending` stuck true (#5329) +- f7b6b9c: An action started while a transition lands, from a cleanup (`onCleanup` or an effect's returned cleanup) or from an optimistic value's `equals`, no longer leaves the flush pointing at the landed transaction. Before, the next action merged into it: its write showed but was never committed, and a later write that compared against the signal was skipped (#5233). An action that yielded could also commit its first write during the `yield`. +- a3df43a: Development: whether a cleanup may write is now decided by the scope it belongs to, not by where teardown runs it. A setter, store setter, `refresh` or `action` call from an `onCleanup` is an owned write again (`REACTIVE_WRITE_IN_OWNED_SCOPE`, `ACTION_CALLED_IN_OWNED_SCOPE`), under a removed `` row and under a `` branch alike. A cleanup returned from an effect callback or from `onSettled` may still write and call actions. Move the write into a returned cleanup, or mark the signal `ownedWrite`. Production output is unchanged by this. +- e0f2ad4: `createRoot` calls `init` without allocating a wrapper closure for each root. Creating a root is 10 to 25% faster in a Node microbench; `init` still receives `dispose` as its only argument. +- 162d46a: In production, an effect that returns a non-function cleanup no longer stores that value. The next run used to call it and halt the reactive system. Development still throws on the run that returned it. +- cc4b6cf: Hydration no longer discards a served element and calls its ref twice when the ref reads a signal whose value differs from the hydration snapshot. The ref is served the snapshot and runs once on the served element; its read no longer replays the pass that created the element. +- a88836f: Defer mid-flush `ASYNC_OUTSIDE_LOADING_BOUNDARY` diagnostics until after `settle()`, so pending reads inside a `` boundary whose `on` computation sits higher in the heap run and re-arm the boundary before the warning is evaluated. +- a440e01: Fix a production-compiled `` whose condition reads `isPending()` re-running without end while a refetch is in flight. The lowered `` makes a new condition memo on every pass, and the old one, kept as a zombie during the hold, was re-run at the end of each flush and woke the `` again. A zombie that only its own owner reads is no longer re-run. +- 9f7d51d: Do not keep an inner error boundary's pending reader attached to an outer error boundary after an async rejection is caught by the inner boundary (#5261). +- ae5ce50: Avoid retrying an errored computation while checking dependencies for a newly mounted reader. Failed optimistic sources retain their error until an existing reader re-reads them or an explicit refresh requests recovery. +- 44f26d6: Fix `Object.keys` throwing on arrays inside client projection drafts. +- 14f48f4: Keep platform objects such as dates and maps raw in deep projection drafts so their native methods work on the client and server. +- 510bb8d: A keyed `reconcile` keeps a row's store proxy when the row is matched by key, even if nothing has subscribed to any of its fields. Before, such a row got a new proxy at every reconcile, so a `` over the list disposed and remade the row and lost its local state. Updates to the kept proxy follow normal store flush and transition timing. +- 50a4bfd: fix(signals): a re-parked reader drops a pending source that was disposed while loading, so a hold whose owner re-ran and replaced that source lands, and a staged error reaches its boundary +- a50909b: New dev diagnostic `RUN_WITH_ANCESTOR_OWNER` (#5280). A running computation that uses `runWithOwner` to create a node on one of its own ancestors gets a warning. A typical case is a memo created lazily on first read under the component's captured owner. That node outlives the code that made it, and it takes the ancestor's next child slot at the moment of the read, which shifts hydration ids so later siblings miss their claims. The fix is to make the owner up front (`const scope = createRoot(() => getOwner())`) and create lazily under it, as `mapArray` does. Re-entries from event handlers, timers and async continuations, re-entries that only read context, and nodes created with an `id` option or `transparent` are not reported. Dev only, with no production bytes. +- 6181f4b: Show a second whole-list guess on a keyed `createOptimisticStore` that rewrites a row back to the value its truth holds while an earlier guess on that row is still out. The list used to treat the rewritten row as the truth's own row, which is the row already shown, so it wrote nothing and the first guess stayed on screen. +- 46e665b: Stores run on one signal per key a reader touches (the "thin" engine), in place of the deep engine's per-target committed backing and overlay. The public store API is unchanged, with one correctness fix: a store write now becomes visible at the flush that carries it for every reader, the same as a signal write. The deep engine let some reads between a setter and its flush see the new value early; those reads now return the old value until `flush()`. An app with stores ships about 0.65 to 1.3 KB less brotli, and an app without stores ships no store code at all. A push to a list no reader has read yet is now kept for a boundary that resumes after it, so the resume claims the server's rows and catches up (GH3). + ## 2.0.4 ### Patch Changes diff --git a/packages/signals/package.json b/packages/signals/package.json index 0930f2834..d43e6589a 100644 --- a/packages/signals/package.json +++ b/packages/signals/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/signals", - "version": "2.0.4", + "version": "2.0.5", "description": "Solid's reactive primitives: signals, memos, effects, stores, and async-aware computations.", "author": "Ryan Carniato", "license": "MIT", diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index 7b336aff4..8ee6dbe89 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -1,5 +1,42 @@ # solid-js +## 2.0.5 + +### Patch Changes + +- a3df43a: Development: whether a cleanup may write is now decided by the scope it belongs to, not by where teardown runs it. A setter, store setter, `refresh` or `action` call from an `onCleanup` is an owned write again (`REACTIVE_WRITE_IN_OWNED_SCOPE`, `ACTION_CALLED_IN_OWNED_SCOPE`), under a removed `` row and under a `` branch alike. A cleanup returned from an effect callback or from `onSettled` may still write and call actions. Move the write into a returned cleanup, or mark the signal `ownedWrite`. Production output is unchanged by this. +- 91260dc: During `renderToStream`, an `` whose `` fails before the shell is sent now draws its error fallback in the shell even when the `` is not all of its content: markup between them (`
`), a sibling beside the ``, or another `` inside the ``. The fallback replaces the ``'s whole content, as a client render shows it, and the error is serialized at the ``, so the hydrating client adopts that markup without asking again and recovers when the content's inputs change (#4287). The server error hook hears `fallback`. Before, the shell kept the content with the failed ``'s position empty (`` for ``), and the fallback appeared only once the client hydrated, or never without JavaScript. The same applies to the awaited form (`await renderToStream(...)`). + + The fallback is drawn only when it is ready as it renders; the shell never waits for it. A fallback with an async or client-only hole, or one that throws with no `` above it, leaves the shell as before: the client renders the failure, and the hook hears `client`. So does an `` whose markup has no place of its own in the shell: one that put no element and no `` placeholder into the page (text alone, or nothing), or that was itself never inserted. A fallback that throws inside an outer `` is that boundary's failure, drawn in the shell the same way. When the hook maps the error to another value, a fallback that reads the error is rendered again with that value; if that second render throws or is not ready, nothing is drawn, although the hook has already heard `fallback`. Whatever the replaced content still had pending goes with it. A `` still pending inside it streams nothing, and its head tags (`useHead`) never reach the document head, whether they come from a settled `` or from the content itself. A later failure inside the replaced content is still reported to the hook as `client`. After the shell has been sent, a nested `` failure still streams an empty fragment and the client renders the failure, as before. + +- 00fba00: Fix server rendering so `Object.hasOwn` distinguishes omitted props from explicit `undefined` in a lone function spread. +- 7898398: Run the cleanup returned by `createRenderEffect` when its server-side owner is disposed, including when the effect first runs after an async dependency resolves. +- a50909b: `` returns its `mapArray` directly again. It had been creating the map lazily on first read, under the component's owner, for a list driver that has since been removed (#3079). That left a closure and a hydration-only special case (#3161) behind for no benefit. Every `` page is about 60 B smaller minified. +- 185a5c2: Keep hydration open while a root waits on its module preload. Another root finishing first ended hydration for the page: `onHydrationEnd` fired and early input on the waiting root was lost before it claimed anything. A root that starts in the same tick after another root finished now also cancels that root's queued cleanup, which marked the page done and cleared the new root's registry. The same holds for a root started from an `onHydrationEnd` callback. +- 0b703b4: Export the `NoFn` type from `solid-js` (client and server entries), alongside the other store types already re-exported from `@solidjs/signals`. +- 14f48f4: Keep platform objects such as dates and maps raw in deep projection drafts so their native methods work on the client and server. +- a50909b: New dev diagnostic `RUN_WITH_ANCESTOR_OWNER` (#5280). A running computation that uses `runWithOwner` to create a node on one of its own ancestors gets a warning. A typical case is a memo created lazily on first read under the component's captured owner. That node outlives the code that made it, and it takes the ancestor's next child slot at the moment of the read, which shifts hydration ids so later siblings miss their claims. The fix is to make the owner up front (`const scope = createRoot(() => getOwner())`) and create lazily under it, as `mapArray` does. Re-entries from event handlers, timers and async continuations, re-entries that only read context, and nodes created with an `id` option or `transparent` are not reported. Dev only, with no production bytes. +- be566af: Pass the numeric row index to every `` callback during server rendering, including callbacks that use a default or rest parameter. +- 1465dfd: On the server, `createSignal(fn, { lazy: true })` now runs `fn` on the first read. +- Updated dependencies [56bca54] +- Updated dependencies [f7b6b9c] +- Updated dependencies [a3df43a] +- Updated dependencies [e0f2ad4] +- Updated dependencies [162d46a] +- Updated dependencies [cc4b6cf] +- Updated dependencies [a88836f] +- Updated dependencies [a440e01] +- Updated dependencies [9f7d51d] +- Updated dependencies [ae5ce50] +- Updated dependencies [44f26d6] +- Updated dependencies [14f48f4] +- Updated dependencies [510bb8d] +- Updated dependencies [50a4bfd] +- Updated dependencies [a50909b] +- Updated dependencies [6181f4b] +- Updated dependencies [46e665b] + - @solidjs/signals@2.0.5 + ## 2.0.4 ### Patch Changes diff --git a/packages/solid/package.json b/packages/solid/package.json index 7e0877640..0ed5fe831 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,7 +1,7 @@ { "name": "solid-js", "description": "Reactive JavaScript library for building user interfaces. Compiles JSX to real DOM with fine-grained signal-based updates — no virtual DOM.", - "version": "2.0.4", + "version": "2.0.5", "author": "Ryan Carniato", "license": "MIT", "homepage": "https://solidjs.com", @@ -134,7 +134,7 @@ "tanstack-intent" ], "dependencies": { - "@solidjs/signals": "^2.0.4", + "@solidjs/signals": "^2.0.5", "seroval": "^1.8.0", "seroval-plugins": "^1.8.0" } diff --git a/packages/universal/CHANGELOG.md b/packages/universal/CHANGELOG.md index adb6b5d3f..68c665e86 100644 --- a/packages/universal/CHANGELOG.md +++ b/packages/universal/CHANGELOG.md @@ -1,5 +1,22 @@ # @solidjs/universal +## 2.0.5 + +### Patch Changes + +- Updated dependencies [a3df43a] +- Updated dependencies [91260dc] +- Updated dependencies [00fba00] +- Updated dependencies [7898398] +- Updated dependencies [a50909b] +- Updated dependencies [185a5c2] +- Updated dependencies [0b703b4] +- Updated dependencies [14f48f4] +- Updated dependencies [a50909b] +- Updated dependencies [be566af] +- Updated dependencies [1465dfd] + - solid-js@2.0.5 + ## 2.0.4 ### Patch Changes diff --git a/packages/universal/package.json b/packages/universal/package.json index 26fb0f1c5..d2343ca4b 100644 --- a/packages/universal/package.json +++ b/packages/universal/package.json @@ -1,7 +1,7 @@ { "name": "@solidjs/universal", "description": "Solid's universal runtime for creating custom renderers", - "version": "2.0.4", + "version": "2.0.5", "author": "Ryan Carniato", "license": "MIT", "homepage": "https://solidjs.com", @@ -51,7 +51,7 @@ "test": "vitest run" }, "peerDependencies": { - "solid-js": "^2.0.4" + "solid-js": "^2.0.5" }, "devDependencies": { "solid-js": "workspace:*" diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index c46a25609..f96277ca1 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,48 @@ # @solidjs/web +## 2.0.5 + +### Patch Changes + +- caba92a: A server render under a request event now adds the client entry's assets to the response as a `Link` header: the entry script and its static imports as `rel=preload; as=script; crossorigin`, and their stylesheets as `rel=preload; as=style`. Hosts and CDNs that build `103 Early Hints` from `Link` headers, such as Cloudflare, can then start those downloads before the page arrives. Scripts use `preload` rather than `modulepreload` because Cloudflare and Chrome document only `preload` and `preconnect` for Early Hints. It covers the static build manifest only, so dev renders add nothing, and `noScripts` renders hint only stylesheets. + + `createSSRResponse` now appends the response stub's `Link` values to a `Link` header in `responseInit` instead of replacing it, as it already does for `Server-Timing`. + +- 91260dc: During `renderToStream`, an `` whose `` fails before the shell is sent now draws its error fallback in the shell even when the `` is not all of its content: markup between them (`
`), a sibling beside the ``, or another `` inside the ``. The fallback replaces the ``'s whole content, as a client render shows it, and the error is serialized at the ``, so the hydrating client adopts that markup without asking again and recovers when the content's inputs change (#4287). The server error hook hears `fallback`. Before, the shell kept the content with the failed ``'s position empty (`` for ``), and the fallback appeared only once the client hydrated, or never without JavaScript. The same applies to the awaited form (`await renderToStream(...)`). + + The fallback is drawn only when it is ready as it renders; the shell never waits for it. A fallback with an async or client-only hole, or one that throws with no `` above it, leaves the shell as before: the client renders the failure, and the hook hears `client`. So does an `` whose markup has no place of its own in the shell: one that put no element and no `` placeholder into the page (text alone, or nothing), or that was itself never inserted. A fallback that throws inside an outer `` is that boundary's failure, drawn in the shell the same way. When the hook maps the error to another value, a fallback that reads the error is rendered again with that value; if that second render throws or is not ready, nothing is drawn, although the hook has already heard `fallback`. Whatever the replaced content still had pending goes with it. A `` still pending inside it streams nothing, and its head tags (`useHead`) never reach the document head, whether they come from a settled `` or from the content itself. A later failure inside the replaced content is still reported to the hook as `client`. After the shell has been sent, a nested `` failure still streams an empty fragment and the client renders the failure, as before. + +- 5a729a9: Frames: two server component calls with different arguments no longer share a frame address, so one mount can no longer show another call's markup (#5284). The argument digest now quotes strings, tells numbers from strings, names `URL` / `URLSearchParams` and other class instances by their own string form, and hashes with FNV-1a. +- 97d54b0: Frames: a server component whose async read rejects before the first flush, with no server `` or `` around it, now answers the frame's `:error` record instead of a bare `:complete` (#5283). `serverComponentResponse` now resolves its `Response` at the shell, as `createSSRResponse` does, so that failure also marks the response `no-store`. It returns `Promise` (experimental API); responses made through `frameTransformResult` are unaffected. +- 7de4595: Frames: in production, sibling mounts of one server component (and `` rows) get their own `data-fid` site again instead of all sharing the first one (#5281). +- cbc14c8: A `GET` server function called with a file among its arguments (with `enableRichArguments`) now throws a clear error before sending, instead of putting `[object FormData]` in the url and failing with a 400. A `GET` call whose codec-encoded arguments are too long for a url and go over POST now sends the encoding it already made instead of encoding the arguments a second time, so a one-shot argument such as an async iterator arrives with all its chunks. +- e77da6f: Adopting server-emitted head resources during hydration no longer walks the whole document once per resource. The lookup checks `` first and only reaches `` (stream-emitted boundary links) when the head has no match, so a page with many preload links hydrates faster. Which element is adopted is unchanged. +- 185a5c2: Keep hydration open while a root waits on its module preload. Another root finishing first ended hydration for the page: `onHydrationEnd` fired and early input on the waiting root was lost before it claimed anything. A root that starts in the same tick after another root finished now also cancels that root's queued cleanup, which marked the page done and cleared the new root's registry. The same holds for a root started from an `onHydrationEnd` callback. +- 6e6963b: Guard the global `_$HY` when `runHydrationEvents` clears the hydration event queue, so a client render after a hydration with no delegated events does not throw once `_$HY` is removed. +- 8fa0476: Replace stale server-rendered Loading boundary content if its module preload fails and the client renders the boundary again. +- cf3006c: Keep a `` fallback on the page when its content fails after the shell is sent and no server `` drew a fallback at that position (for example `…`). The server used to swap in a blank there until the client hydrated. Now the fallback stays until the client renders the `` fallback over it. +- 185a5c2: Keep a pending `` boundary's server-rendered elements in the document when a sibling boundary in the same insert resumes first. They were removed at the sibling's resume and re-inserted at their own. A boundary whose server output is text only is not covered yet. +- 623a4f6: Send `live` and `broadcast` requests with `cache: "no-store"`. A live answer is never cacheable, and without it Firefox held a second tab's request to the same address for about 20 seconds while the first tab's connection was open. +- 4752ff1: A JSX spread that drops `checked`, `value` or `selected` clears it once and then leaves it alone, so a later unrelated prop change in the same spread no longer clears a checkbox, radio, typed text or chosen option the user set since. +- d92fc73: Remove class tokens such as `constructor` and `toString` when their class map conditions become false, including on spread elements and `Dynamic` tags. +- 8fa0476: Share the hydration node collection logic used for live children and captured marker regions. +- b72a531: Fix DOM rendering when an omitted optional `ref` prop is forwarded through a local `const` alias. +- 6e69108: Keep module scripts registered with `useHead` in the server-rendered HTML when a modulepreload link for the same URL was registered first. +- c787ec8: `renderToStream` now inserts the content of a root hole as written. It was passed to `String.prototype.replace` as a replacement string, so `` $` ``, `$&`, `$'` and `$$` in rendered text were expanded instead of output (#5275). +- 0df6d19: Fix server rendering of spread props on audio and video elements so `defaultMuted` controls the initial `muted` attribute. +- Updated dependencies [a3df43a] +- Updated dependencies [91260dc] +- Updated dependencies [00fba00] +- Updated dependencies [7898398] +- Updated dependencies [a50909b] +- Updated dependencies [185a5c2] +- Updated dependencies [0b703b4] +- Updated dependencies [14f48f4] +- Updated dependencies [a50909b] +- Updated dependencies [be566af] +- Updated dependencies [1465dfd] + - solid-js@2.0.5 + ## 2.0.4 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 3734aea5c..11e5caedd 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,7 @@ { "name": "@solidjs/web", "description": "Solid's web runtime: client rendering, hydration, SSR, and DOM-specific control flow (Portal, Dynamic).", - "version": "2.0.4", + "version": "2.0.5", "author": "Ryan Carniato", "license": "MIT", "homepage": "https://solidjs.com", @@ -380,7 +380,7 @@ "seroval-plugins": "^1.8.0" }, "peerDependencies": { - "solid-js": "^2.0.4" + "solid-js": "^2.0.5" }, "devDependencies": { "@codspeed/vitest-plugin": "^5.4.0",