Skip to content

Commit bf87f27

Browse files
github-actions[bot]ryansolid
authored andcommitted
Version packages (rc)
1 parent 19af09d commit bf87f27

31 files changed

Lines changed: 387 additions & 35 deletions

File tree

‎.changeset/pre.json‎

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"@solidjs/compiler": "2.0.0-rc.2",
2323
"@solidjs/diagnostics": "2.0.0-rc.2",
2424
"effect-example": "0.0.0",
25-
"room-example": "0.0.0"
25+
"room-example": "0.0.0",
26+
"todos-server-example": "0.0.0"
2627
},
2728
"changesets": [
2829
"a28-writes-visible-at-flush",
30+
"abortsignal-types-no-dom",
2931
"absorb-expressions",
3032
"accept-empty-server-function-posts",
3133
"action-await-yield-docs",
@@ -88,6 +90,7 @@
8890
"bound-server-function-requests",
8991
"boundary-accessor-return-types",
9092
"boundary-asset-scope-leak",
93+
"boundary-primitives-internal",
9194
"brave-heaps-refuse",
9295
"bright-waves-dance",
9396
"brown-paws-speak",
@@ -121,6 +124,7 @@
121124
"compiler-component-names",
122125
"compiler-loader-accepts-patch-driver",
123126
"compiler-loader-prefer-local-build",
127+
"compiler-server-components-attribute-slot-positions",
124128
"compiler-source-names-bindings",
125129
"compiler-source-names-option",
126130
"compiler-source-names-primitives",
@@ -232,14 +236,17 @@
232236
"fix-async-memo-stale-deps",
233237
"fix-async-signal-ssr-loading",
234238
"fix-async-warning-through-errored",
239+
"fix-attribution-store-optimistic-revert",
235240
"fix-boundary-pending-fallback-reveal",
236241
"fix-buffered-iterable-replay-latest",
237242
"fix-buffered-store-replay-claim",
238243
"fix-chunk-reader-quadratic-growth",
239244
"fix-class-primitive-consistency",
245+
"fix-class-value-undefined",
240246
"fix-client-hole-derived-async-hang",
241247
"fix-client-hole-retry-subscription-leak",
242248
"fix-codec-options-declaration",
249+
"fix-compiler-spread-element-key",
243250
"fix-composed-header-bounds",
244251
"fix-conditional-async-reveal-pending",
245252
"fix-content-length-guard-bypass",
@@ -262,6 +269,7 @@
262269
"fix-disposed-read-lifecycle",
263270
"fix-dom-insert-marker-anchors",
264271
"fix-dynamic-hydration-key-alignment",
272+
"fix-dynamic-memo-source-delivery",
265273
"fix-dynamic-select-multiple",
266274
"fix-dynamic-serialize-adopt-3666",
267275
"fix-dynamic-shell-gating",
@@ -290,6 +298,7 @@
290298
"fix-frames-types-build",
291299
"fix-frames-web-path-mapping",
292300
"fix-get-grant-lifetime-and-read-folding",
301+
"fix-get-request-event-cross-request",
293302
"fix-halt-error-swallow",
294303
"fix-held-conditional-effect",
295304
"fix-held-conditional-memo",
@@ -328,6 +337,7 @@
328337
"fix-lazy-hydration-without-loading",
329338
"fix-lazy-rejected-import-caching",
330339
"fix-lazy-shared-memo-ownership",
340+
"fix-lazy-trace-cross-request",
331341
"fix-lingering-ambient-transaction-capture",
332342
"fix-live-store-hydration",
333343
"fix-loading-boundary-stale-flatten",
@@ -361,6 +371,7 @@
361371
"fix-optimistic-lane-release",
362372
"fix-optimistic-move-duplicate-3548",
363373
"fix-optimistic-override-premature-revert",
374+
"fix-optimistic-read-lane-not-transaction",
364375
"fix-optimistic-same-value-overlap",
365376
"fix-optimistic-settle-verdicts",
366377
"fix-optimistic-store-layer-scope",
@@ -413,6 +424,7 @@
413424
"fix-repeat-offset-disposal",
414425
"fix-repeat-offset-reset-on-empty",
415426
"fix-repeated-error-boundary-updates",
427+
"fix-report-server-error-cross-request",
416428
"fix-request-event-locals-augmentation",
417429
"fix-resolve-inside-action-deadlock",
418430
"fix-resolve-rejection-settlement",
@@ -449,6 +461,7 @@
449461
"fix-spread-hydration-mismatch",
450462
"fix-ssr-async-error-handling",
451463
"fix-ssr-bench-shape",
464+
"fix-ssr-class-style-leading-separator",
452465
"fix-ssr-element-nullish-style-class",
453466
"fix-ssr-errored-async-retry-loop",
454467
"fix-ssr-escape-function-results",
@@ -473,21 +486,26 @@
473486
"fix-static-select-value",
474487
"fix-storage-types-path",
475488
"fix-store-adoption-cancels-draft",
489+
"fix-store-adoption-unchanged-key-read-hold",
476490
"fix-store-cold-write-batching",
477491
"fix-store-fold-scheduling-strand",
478492
"fix-store-in-store-track-chaining",
493+
"fix-store-overlay-rebuild-on-key-set-change",
479494
"fix-store-prototype-getters",
480495
"fix-store-proxy-invariants",
481496
"fix-store-ssr-source-server",
482497
"fix-store-symbol-keys-and-truncation-notify",
498+
"fix-store-unchanged-key-read-hold",
483499
"fix-storepath-prototype-pollution",
500+
"fix-strict-read-hydration-and-lazy",
484501
"fix-strict-read-pending-store",
485502
"fix-style-hydration-adoption",
486503
"fix-superseded-flight-pending-sources",
487504
"fix-switch-nullish-match-slot",
488505
"fix-switch-settles-at-headers",
489506
"fix-sync-rejecting-thenable",
490507
"fix-target-shape-dictionary-mode",
508+
"fix-textarea-value-hydration-id-parity",
491509
"fix-throwing-effect-cleanup",
492510
"fix-tracked-effect-wake-timing",
493511
"fix-transition-merge-optimistic-dup",
@@ -517,6 +535,7 @@
517535
"frame-conditional-reconnect",
518536
"frame-scope-projection-pump",
519537
"frame-teardown-on-disconnect",
538+
"frames-attribute-slots",
520539
"frames-client-externalize-wire-layer",
521540
"frames-consume-live",
522541
"frames-dynamic-handoff",
@@ -526,6 +545,7 @@
526545
"frames-live-document-face",
527546
"frames-live-slot-props-binding",
528547
"frames-server-components-experimental",
548+
"frames-showing-refetch-settles-on-apply",
529549
"frames-single-flight-wiring",
530550
"frames-slot-claim-handover",
531551
"frames-slot-type",
@@ -566,6 +586,8 @@
566586
"import-solid-signals-monorepo",
567587
"improve-tsrx-lazy-destructuring",
568588
"include-web-cookie-declarations",
589+
"initial-route-declaration",
590+
"internal-surface-followup",
569591
"internal-view-protocol-surface",
570592
"inv2-active-override-assertion",
571593
"ispending-before-first-commit",
@@ -576,6 +598,7 @@
576598
"iterate-bare-step-tolerance",
577599
"iterator-supersede-eager-close",
578600
"jfb-driver-and-write-bound",
601+
"jsx-key-intrinsic-typing",
579602
"keep-ambient-batch-on-stash",
580603
"keep-negative-zero-off-the-json-fast-path",
581604
"label-version-skew-404",
@@ -642,8 +665,10 @@
642665
"observability-surface-prune",
643666
"observe-batched-serialized-race",
644667
"observe-exclude-interaction-writes",
668+
"observe-include-and-call-live",
645669
"observe-node-shapes",
646670
"observe-records-channel",
671+
"observe-request-record",
647672
"observe-shape-freeze",
648673
"observe-subjectof-jsdoc",
649674
"observe-tier",
@@ -691,6 +716,7 @@
691716
"pay-for-use-treeshaking-phase-3",
692717
"pending-hold-provenance-and-a20",
693718
"pending-server-store-reads",
719+
"per-render-serialize-latch",
694720
"per-root-boundary-resume",
695721
"per-row-patch-unbinds",
696722
"perf-2893-guard-cleanup",
@@ -753,6 +779,7 @@
753779
"refresh-memo-plumbing",
754780
"refresh-wrapper-out-of-owner-paths",
755781
"refreshable-type-alias",
782+
"refs-after-attributes",
756783
"refusals-commit-event-stub",
757784
"refuse-flush-in-action-body",
758785
"refuse-invalid-wrap-invocation-values",
@@ -884,6 +911,7 @@
884911
"ssr-shared-async-sources",
885912
"ssr-spread-static-tail",
886913
"ssr-spread-static-text-escape",
914+
"ssr-spread-walk-hot-path",
887915
"ssrSource-effects-and-fix-server-createEffect",
888916
"ssrsource-async-iterables",
889917
"staged-reporter-deps-tail",

‎examples/todos-server/CHANGELOG.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# todos-server-example
2+
3+
## 0.0.1-rc.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [7b8fd28]
8+
- Updated dependencies [5bef430]
9+
- Updated dependencies [829f981]
10+
- Updated dependencies [ad1ecc5]
11+
- Updated dependencies [cbf47d5]
12+
- Updated dependencies [7f9bd7a]
13+
- Updated dependencies [51a1a49]
14+
- Updated dependencies [1ad0be0]
15+
- Updated dependencies [d0e487b]
16+
- Updated dependencies [ad1ecc5]
17+
- Updated dependencies [ad1ecc5]
18+
- Updated dependencies [fe1eb68]
19+
- Updated dependencies [fb4e637]
20+
- Updated dependencies [ad1ecc5]
21+
- Updated dependencies [0bf5758]
22+
- Updated dependencies [644eaf3]
23+
- Updated dependencies [e040dae]
24+
- Updated dependencies [ad1ecc5]
25+
26+
- @solidjs/web@2.0.0-rc.12

‎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: attribute slots the server template reads at positions, a shared TodoRow on both sides, one markup slot for pending adds",
4-
"version": "0.0.0",
4+
"version": "0.0.1-rc.0",
55
"private": true,
66
"author": "Ryan Carniato",
77
"license": "MIT",

‎packages/babel-plugin/CHANGELOG.md‎

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

3+
## 2.0.0-rc.12
4+
5+
### Patch Changes
6+
7+
- ad1ecc5: `serverComponents` (SSR): keep attribute-slot positions bindable on intrinsic elements. A dynamic `class` or `style` now compiles to a whole-attribute `_$ssrElementAttribute` hole instead of a value inside the template's quotes, so a server component's `class={{ selected: filters.all }}` can mark the class name a client attribute slot owns; `ref`/`on*` positions compile, as before, to one guarded `_$ssrClaim` hole per element, which now emits `_s:on:*`/`_s:ref` markers for slot reads (the `_bnd` behavior-claim marker is gone). A spread element compiles its named `ref`/`on*` (`<button {...rest} onClick={row.go} ref={row.el} />`, wherever they sit relative to the spreads) to the same claim map — `{ click: expr, ref: [a, b] }`, duplicate refs merged, a duplicate handler last-wins as on the template path — keyed by the index of the source each attribute sits before (`<b {...a} onClick={go} {...b}>` → `{ 1: { click: go } }`) and handed to `_$ssrElement` as a seventh argument, a thunk the runtime reads only inside a server component's render, so plain SSR never evaluates the expressions (they used to drop with no marker and no finding); the runtime settles each handler position in source order, as the client's `spread`/`merge()` do (the last source that has the key owns it, `undefined` included). A `ref` beside a lone spread goes through the sources loop under the option (a dynamic spread call is thunked there, as it is beside any other attribute). The event name is always the lowercased `on*` remainder (`onClick` → `click`); `on:`/`oncapture:` are not 2.0 syntaxes and are no longer special-cased. Both compilers share the `attributeSlots` server-components fixture; plain SSR output is unchanged.
8+
- 077c787: A `<textarea>` with a dynamic `value`/`defaultValue` no longer desyncs hydration ids for the siblings after it (#3691). The server folds the value into the textarea's text content, and that fold was taking the `_$scope` hydration-id reservation a dynamic child hole gets — but the client writes the value as a plain property effect that never allocates an id, so every component after the textarea hydrated one id off and its updates targeted detached DOM. The fold is now treated like the `innerHTML`/`textContent` redirects (#3015): opaque content, no id reservation, in both the Babel plugin and the native compiler.
9+
- c71486d: DOM output: an element's `ref` now runs after its attributes and spread are applied, and still before its children. A ref's own attribute writes now survive client creation the way they already survived hydration (#3685).
10+
311
## 2.0.0-rc.11
412

513
## 2.0.0-rc.10

‎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.11",
4+
"version": "2.0.0-rc.12",
55
"author": "Ryan Carniato",
66
"license": "MIT",
77
"repository": {

‎packages/compiler/CHANGELOG.md‎

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

3+
## 2.0.0-rc.12
4+
5+
### Patch Changes
6+
7+
- ad1ecc5: `serverComponents` (SSR): keep attribute-slot positions bindable on intrinsic elements. A dynamic `class` or `style` now compiles to a whole-attribute `_$ssrElementAttribute` hole instead of a value inside the template's quotes, so a server component's `class={{ selected: filters.all }}` can mark the class name a client attribute slot owns; `ref`/`on*` positions compile, as before, to one guarded `_$ssrClaim` hole per element, which now emits `_s:on:*`/`_s:ref` markers for slot reads (the `_bnd` behavior-claim marker is gone). A spread element compiles its named `ref`/`on*` (`<button {...rest} onClick={row.go} ref={row.el} />`, wherever they sit relative to the spreads) to the same claim map — `{ click: expr, ref: [a, b] }`, duplicate refs merged, a duplicate handler last-wins as on the template path — keyed by the index of the source each attribute sits before (`<b {...a} onClick={go} {...b}>` → `{ 1: { click: go } }`) and handed to `_$ssrElement` as a seventh argument, a thunk the runtime reads only inside a server component's render, so plain SSR never evaluates the expressions (they used to drop with no marker and no finding); the runtime settles each handler position in source order, as the client's `spread`/`merge()` do (the last source that has the key owns it, `undefined` included). A `ref` beside a lone spread goes through the sources loop under the option (a dynamic spread call is thunked there, as it is beside any other attribute). The event name is always the lowercased `on*` remainder (`onClick` → `click`); `on:`/`oncapture:` are not 2.0 syntaxes and are no longer special-cased. Both compilers share the `attributeSlots` server-components fixture; plain SSR output is unchanged.
8+
- ad1ecc5: Native compiler: `$key` on an intrinsic element with a spread (`<li $key={id} class="todo" {...attrs}>`) now follows the same rule as on a template element — SSR compiles it to the `_key` attribute the frame morph matches keyed elements by, and a DOM compile strips it. It previously passed through the spread path unrenamed, so server markup carried a literal `$key` attribute and keyed morphs lost identity. Babel already behaved this way; the shared `keyedElements` fixtures pin the spread case for both.
9+
- 077c787: A `<textarea>` with a dynamic `value`/`defaultValue` no longer desyncs hydration ids for the siblings after it (#3691). The server folds the value into the textarea's text content, and that fold was taking the `_$scope` hydration-id reservation a dynamic child hole gets — but the client writes the value as a plain property effect that never allocates an id, so every component after the textarea hydrated one id off and its updates targeted detached DOM. The fold is now treated like the `innerHTML`/`textContent` redirects (#3015): opaque content, no id reservation, in both the Babel plugin and the native compiler.
10+
- c71486d: DOM output: an element's `ref` now runs after its attributes and spread are applied, and still before its children. A ref's own attribute writes now survive client creation the way they already survived hydration (#3685).
11+
312
## 2.0.0-rc.11
413

514
## 2.0.0-rc.10

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

Lines changed: 1 addition & 1 deletion
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.11",
3+
"version": "2.0.0-rc.12",
44
"cpu": [
55
"arm64"
66
],

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

Lines changed: 1 addition & 1 deletion
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.11",
3+
"version": "2.0.0-rc.12",
44
"cpu": [
55
"x64"
66
],

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

Lines changed: 1 addition & 1 deletion
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.11",
3+
"version": "2.0.0-rc.12",
44
"cpu": [
55
"arm64"
66
],

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

Lines changed: 1 addition & 1 deletion
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.11",
3+
"version": "2.0.0-rc.12",
44
"cpu": [
55
"x64"
66
],

0 commit comments

Comments
 (0)