Skip to content

Commit c3a2fef

Browse files
Version packages (rc)
1 parent 203ab1a commit c3a2fef

31 files changed

Lines changed: 478 additions & 40 deletions

File tree

‎.changeset/pre.json‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
"behavior-claims-delegate-glue",
8585
"behavior-claims-props",
8686
"bind-get-grants-to-function-identity",
87+
"binding-slot-execution",
88+
"binding-slot-text-positions",
8789
"body-end-visibility",
8890
"born-held",
8991
"bound-body-by-bytes-received",
@@ -122,13 +124,15 @@
122124
"companion-oracle-census",
123125
"companion-shadow-redesign",
124126
"compiler-component-names",
127+
"compiler-coverage-pragmas",
125128
"compiler-loader-accepts-patch-driver",
126129
"compiler-loader-prefer-local-build",
127130
"compiler-server-components-attribute-slot-positions",
128131
"compiler-source-names-bindings",
129132
"compiler-source-names-option",
130133
"compiler-source-names-primitives",
131134
"compiler-spread-sources-array",
135+
"compiler-wasi-android-root",
132136
"composed-header-bounds-transport",
133137
"contain-flight-collector-errors",
134138
"container-tier-projection-traces",
@@ -150,6 +154,8 @@
150154
"deprecate-create-tracked-effect",
151155
"deprecate-dynamic-component",
152156
"deprecate-server-writes",
157+
"derive-reads-held-key-joins",
158+
"derived-writes-apply-before-derivations",
153159
"dev-artifact-naming",
154160
"dev-error-invalid-refresh-target",
155161
"dev-error-non-function-component",
@@ -187,6 +193,7 @@
187193
"dynamic-factory-redesign",
188194
"dynamic-remount-latest-address",
189195
"dynamic-run-hydration-events",
196+
"dynamic-spread-attributes-before-children",
190197
"dynamic-static-source",
191198
"dynamic-xmlns-namespace",
192199
"effect-cleanup-unwind-order",
@@ -312,6 +319,7 @@
312319
"fix-hydration-and-signals-baseline",
313320
"fix-hydration-latched-divergence-lost",
314321
"fix-hydration-trace-foreign-iterable",
322+
"fix-hydration-trace-promise-statics",
315323
"fix-insert-sibling-rerender",
316324
"fix-insert-text-node-reuse",
317325
"fix-ispending-dev-prod-divergence",
@@ -478,6 +486,7 @@
478486
"fix-ssr-spread-children-read-once",
479487
"fix-ssr-stream-bare-child-rejection-3569",
480488
"fix-ssr-stream-rejected-fragment-hang",
489+
"fix-ssr-style-object-separators",
481490
"fix-ssr-sync-memo-child-id-leak",
482491
"fix-ssr-text-separators-resolved",
483492
"fix-ssr-textarea-spread-value",
@@ -532,6 +541,7 @@
532541
"format-ssr-hydration-followups",
533542
"fragment-ledger-one-reveal-owner",
534543
"fragment-reveal-policy-registry",
544+
"fragment-stylesheet-gate",
535545
"frame-conditional-reconnect",
536546
"frame-scope-projection-pump",
537547
"frame-teardown-on-disconnect",
@@ -544,6 +554,8 @@
544554
"frames-lazy-codec-and-op-log-compaction",
545555
"frames-live-document-face",
546556
"frames-live-slot-props-binding",
557+
"frames-rebind-in-the-pass",
558+
"frames-refetch-lands-at-commit",
547559
"frames-server-components-experimental",
548560
"frames-showing-refetch-settles-on-apply",
549561
"frames-single-flight-wiring",
@@ -562,6 +574,7 @@
562574
"guard-error-carried-failure-channels",
563575
"guard-failures-iterative-walk",
564576
"guard-getter-and-map-key-channels",
577+
"h-rematerialize-without-mutating-props",
565578
"halt-reactivity-on-uncaught-error",
566579
"handle-async-setter-errors",
567580
"head-shell-hold-probe-seam",
@@ -573,11 +586,14 @@
573586
"hold-consistency-batch-2",
574587
"hot-scope-fanout-aggregation",
575588
"html-braced-comments",
589+
"html-component-on-prop-getters",
576590
"html-element-claims",
591+
"html-self-closing-raw-text",
577592
"hydrate-claim-path",
578593
"hydrating-root-snapshot-scope",
579594
"hydrating-store-engine-seam",
580595
"hydration-latch-outside-pending-boundaries",
596+
"hydration-late-claim-keeps-nodes-in-place",
581597
"hydration-null-owner-hybrid-latch",
582598
"hydration-primitive-wrappers",
583599
"hydration-write-time-snapshot",
@@ -646,6 +662,7 @@
646662
"loading-window-verdict-quiet-through-hydration",
647663
"lone-spread-no-merge",
648664
"long-hold-and-stricter-thresholds",
665+
"lowercase-on-is-attribute",
649666
"maparray-nonkeyed-store-stale-row",
650667
"maparray-small-move-fast-path",
651668
"maparray-swap-commit",
@@ -762,6 +779,7 @@
762779
"reconcile-array-object-shape-guard",
763780
"reconcile-default-id-positional-null",
764781
"reconcile-symbol-keyed-nodes",
782+
"reconcile-unchanged-presence-no-hold",
765783
"reconcile-walk-guard-hoist",
766784
"recover-from-halt-in-dev-workflows",
767785
"recover-tsrx-editor-snapshots",
@@ -814,6 +832,7 @@
814832
"renderer-owned-jsx-types",
815833
"repeat-disjoint-window",
816834
"republish-fresh-signals-build",
835+
"request-failure-report",
817836
"require-client-source-commit-zero",
818837
"require-seroval-1-5-4",
819838
"require-seroval-1-6",
@@ -865,6 +884,7 @@
865884
"server-store-replacement-optimistic-noop",
866885
"server-trace-context",
867886
"setter-row-ops-tentative-lists",
887+
"settle-fast-path",
868888
"settle-superseded-flight-dependents",
869889
"settle-unchanged-pending-branches",
870890
"settle-walk-dev-invariant",
@@ -886,6 +906,29 @@
886906
"simplify-render-wrappers",
887907
"single-flight-keyed-envelope-only",
888908
"single-flight-protocol-bridge",
909+
"size-affects-on-l2",
910+
"size-attribution-on-l2",
911+
"size-audit-l2-hold-model",
912+
"size-carve-lane-layer",
913+
"size-lane-layer-s0",
914+
"size-lane-layer-s1",
915+
"size-lane-layer-s2",
916+
"size-spec-l2-hold-model",
917+
"size-store-bench-fixes-2",
918+
"size-store-bench-fixes",
919+
"size-store-container-node-escape-hatch",
920+
"size-store-prebatch-backing",
921+
"size-stores-on-l2-s3c",
922+
"size-stores-qd-parity",
923+
"size-stores-qd-provenance",
924+
"size-stores-s1-plain",
925+
"size-stores-s2-holds",
926+
"size-stores-s3a-projections",
927+
"size-stores-s3b-held-derived",
928+
"size-stores-s4-optimistic",
929+
"size-stores-s4-seam-trim",
930+
"size-stores-s5-affects",
931+
"size-stores-su-utils",
889932
"skip-sync-noop-status-work",
890933
"slot-jsx-convention-docs",
891934
"slot-signal-creation-diet",
@@ -908,6 +951,8 @@
908951
"ssr-falsy-rejections-and-thenables",
909952
"ssr-hole-id-scopes",
910953
"ssr-props-hoisted-constructors",
954+
"ssr-response-settles-pre-shell",
955+
"ssr-response-teardown-on-cancel-and-redirect",
911956
"ssr-retry-robustness",
912957
"ssr-scope-lazy-id",
913958
"ssr-shared-async-sources",
@@ -927,6 +972,7 @@
927972
"store-descriptor-trap-subscribes",
928973
"store-enumerator-presence-nodes-3664",
929974
"store-first-read-diet",
975+
"store-fold-queue-prebatch-record",
930976
"store-hold-visible",
931977
"store-hot-path-trims",
932978
"store-next-settled-visibility",
@@ -1017,6 +1063,7 @@
10171063
"wait-asset-seam",
10181064
"wake-synchronously-settled-transactions",
10191065
"warm-doors-flow",
1066+
"wasted-recompute-undefined-output",
10201067
"wasted-recompute",
10211068
"web-commit-event-response",
10221069
"web-feature-folders",
@@ -1027,6 +1074,7 @@
10271074
"web-request-event-locals",
10281075
"web-serialization-create-plugin",
10291076
"web-server-dist-prod-mode",
1077+
"web-server-entry-treeshaking",
10301078
"why-did-this-run-attribution",
10311079
"woken-transaction-staged-bump",
10321080
"write-proposals-3494",

