diff --git a/.changeset/cold-pandas-sing.md b/.changeset/cold-pandas-sing.md deleted file mode 100644 index 159acdf56..000000000 --- a/.changeset/cold-pandas-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-react": patch ---- - -Fix signal not updated in React production build diff --git a/.changeset/grumpy-experts-cover.md b/.changeset/grumpy-experts-cover.md deleted file mode 100644 index bbffaaf27..000000000 --- a/.changeset/grumpy-experts-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": patch ---- - -Use the same tracking logic for both effects and computeds. This ensures that effects are only called whenever any of their dependencies changes. If they all stay the same, then the effect will not be invoked. diff --git a/.changeset/rare-bulldogs-sin.md b/.changeset/rare-bulldogs-sin.md deleted file mode 100644 index de7e6bda5..000000000 --- a/.changeset/rare-bulldogs-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": patch ---- - -Fix effect disposal when cleanup throws diff --git a/.changeset/tall-onions-deny.md b/.changeset/tall-onions-deny.md deleted file mode 100644 index 0456c52c3..000000000 --- a/.changeset/tall-onions-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": patch ---- - -Optimize dependency value change checks by allowing earlier exists from the loop diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 72f9cf8b0..774863284 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @preact/signals-core +## 1.2.1 + +### Patch Changes + +- [#205](https://github.com/preactjs/signals/pull/205) [`4b73164`](https://github.com/preactjs/signals/commit/4b7316497aee03413f91e9f714cdcf9f553e39d9) Thanks [@jviide](https://github.com/jviide)! - Use the same tracking logic for both effects and computeds. This ensures that effects are only called whenever any of their dependencies changes. If they all stay the same, then the effect will not be invoked. + +* [#207](https://github.com/preactjs/signals/pull/207) [`57fd2e7`](https://github.com/preactjs/signals/commit/57fd2e723528a36cc5d4ebf09ba34178aa84c879) Thanks [@jviide](https://github.com/jviide)! - Fix effect disposal when cleanup throws + +- [#209](https://github.com/preactjs/signals/pull/209) [`49756ae`](https://github.com/preactjs/signals/commit/49756aef28fe12c6ae6b801224bf5ae608ddf562) Thanks [@jviide](https://github.com/jviide)! - Optimize dependency value change checks by allowing earlier exists from the loop + ## 1.2.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 4bf24a6ef..cf4c1b2a0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-core", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "description": "", "keywords": [], diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index f87eb9e5b..bf9db9ed1 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # @preact/signals-react +## 1.1.1 + +### Patch Changes + +- [#221](https://github.com/preactjs/signals/pull/221) [`7e8d4c2`](https://github.com/preactjs/signals/commit/7e8d4c25dfdc7fa9434b6c2af4aa0e495b9fae55) Thanks [@marvinhagemeister](https://github.com/marvinhagemeister)! - Fix signal not updated in React production build + +- Updated dependencies [[`4b73164`](https://github.com/preactjs/signals/commit/4b7316497aee03413f91e9f714cdcf9f553e39d9), [`57fd2e7`](https://github.com/preactjs/signals/commit/57fd2e723528a36cc5d4ebf09ba34178aa84c879), [`49756ae`](https://github.com/preactjs/signals/commit/49756aef28fe12c6ae6b801224bf5ae608ddf562)]: + - @preact/signals-core@1.2.1 + ## 1.1.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index bae025f85..02d4f62fe 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-react", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "description": "", "keywords": [], @@ -38,7 +38,7 @@ "prepublishOnly": "cd ../.. && pnpm build:react" }, "dependencies": { - "@preact/signals-core": "workspace:^1.2.0" + "@preact/signals-core": "workspace:^1.2.1" }, "peerDependencies": { "react": "17.x || 18.x"