Skip to content

Commit

Permalink
Version Packages (#603)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 17, 2024
1 parent c3e8e8c commit 9022d4a
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 55 deletions.
6 changes: 0 additions & 6 deletions .changeset/angry-stingrays-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/empty-chefs-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-geese-play.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/ninety-beans-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-glasses-thank.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/thirty-lies-destroy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-rivers-fly.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/preact/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @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

### Patch Changes

- [#609](https://github.com/preactjs/signals/pull/609) [`8e6e2de`](https://github.com/preactjs/signals/commit/8e6e2de5a2af27832ea139a7b76fc63ae56cc1f1) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Change timing to a double microtask so we are behind the Preact render queue but can't delay as much as a user-input coming in.

## 1.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/preact/package.json
Original file line number Diff line number Diff line change
@@ -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": [],
Expand Down
15 changes: 15 additions & 0 deletions packages/react-transform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @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

- [#628](https://github.com/preactjs/signals/pull/628) [`c3e8e8c`](https://github.com/preactjs/signals/commit/c3e8e8c215881b82e491e84575a2b464fa4cfadc) Thanks [@Artur-](https://github.com/Artur-)! - Avoid cloning the top-level component function when we are
prepending `useSignals`. This fixes compatability with fast-refresh
as it requires the function identity to correctly leverage its
cache.
- 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
Expand Down
4 changes: 2 additions & 2 deletions packages/react-transform/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -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"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9022d4a

Please sign in to comment.