Skip to content
Open
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
5 changes: 0 additions & 5 deletions .changeset/cleanup-action-landing-5233.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/cleanup-writes-by-phase.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/create-root-no-closure.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/effect-cleanup-prod-5208.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/entry-link-headers.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/errored-nested-loading-preflush-fallback.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-ssr-function-spread-presence.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/get-file-arguments-error.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/html-copy-nested-children.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hydration-ref-snapshot-read.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keep-deferred-hydration-region.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/loading-on-mount-effect-5203.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nested-errored-async-rethrow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-moons-shave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/reconcile-keyed-row-proxy-5220.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/repark-drops-disposed-source.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/share-hydration-node-collection.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/skip-omitted-ref-alias.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ssr-root-hole-dollar-patterns.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-store-engine.md

This file was deleted.

27 changes: 27 additions & 0 deletions packages/diagnostics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @solidjs/diagnostics

## 2.0.5

### Patch Changes

- Updated dependencies [f7b6b9c]
- Updated dependencies [a3df43a]
- Updated dependencies [e0f2ad4]
- Updated dependencies [162d46a]
- Updated dependencies [caba92a]
- Updated dependencies [91260dc]
- Updated dependencies [00fba00]
- Updated dependencies [cbc14c8]
- Updated dependencies [cc4b6cf]
- Updated dependencies [8fa0476]
- Updated dependencies [a88836f]
- Updated dependencies [9f7d51d]
- Updated dependencies [0b703b4]
- Updated dependencies [510bb8d]
- Updated dependencies [50a4bfd]
- Updated dependencies [8fa0476]
- Updated dependencies [b72a531]
- Updated dependencies [c787ec8]
- Updated dependencies [46e665b]
- @solidjs/signals@2.0.5
- solid-js@2.0.5
- @solidjs/web@2.0.5

## 2.0.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/diagnostics/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/h/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"csstype": "^3.1.0"
},
"peerDependencies": {
"@solidjs/web": "^2.0.4"
"@solidjs/web": "^2.0.5"
},
"devDependencies": {
"@solidjs/web": "workspace:*",
Expand Down
14 changes: 14 additions & 0 deletions packages/html/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @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 [cbc14c8]
- Updated dependencies [8fa0476]
- Updated dependencies [8fa0476]
- Updated dependencies [b72a531]
- Updated dependencies [c787ec8]
- @solidjs/web@2.0.5

## 2.0.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/html/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -42,7 +42,7 @@
"test": "vitest run"
},
"peerDependencies": {
"@solidjs/web": "^2.0.4"
"@solidjs/web": "^2.0.5"
},
"devDependencies": {
"@solidjs/web": "workspace:*",
Expand Down
15 changes: 15 additions & 0 deletions packages/signals/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @solidjs/signals

## 2.0.5

### Patch Changes

- 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 `<For>` row and under a `<Show>` 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 `<Loading on>` boundary whose `on` computation sits higher in the heap run and re-arm the boundary before the warning is evaluated.
- 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).
- 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 `<For>` 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
- 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
Expand Down
2 changes: 1 addition & 1 deletion packages/signals/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
23 changes: 23 additions & 0 deletions packages/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# 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 `<For>` row and under a `<Show>` 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 `<Errored>` whose `<Loading>` fails before the shell is sent now draws its error fallback in the shell even when the `<Loading>` is not all of its content: markup between them (`<Errored><section><Loading>`), a sibling beside the `<Loading>`, or another `<Loading>` inside the `<Errored>`. The fallback replaces the `<Errored>`'s whole content, as a client render shows it, and the error is serialized at the `<Errored>`, 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 `<Loading>`'s position empty (`<b></b>` for `<Errored><b><Loading>`), 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 `<Errored>` above it, leaves the shell as before: the client renders the failure, and the hook hears `client`. So does an `<Errored>` whose markup has no place of its own in the shell: one that put no element and no `<Loading>` placeholder into the page (text alone, or nothing), or that was itself never inserted. A fallback that throws inside an outer `<Errored>` 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 `<Loading>` still pending inside it streams nothing, and its head tags (`useHead`) never reach the document head, whether they come from a settled `<Loading>` 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 `<Loading>` 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.
- 0b703b4: Export the `NoFn` type from `solid-js` (client and server entries), alongside the other store types already re-exported from `@solidjs/signals`.
- Updated dependencies [f7b6b9c]
- Updated dependencies [a3df43a]
- Updated dependencies [e0f2ad4]
- Updated dependencies [162d46a]
- Updated dependencies [cc4b6cf]
- Updated dependencies [a88836f]
- Updated dependencies [9f7d51d]
- Updated dependencies [510bb8d]
- Updated dependencies [50a4bfd]
- Updated dependencies [46e665b]
- @solidjs/signals@2.0.5

## 2.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
Expand Down
10 changes: 10 additions & 0 deletions packages/universal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @solidjs/universal

## 2.0.5

### Patch Changes

- Updated dependencies [a3df43a]
- Updated dependencies [91260dc]
- Updated dependencies [00fba00]
- Updated dependencies [0b703b4]
- solid-js@2.0.5

## 2.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/universal/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -51,7 +51,7 @@
"test": "vitest run"
},
"peerDependencies": {
"solid-js": "^2.0.4"
"solid-js": "^2.0.5"
},
"devDependencies": {
"solid-js": "workspace:*"
Expand Down
Loading