Skip to content

Commit

Permalink
Version Packages (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 4, 2024
1 parent cd9efbb commit 8fab8fe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .changeset/seven-seahorses-cry.md

This file was deleted.

17 changes: 17 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @preact/signals-core

## 1.8.0

### Minor Changes

- [#587](https://github.com/preactjs/signals/pull/587) [`cd9efbb`](https://github.com/preactjs/signals/commit/cd9efbb411527e031001177f66ba90a445a04a23) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Adjust the `ReadOnlySignal` type to not inherit from `Signal`
this way the type can't be widened without noticing, i.e. when
we'd have

```js
const sig: Signal = useComputed(() => x);
```

We would have widened the type to be mutable again, which for
a computed is not allowed. We want to provide the tools to our
users to avoid these footguns hence we are correcting this type
in a minor version.

## 1.7.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.7.0",
"version": "1.8.0",
"license": "MIT",
"description": "Manage state with style in every framework",
"keywords": [],
Expand Down

0 comments on commit 8fab8fe

Please sign in to comment.