From 9f31e7e45dddbc91b1c1ab9f12d675746d5220b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Dec 2024 09:10:59 +0000 Subject: [PATCH] Version Packages --- .changeset/angry-stingrays-tease.md | 6 ------ .changeset/empty-chefs-repeat.md | 5 ----- .changeset/great-geese-play.md | 5 ----- .changeset/ninety-beans-compare.md | 16 ---------------- .changeset/sweet-glasses-thank.md | 5 ----- packages/preact/CHANGELOG.md | 21 +++++++++++++++++++++ packages/preact/package.json | 2 +- packages/react-transform/CHANGELOG.md | 11 +++++++++++ packages/react-transform/package.json | 4 ++-- packages/react/CHANGELOG.md | 12 ++++++++++++ packages/react/package.json | 2 +- pnpm-lock.yaml | 2 +- 12 files changed, 49 insertions(+), 42 deletions(-) delete mode 100644 .changeset/angry-stingrays-tease.md delete mode 100644 .changeset/empty-chefs-repeat.md delete mode 100644 .changeset/great-geese-play.md delete mode 100644 .changeset/ninety-beans-compare.md delete mode 100644 .changeset/sweet-glasses-thank.md diff --git a/.changeset/angry-stingrays-tease.md b/.changeset/angry-stingrays-tease.md deleted file mode 100644 index 8b9bcda83..000000000 --- a/.changeset/angry-stingrays-tease.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@preact/signals-react-transform": minor -"@preact/signals-react": minor ---- - -Bump `peerDependency` on React to support 19.x diff --git a/.changeset/empty-chefs-repeat.md b/.changeset/empty-chefs-repeat.md deleted file mode 100644 index af78ac490..000000000 --- a/.changeset/empty-chefs-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals": minor ---- - -Align signal effects with animation-frames for better performance diff --git a/.changeset/great-geese-play.md b/.changeset/great-geese-play.md deleted file mode 100644 index 1ea9ae628..000000000 --- a/.changeset/great-geese-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-react": patch ---- - -Silences noisy warnings about `useLayoutEffect` whilst using SSR by switching to an isomorphic layout effect hook diff --git a/.changeset/ninety-beans-compare.md b/.changeset/ninety-beans-compare.md deleted file mode 100644 index f9322d8c6..000000000 --- a/.changeset/ninety-beans-compare.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@preact/signals": major ---- - -Defer all DOM updates by an animation frame, this should make it so -that any previously synchronous DOM update will be instead delayed by an -animation frame. This allows Preact to first perform its own render -cycle and then our direct DOM updates to occur. These will now -be performed in a batched way which is more performant as the browser -is prepared to handle these during the animation frame. - -This does impact how Preact based signals are tested, when -you perform a signal update, you'll need to wrap it in `act`. In a way -this was always the case, as a signal update that resulted in -a Preact state update would require it to be wrapped in `act`, but -now this is the norm. diff --git a/.changeset/sweet-glasses-thank.md b/.changeset/sweet-glasses-thank.md deleted file mode 100644 index c5d2dfa6b..000000000 --- a/.changeset/sweet-glasses-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact/signals-react": patch ---- - -Fix the stubbed ReactElementType to use the newly added traditional element in v19 diff --git a/packages/preact/CHANGELOG.md b/packages/preact/CHANGELOG.md index 55632a91f..52d3faf8e 100644 --- a/packages/preact/CHANGELOG.md +++ b/packages/preact/CHANGELOG.md @@ -1,5 +1,26 @@ # @preact/signals +## 2.0.0 + +### Major Changes + +- [#604](https://github.com/preactjs/signals/pull/604) [`fea3e8d`](https://github.com/preactjs/signals/commit/fea3e8da7a36944d87310678fad291aeacc55d8d) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Defer all DOM updates by an animation frame, this should make it so + that any previously synchronous DOM update will be instead delayed by an + animation frame. This allows Preact to first perform its own render + cycle and then our direct DOM updates to occur. These will now + be performed in a batched way which is more performant as the browser + is prepared to handle these during the animation frame. + + This does impact how Preact based signals are tested, when + you perform a signal update, you'll need to wrap it in `act`. In a way + this was always the case, as a signal update that resulted in + a Preact state update would require it to be wrapped in `act`, but + now this is the norm. + +### Minor Changes + +- [#595](https://github.com/preactjs/signals/pull/595) [`499428a`](https://github.com/preactjs/signals/commit/499428aa7e7db3e250b3c257debf054a6368c010) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Align signal effects with animation-frames for better performance + ## 1.3.0 ### Minor Changes diff --git a/packages/preact/package.json b/packages/preact/package.json index 0e692b0c2..2e215d434 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals", - "version": "1.3.0", + "version": "2.0.0", "license": "MIT", "description": "Manage state with style in Preact", "keywords": [], diff --git a/packages/react-transform/CHANGELOG.md b/packages/react-transform/CHANGELOG.md index 23a502be8..44cb6d2ed 100644 --- a/packages/react-transform/CHANGELOG.md +++ b/packages/react-transform/CHANGELOG.md @@ -1,5 +1,16 @@ # @preact/signals-react-transform +## 0.5.0 + +### Minor Changes + +- [#624](https://github.com/preactjs/signals/pull/624) [`18b2f29`](https://github.com/preactjs/signals/commit/18b2f299c6d6985644a6459c9e9bb1a5863f02ac) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Bump `peerDependency` on React to support 19.x + +### Patch Changes + +- Updated dependencies [[`18b2f29`](https://github.com/preactjs/signals/commit/18b2f299c6d6985644a6459c9e9bb1a5863f02ac), [`57a7d38`](https://github.com/preactjs/signals/commit/57a7d38fcd8a65721feb9038ad4b04cd1e86a0b1), [`18b2f29`](https://github.com/preactjs/signals/commit/18b2f299c6d6985644a6459c9e9bb1a5863f02ac)]: + - @preact/signals-react@2.3.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/react-transform/package.json b/packages/react-transform/package.json index 0a8281d75..d21365983 100644 --- a/packages/react-transform/package.json +++ b/packages/react-transform/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-react-transform", - "version": "0.4.0", + "version": "0.5.0", "license": "MIT", "description": "Manage state with style in React", "keywords": [ @@ -47,7 +47,7 @@ "dependencies": { "@babel/helper-module-imports": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@preact/signals-react": "workspace:^2.1.0", + "@preact/signals-react": "workspace:^2.3.0", "debug": "^4.3.4", "use-sync-external-store": "^1.2.0" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9d6f5c890..f343925d8 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,17 @@ # @preact/signals-react +## 2.3.0 + +### Minor Changes + +- [#624](https://github.com/preactjs/signals/pull/624) [`18b2f29`](https://github.com/preactjs/signals/commit/18b2f299c6d6985644a6459c9e9bb1a5863f02ac) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Bump `peerDependency` on React to support 19.x + +### Patch Changes + +- [#611](https://github.com/preactjs/signals/pull/611) [`57a7d38`](https://github.com/preactjs/signals/commit/57a7d38fcd8a65721feb9038ad4b04cd1e86a0b1) Thanks [@Xstoudi](https://github.com/Xstoudi)! - Silences noisy warnings about `useLayoutEffect` whilst using SSR by switching to an isomorphic layout effect hook + +- [#624](https://github.com/preactjs/signals/pull/624) [`18b2f29`](https://github.com/preactjs/signals/commit/18b2f299c6d6985644a6459c9e9bb1a5863f02ac) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Fix the stubbed ReactElementType to use the newly added traditional element in v19 + ## 2.2.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index fc2a73916..65bd12acf 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@preact/signals-react", - "version": "2.2.0", + "version": "2.3.0", "license": "MIT", "description": "Manage state with style in React", "keywords": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 35f10ade6..2751de752 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -265,7 +265,7 @@ importers: specifier: ^7.22.5 version: 7.22.5 '@preact/signals-react': - specifier: workspace:^2.1.0 + specifier: workspace:^2.3.0 version: link:../react debug: specifier: ^4.3.4