Skip to content

Commit e799cbd

Browse files
authored
Merge pull request #3724 from solidjs/changeset-release/next
Release RC packages (rc)
2 parents d231b99 + c421e19 commit e799cbd

31 files changed

Lines changed: 1050 additions & 40 deletions

File tree

‎.changeset/pre.json‎

Lines changed: 129 additions & 0 deletions
Large diffs are not rendered by default.

‎examples/todos-server/CHANGELOG.md‎

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

3+
## 0.0.1-rc.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [4b4c2cb]
8+
- Updated dependencies [ecb68a1]
9+
- Updated dependencies [d4b10b5]
10+
- Updated dependencies [2eb6e00]
11+
- Updated dependencies [21ff8f8]
12+
- Updated dependencies [3c1d512]
13+
- Updated dependencies [9a213bb]
14+
- Updated dependencies [721eb06]
15+
- Updated dependencies [b0c6e6a]
16+
- Updated dependencies [365f37d]
17+
- Updated dependencies [da84bd9]
18+
- Updated dependencies [98d35b9]
19+
- Updated dependencies [b57eb2e]
20+
- Updated dependencies [3c1d512]
21+
- Updated dependencies [3c1d512]
22+
- Updated dependencies [3c1d512]
23+
- Updated dependencies [3c1d512]
24+
- Updated dependencies [3c1d512]
25+
- Updated dependencies [9d89df7]
26+
- Updated dependencies [7233451]
27+
- Updated dependencies [7233451]
28+
- Updated dependencies [3c1d512]
29+
- Updated dependencies [3c1d512]
30+
- Updated dependencies [3c1d512]
31+
- Updated dependencies [9d89df7]
32+
- Updated dependencies [7233451]
33+
- Updated dependencies [9d89df7]
34+
- Updated dependencies [9d89df7]
35+
- Updated dependencies [7233451]
36+
- Updated dependencies [3c1d512]
37+
- Updated dependencies [1b9ceb6]
38+
- Updated dependencies [203ab1a]
39+
- Updated dependencies [7233451]
40+
- Updated dependencies [7233451]
41+
- Updated dependencies [7233451]
42+
- Updated dependencies [7233451]
43+
- Updated dependencies [7233451]
44+
- Updated dependencies [7233451]
45+
- Updated dependencies [3c7631a]
46+
- Updated dependencies [7233451]
47+
- Updated dependencies [7233451]
48+
- Updated dependencies [7233451]
49+
- Updated dependencies [e44b2e4]
50+
- Updated dependencies [01e80a6]
51+
- Updated dependencies [be82cf3]
52+
- Updated dependencies [759a9b6]
53+
- Updated dependencies [e345dc7]
54+
- Updated dependencies [4f67697]
55+
- Updated dependencies [41fdf96]
56+
- Updated dependencies [87a3862]
57+
- Updated dependencies [53ef0e6]
58+
- Updated dependencies [2656284]
59+
- Updated dependencies [9338c00]
60+
- Updated dependencies [7addcc6]
61+
- Updated dependencies [6f77b1b]
62+
- Updated dependencies [537e945]
63+
- Updated dependencies [7233451]
64+
- Updated dependencies [8d66ae5]
65+
66+
- @solidjs/web@2.0.0-rc.14
67+
368
## 0.0.1-rc.1
469

570
### 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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @solidjs/babel-plugin
22

3+
## 2.0.0-rc.14
4+
5+
### Patch Changes
6+
7+
- 59fb244: SSR `hoistProps` skips TypeScript type positions when collecting captures, so on authored TSX (types parsed, stripped later) a `typeof x` query or a type named like a value no longer captures that value, or forces the literal fallback when it is reassigned (#3828).
8+
- 3c1f809: Preserve `/* istanbul ignore … */` and `/* c8 ignore … */` block comments written as JSX children on the generated component `children` getter. Line comments are not carried.
9+
- 98b916d: Fix compiled SSR output that renders `style=""` or `class=""` for `null` and `undefined`. Babel and the native compiler now omit these attributes on elements without a spread.
10+
- 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`.
11+
- 4f67697: **Breaking:** only `on` followed by an uppercase letter (`onClick`, `onPointerDown`) is an event handler. Lowercase `on*` names (`onclick`, `onmouseover`) are plain attributes everywhere:
12+
- 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)`).
13+
- `@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.
14+
- `@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.
15+
- `@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 => …}`).
16+
- 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.
17+
18+
- 7513131: Preserve the source location of captured references in SSR props constructors so source maps point to the authored expression, including dynamic TSRX tags.
19+
320
## 2.0.0-rc.13
421

522
## 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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @solidjs/compiler
22

3+
## 2.0.0-rc.14
4+
5+
### Patch Changes
6+
7+
- ba8c593: Restore Clippy and rustfmt checks for the native compiler and apply the resulting lint and formatting cleanups
8+
- 3c1f809: Preserve `/* istanbul ignore … */` and `/* c8 ignore … */` block comments written as JSX children on the generated component `children` getter. Line comments are not carried.
9+
- 5dbe29a: Count all JavaScript line terminators in scoped style and refresh locations and DOM and server-function diagnostics. Report diagnostic columns in UTF-16 units.
10+
- a8c98bd: Preserve the source location of captured references in SSR props constructors so source maps point to the authored expression instead of the start of the JSX element, matching `@solidjs/babel-plugin`.
11+
- 59fb244: SSR `hoistProps` no longer captures names in TypeScript type positions (type parameters, annotations, `as`/`satisfies` targets, type arguments, `typeof x` queries, local `type`/`interface` declarations, `implements`/`extends` heritage) as constructor arguments, which threw `ReferenceError` once the types were stripped (#3828). A `type` or `interface` that shares a value's name no longer makes that value count as redeclared, so its site still hoists.
12+
- ab57910: Report correct TSRX diagnostic positions after Unicode line separators and carriage returns, preserving UTF-16 columns and treating CRLF as one line break.
13+
- 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.
14+
- c8aac88: Fix native TSRX compilation of parenthesized keys, iterables, and conditions, including annotated `@for` loops used directly in a component body. Map comments back to the authored source to prevent invalid JavaScript and Unicode panics when source maps are enabled.
15+
- 98b916d: Fix compiled SSR output that renders `style=""` or `class=""` for `null` and `undefined`. Babel and the native compiler now omit these attributes on elements without a spread.
16+
- 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`.
17+
- ea5f1da: Fix native TSRX compilation when a setup statement has no semicolon before markup.
18+
- 4f67697: **Breaking:** only `on` followed by an uppercase letter (`onClick`, `onPointerDown`) is an event handler. Lowercase `on*` names (`onclick`, `onmouseover`) are plain attributes everywhere:
19+
- 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)`).
20+
- `@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.
21+
- `@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.
22+
- `@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 => …}`).
23+
- 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.
24+
325
## 2.0.0-rc.13
426

527
## 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)