‎examples/todos-server/CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# todos-server-example
22

3+
## 0.0.1-rc.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ecb68a1]
8+
- Updated dependencies [d4b10b5]
9+
- Updated dependencies [9a213bb]
10+
- Updated dependencies [365f37d]
11+
- Updated dependencies [da84bd9]
12+
- Updated dependencies [98d35b9]
13+
- Updated dependencies [b57eb2e]
14+
- Updated dependencies [1b9ceb6]
15+
- Updated dependencies [203ab1a]
16+
- Updated dependencies [e44b2e4]
17+
- Updated dependencies [4f67697]
18+
- Updated dependencies [41fdf96]
19+
- Updated dependencies [2656284]
20+
- Updated dependencies [9338c00]
21+
- Updated dependencies [8d66ae5]
22+
- @solidjs/web@2.0.0-rc.14
23+
- solid-js@2.0.0-rc.14
24+
325
## 0.0.1-rc.1
426

527
### Patch Changes

‎examples/todos-server/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "todos-server-example",
33
"description": "TodoMVC as a Solid Server Component — the list is server markup, and every optimistic behavior (toggle, remove, pending/error/retry, counts, filters) is a client fill over slot args and createOptimisticStore state: binding slots the server template reads at positions, a shared TodoRow on both sides, one markup slot for pending adds",
4-
"version": "0.0.1-rc.1",
4+
"version": "0.0.1-rc.2",
55
"private": true,
66
"author": "Ryan Carniato",
77
"license": "MIT",

