Skip to content

Commit

Permalink
Merge pull request #206 from preactjs/changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister authored Oct 1, 2022
2 parents 64455d9 + d7de34e commit ff7a9c9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 23 deletions.
5 changes: 0 additions & 5 deletions .changeset/cold-pandas-sing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-experts-cover.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-bulldogs-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-onions-deny.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@preact/signals-core",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"description": "",
"keywords": [],
Expand Down
9 changes: 9 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@preact/signals-react",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"description": "",
"keywords": [],
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ff7a9c9

Please sign in to comment.