@lynx-js/react-signals 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.json +8 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,27 @@
1
+ # @lynx-js/react-signals
2
+
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependency `@preact/signals` to `^2.11.2`. ([#3830](https://github.com/lynx-family/lynx-stack/pull/3830))
8
+
9
+ ## 0.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Accept `@lynx-js/react` 0.126, which ships Preact 11. ([#3450](https://github.com/lynx-family/lynx-stack/pull/3450))
14
+
15
+ ## 0.0.2
16
+
17
+ ### Patch Changes
18
+
19
+ - Widen the `@lynx-js/react` peer dependency range to include 0.125. ([#3551](https://github.com/lynx-family/lynx-stack/pull/3551))
20
+
21
+ ## 0.0.1
22
+
23
+ ### Patch Changes
24
+
25
+ - Register the snapshot and worklet definitions collected from the background build on the main thread, so a definition the main-thread bundle dropped no longer fails with `Snapshot not found`. ([#3393](https://github.com/lynx-family/lynx-stack/pull/3393))
26
+
27
+ - Add `@lynx-js/react-signals`, a thread-aware Preact Signals adapter that keeps Signals dependencies out of `@lynx-js/react`. Signal reactivity runs on the background thread, while main-thread rendering uses static signal values with inactive setters, subscriptions, and effects. ([#3346](https://github.com/lynx-family/lynx-stack/pull/3346))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-signals",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Thread-aware Preact Signals integration for ReactLynx.",
5
5
  "keywords": [
6
6
  "lynx",
@@ -29,20 +29,21 @@
29
29
  "main": "./dist/index.js",
30
30
  "types": "./dist/index.d.ts",
31
31
  "files": [
32
+ "CHANGELOG.md",
32
33
  "dist",
33
34
  "README.md"
34
35
  ],
35
36
  "dependencies": {
36
- "@preact/signals": "^2.9.4",
37
+ "@preact/signals": "^2.11.2",
37
38
  "@preact/signals-core": "^1.14.4"
38
39
  },
39
40
  "devDependencies": {
40
- "@rslib/core": "1.0.0-beta.3",
41
- "preact": "npm:@lynx-js/internal-preact@10.29.1-20260519060144-e6da44c",
42
- "@lynx-js/react": "0.125.0"
41
+ "@lynx-js/react": "0.126.2",
42
+ "@rslib/core": "1.0.2",
43
+ "preact": "npm:@lynx-js/internal-preact@11.0.0-rc.1-20260903085447-f95471a"
43
44
  },
44
45
  "peerDependencies": {
45
- "@lynx-js/react": "^0.123.0 || ^0.124.0 || ^0.125.0",
46
+ "@lynx-js/react": "^0.123.0 || ^0.124.0 || ^0.125.0 || ^0.126.0",
46
47
  "preact": "*"
47
48
  },
48
49
  "engines": {
@@ -52,6 +53,6 @@
52
53
  "access": "public"
53
54
  },
54
55
  "scripts": {
55
- "build": "rslib build"
56
+ "build": "rslib"
56
57
  }
57
58
  }