‎packages/babel-plugin/CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @solidjs/babel-plugin
22

3+
## 2.0.0-rc.14
4+
5+
### Patch Changes
6+
7+
- 3c1f809: Preserve `/* istanbul ignore … */` and `/* c8 ignore … */` block comments written as JSX children on the generated component `children` getter. Line comments are not carried.
8+
- 98d35b9: Fix computed keys in compiled SSR `style` objects (builds without `serverComponents`). A computed key's name got no `;`, so `style={{ color: "red", [k]: v }}` rendered `color:redtop:1px` and the browser dropped both declarations. Hydration keeps the server's inline style, so they stayed dropped. A nullish first value also no longer leaves a leading `;`. Both compilers now pass a multi-entry object to a new `ssrStyleProperties(name, value, …)` helper, which writes the separator only between the entries it writes; a single entry keeps `ssrStyleProperty`.
9+
- 4f67697: **Breaking:** only `on` followed by an uppercase letter (`onClick`, `onPointerDown`) is an event handler. Lowercase `on*` names (`onclick`, `onmouseover`) are plain attributes everywhere:
10+
- Both compilers compile `onclick={expr}` like any other attribute (`setAttribute`, reactive when `expr` is dynamic) instead of binding a delegated or native event, and SSR renders it as an escaped attribute instead of dropping it. A leftover 1.x `on:click={fn}` is likewise a plain namespaced attribute (it previously compiled to `addEventListener(":click", fn)`).
11+
- `@solidjs/web` `spread`/`assign` set lowercase `on*` keys as attributes, the server spread walk renders them, and `useHead` applies lowercase `on*` attributes (camelCase handler names stay skipped). `ssrAttribute` escapes a function value instead of interpolating its source raw.
12+
- `@solidjs/html` and `@solidjs/h` elements wrap a function passed to a lowercase `on*` in a getter like any other attribute; only `onXxx` and `ref` are exempt.
13+
- `@solidjs/html` components follow `@solidjs/h`'s rule: every zero-argument function prop, `onXxx` handlers and `ref` included, is a getter, so a component handler must declare its event argument (`onClick=${e => …}`).
14+
- New dev-only check `LOWERCASE_EVENT_ATTRIBUTE` (added to the `DiagnosticCode` union): warns once per attribute name when a function is set on a lowercase `on*` (or `on:`) attribute, naming the camelCase handler to use.
15+
316
## 2.0.0-rc.13
417

518
## 2.0.0-rc.12

