From 38443db4e014cd147da75e013043c14609cf34e4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 Sep 2022 07:18:26 +0000 Subject: [PATCH] Version Packages --- .changeset/chatty-buckets-try.md | 5 ----- .changeset/lemon-hornets-nail.md | 5 ----- .changeset/little-ducks-count.md | 5 ----- .changeset/shiny-jars-invite.md | 7 ------- .changeset/sour-snails-whisper.md | 5 ----- .changeset/strong-kiwis-drive.md | 6 ------ .changeset/tidy-buses-do.md | 16 ---------------- .changeset/twelve-suits-smell.md | 5 ----- packages/core/CHANGELOG.md | 25 +++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/preact/CHANGELOG.md | 28 ++++++++++++++++++++++++++++ packages/preact/package.json | 4 ++-- packages/react/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/react/package.json | 4 ++-- 14 files changed, 82 insertions(+), 59 deletions(-) delete mode 100644 .changeset/chatty-buckets-try.md delete mode 100644 .changeset/lemon-hornets-nail.md delete mode 100644 .changeset/little-ducks-count.md delete mode 100644 .changeset/shiny-jars-invite.md delete mode 100644 .changeset/sour-snails-whisper.md delete mode 100644 .changeset/strong-kiwis-drive.md delete mode 100644 .changeset/tidy-buses-do.md delete mode 100644 .changeset/twelve-suits-smell.md diff --git a/.changeset/chatty-buckets-try.md b/.changeset/chatty-buckets-try.md deleted file mode 100644 index 2b706d52d..000000000 --- a/.changeset/chatty-buckets-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": patch ---- - -Fix `.subscribe()` unexpectedly tracking signal access diff --git a/.changeset/lemon-hornets-nail.md b/.changeset/lemon-hornets-nail.md deleted file mode 100644 index 89c920a58..000000000 --- a/.changeset/lemon-hornets-nail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals": patch ---- - -Fix unable to set SVG attribute via Signal diff --git a/.changeset/little-ducks-count.md b/.changeset/little-ducks-count.md deleted file mode 100644 index 116792fd7..000000000 --- a/.changeset/little-ducks-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": patch ---- - -Add support for `Signal.prototype.valueOf` diff --git a/.changeset/shiny-jars-invite.md b/.changeset/shiny-jars-invite.md deleted file mode 100644 index 6a514e47d..000000000 --- a/.changeset/shiny-jars-invite.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@preact/signals-core": patch -"@preact/signals": patch -"@preact/signals-react": patch ---- - -Remove all usages of `Set`, `Map` and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements. diff --git a/.changeset/sour-snails-whisper.md b/.changeset/sour-snails-whisper.md deleted file mode 100644 index 5bdbe0c75..000000000 --- a/.changeset/sour-snails-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals": patch ---- - -Reduce size of Preact adapter by replacing `WeakSet`s with bitmasks. diff --git a/.changeset/strong-kiwis-drive.md b/.changeset/strong-kiwis-drive.md deleted file mode 100644 index 0857e2554..000000000 --- a/.changeset/strong-kiwis-drive.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@preact/signals": minor -"@preact/signals-react": minor ---- - -add the `useSignalEffect` hook diff --git a/.changeset/tidy-buses-do.md b/.changeset/tidy-buses-do.md deleted file mode 100644 index 74bc36bf6..000000000 --- a/.changeset/tidy-buses-do.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@preact/signals-core": minor -"@preact/signals": minor -"@preact/signals-react": minor ---- - -Add ability to run custom cleanup logic when an effect is disposed. - -```js -effect(() => { - console.log("This runs whenever a dependency changes"); - return () => { - console.log("This runs when the effect is disposed"); - }); -}); -``` diff --git a/.changeset/twelve-suits-smell.md b/.changeset/twelve-suits-smell.md deleted file mode 100644 index 653a2b03d..000000000 --- a/.changeset/twelve-suits-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-core": minor ---- - -Allow disposing a currently running effect diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 6aec48abc..72f9cf8b0 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,30 @@ # @preact/signals-core +## 1.2.0 + +### Minor Changes + +- [#183](https://github.com/preactjs/signals/pull/183) [`79ff1e7`](https://github.com/preactjs/signals/commit/79ff1e794dde9952db2d6d43b22cebfb2accc770) Thanks [@jviide](https://github.com/jviide)! - Add ability to run custom cleanup logic when an effect is disposed. + + ```js + effect(() => { + console.log("This runs whenever a dependency changes"); + return () => { + console.log("This runs when the effect is disposed"); + }); + }); + ``` + +* [#170](https://github.com/preactjs/signals/pull/170) [`3e31aab`](https://github.com/preactjs/signals/commit/3e31aabb812ddb0f7451deba38267f8384eff9d1) Thanks [@jviide](https://github.com/jviide)! - Allow disposing a currently running effect + +### Patch Changes + +- [#188](https://github.com/preactjs/signals/pull/188) [`b4611cc`](https://github.com/preactjs/signals/commit/b4611cc9dee0ae09f4b378ba293c3203edc32be4) Thanks [@jviide](https://github.com/jviide)! - Fix `.subscribe()` unexpectedly tracking signal access + +* [#162](https://github.com/preactjs/signals/pull/162) [`9802da5`](https://github.com/preactjs/signals/commit/9802da5274bb45c3cc28dda961b9b2d18535729a) Thanks [@developit](https://github.com/developit)! - Add support for `Signal.prototype.valueOf` + +- [#161](https://github.com/preactjs/signals/pull/161) [`6ac6923`](https://github.com/preactjs/signals/commit/6ac6923e5294f8a31ee1a009550b9891c3996cb4) Thanks [@jviide](https://github.com/jviide)! - Remove all usages of `Set`, `Map` and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements. + ## 1.1.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 9bd4ce086..4bf24a6ef 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-core", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "description": "", "keywords": [], diff --git a/packages/preact/CHANGELOG.md b/packages/preact/CHANGELOG.md index 9877c2d6c..b07cb4f1b 100644 --- a/packages/preact/CHANGELOG.md +++ b/packages/preact/CHANGELOG.md @@ -1,5 +1,33 @@ # @preact/signals +## 1.1.0 + +### Minor Changes + +- [#91](https://github.com/preactjs/signals/pull/91) [`fb74bb9`](https://github.com/preactjs/signals/commit/fb74bb9ce4e44192e1ee7d3d041274cc985db767) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - add the `useSignalEffect` hook + +* [#183](https://github.com/preactjs/signals/pull/183) [`79ff1e7`](https://github.com/preactjs/signals/commit/79ff1e794dde9952db2d6d43b22cebfb2accc770) Thanks [@jviide](https://github.com/jviide)! - Add ability to run custom cleanup logic when an effect is disposed. + + ```js + effect(() => { + console.log("This runs whenever a dependency changes"); + return () => { + console.log("This runs when the effect is disposed"); + }); + }); + ``` + +### Patch Changes + +- [#186](https://github.com/preactjs/signals/pull/186) [`7242bd6`](https://github.com/preactjs/signals/commit/7242bd68cc570c6159600f271ee95977d3970d0f) Thanks [@marvinhagemeister](https://github.com/marvinhagemeister)! - Fix unable to set SVG attribute via Signal + +* [#161](https://github.com/preactjs/signals/pull/161) [`6ac6923`](https://github.com/preactjs/signals/commit/6ac6923e5294f8a31ee1a009550b9891c3996cb4) Thanks [@jviide](https://github.com/jviide)! - Remove all usages of `Set`, `Map` and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements. + +- [#171](https://github.com/preactjs/signals/pull/171) [`fcbb3f4`](https://github.com/preactjs/signals/commit/fcbb3f4b9077e201badec77b91f75c23623d1a9c) Thanks [@jviide](https://github.com/jviide)! - Reduce size of Preact adapter by replacing `WeakSet`s with bitmasks. + +- Updated dependencies [[`b4611cc`](https://github.com/preactjs/signals/commit/b4611cc9dee0ae09f4b378ba293c3203edc32be4), [`9802da5`](https://github.com/preactjs/signals/commit/9802da5274bb45c3cc28dda961b9b2d18535729a), [`6ac6923`](https://github.com/preactjs/signals/commit/6ac6923e5294f8a31ee1a009550b9891c3996cb4), [`79ff1e7`](https://github.com/preactjs/signals/commit/79ff1e794dde9952db2d6d43b22cebfb2accc770), [`3e31aab`](https://github.com/preactjs/signals/commit/3e31aabb812ddb0f7451deba38267f8384eff9d1)]: + - @preact/signals-core@1.2.0 + ## 1.0.4 ### Patch Changes diff --git a/packages/preact/package.json b/packages/preact/package.json index c175a9e73..816b678f1 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals", - "version": "1.0.4", + "version": "1.1.0", "license": "MIT", "description": "", "keywords": [], @@ -38,7 +38,7 @@ "prepublishOnly": "cd ../.. && pnpm build:preact" }, "dependencies": { - "@preact/signals-core": "workspace:^1.1.1" + "@preact/signals-core": "workspace:^1.2.0" }, "peerDependencies": { "preact": "10.x" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 615c775f4..f87eb9e5b 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,29 @@ # @preact/signals-react +## 1.1.0 + +### Minor Changes + +- [#91](https://github.com/preactjs/signals/pull/91) [`fb74bb9`](https://github.com/preactjs/signals/commit/fb74bb9ce4e44192e1ee7d3d041274cc985db767) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - add the `useSignalEffect` hook + +* [#183](https://github.com/preactjs/signals/pull/183) [`79ff1e7`](https://github.com/preactjs/signals/commit/79ff1e794dde9952db2d6d43b22cebfb2accc770) Thanks [@jviide](https://github.com/jviide)! - Add ability to run custom cleanup logic when an effect is disposed. + + ```js + effect(() => { + console.log("This runs whenever a dependency changes"); + return () => { + console.log("This runs when the effect is disposed"); + }); + }); + ``` + +### Patch Changes + +- [#161](https://github.com/preactjs/signals/pull/161) [`6ac6923`](https://github.com/preactjs/signals/commit/6ac6923e5294f8a31ee1a009550b9891c3996cb4) Thanks [@jviide](https://github.com/jviide)! - Remove all usages of `Set`, `Map` and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements. + +- Updated dependencies [[`b4611cc`](https://github.com/preactjs/signals/commit/b4611cc9dee0ae09f4b378ba293c3203edc32be4), [`9802da5`](https://github.com/preactjs/signals/commit/9802da5274bb45c3cc28dda961b9b2d18535729a), [`6ac6923`](https://github.com/preactjs/signals/commit/6ac6923e5294f8a31ee1a009550b9891c3996cb4), [`79ff1e7`](https://github.com/preactjs/signals/commit/79ff1e794dde9952db2d6d43b22cebfb2accc770), [`3e31aab`](https://github.com/preactjs/signals/commit/3e31aabb812ddb0f7451deba38267f8384eff9d1)]: + - @preact/signals-core@1.2.0 + ## 1.0.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 5b0c4b674..bae025f85 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-react", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "description": "", "keywords": [], @@ -38,7 +38,7 @@ "prepublishOnly": "cd ../.. && pnpm build:react" }, "dependencies": { - "@preact/signals-core": "workspace:^1.1.1" + "@preact/signals-core": "workspace:^1.2.0" }, "peerDependencies": { "react": "17.x || 18.x"