‎packages/babel-plugin/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@solidjs/babel-plugin",
33
"description": "Babel compiler plugin for Solid templates",
4-
"version": "2.0.0-rc.13",
4+
"version": "2.0.0-rc.14",
55
"author": "Ryan Carniato",
66
"license": "MIT",
77
"repository": {

‎packages/compiler/CHANGELOG.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @solidjs/compiler
22

3+
## 2.0.0-rc.14
4+
5+
### Patch Changes
6+
7+
- 3c1f809: Preserve `/* istanbul ignore … */` and `/* c8 ignore … */` block comments written as JSX children on the generated component `children` getter. Line comments are not carried.
8+
- 41be120: The `@solidjs/compiler-wasm32-wasi` fallback loads on Android (Termux), where the filesystem root cannot be opened: its generated loader no longer preopens `/` there (it failed with `UVWASI_EACCES, uvwasi_init`). The loader is regenerated by `@napi-rs/cli` 3.10.6, which maps the WASI root to the working directory on Android.
9+
- 98d35b9: Fix computed keys in compiled SSR `style` objects (builds without `serverComponents`). A computed key's name got no `;`, so `style={{ color: "red", [k]: v }}` rendered `color:redtop:1px` and the browser dropped both declarations. Hydration keeps the server's inline style, so they stayed dropped. A nullish first value also no longer leaves a leading `;`. Both compilers now pass a multi-entry object to a new `ssrStyleProperties(name, value, …)` helper, which writes the separator only between the entries it writes; a single entry keeps `ssrStyleProperty`.
10+
- 4f67697: **Breaking:** only `on` followed by an uppercase letter (`onClick`, `onPointerDown`) is an event handler. Lowercase `on*` names (`onclick`, `onmouseover`) are plain attributes everywhere:
11+
- Both compilers compile `onclick={expr}` like any other attribute (`setAttribute`, reactive when `expr` is dynamic) instead of binding a delegated or native event, and SSR renders it as an escaped attribute instead of dropping it. A leftover 1.x `on:click={fn}` is likewise a plain namespaced attribute (it previously compiled to `addEventListener(":click", fn)`).
12+
- `@solidjs/web` `spread`/`assign` set lowercase `on*` keys as attributes, the server spread walk renders them, and `useHead` applies lowercase `on*` attributes (camelCase handler names stay skipped). `ssrAttribute` escapes a function value instead of interpolating its source raw.
13+
- `@solidjs/html` and `@solidjs/h` elements wrap a function passed to a lowercase `on*` in a getter like any other attribute; only `onXxx` and `ref` are exempt.
14+
- `@solidjs/html` components follow `@solidjs/h`'s rule: every zero-argument function prop, `onXxx` handlers and `ref` included, is a getter, so a component handler must declare its event argument (`onClick=${e => …}`).
15+
- New dev-only check `LOWERCASE_EVENT_ATTRIBUTE` (added to the `DiagnosticCode` union): warns once per attribute name when a function is set on a lowercase `on*` (or `on:`) attribute, naming the camelCase handler to use.
16+
317
## 2.0.0-rc.13
418

519
## 2.0.0-rc.12

‎packages/compiler/npm/darwin-arm64/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/compiler-darwin-arm64",
3-
"version": "2.0.0-rc.13",
3+
"version": "2.0.0-rc.14",
44
"cpu": [
55
"arm64"
66
],
@@ -19,4 +19,4 @@
1919
"os": [
2020
"darwin"
2121
]
22-
}
22+
}

‎packages/compiler/npm/darwin-x64/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/compiler-darwin-x64",
3-
"version": "2.0.0-rc.13",
3+
"version": "2.0.0-rc.14",
44
"cpu": [
55
"x64"
66
],
@@ -19,4 +19,4 @@
1919
"os": [
2020
"darwin"
2121
]
22-
}
22+
}

‎packages/compiler/npm/linux-arm64-gnu/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/compiler-linux-arm64-gnu",
3-
"version": "2.0.0-rc.13",
3+
"version": "2.0.0-rc.14",
44
"cpu": [
55
"arm64"
66
],
@@ -22,4 +22,4 @@
2222
"libc": [
2323
"glibc"
2424
]
25-
}
25+
}

‎packages/compiler/npm/linux-x64-gnu/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/compiler-linux-x64-gnu",
3-
"version": "2.0.0-rc.13",
3+
"version": "2.0.0-rc.14",
44
"cpu": [
55
"x64"
66
],
@@ -22,4 +22,4 @@
2222
"libc": [
2323
"glibc"
2424
]
25-
}
25+
}

0 commit comments

Comments
 (0)