# deepsignal

## 1.6.0

### Minor Changes

- [#71](https://github.com/luisherranz/deepsignal/pull/71) [`65c56d4`](https://github.com/luisherranz/deepsignal/commit/65c56d43e37ddec3dff9525d0567217de47c2b25) Thanks [@luisherranz](https://github.com/luisherranz)! - Update deps for preact signals v2 and react-signals v3.

## 1.5.0

### Minor Changes

- [#38](https://github.com/luisherranz/deepsignal/pull/38) [`18a098e`](https://github.com/luisherranz/deepsignal/commit/18a098e6671061ef5830fc89f6dee364f414573d) Thanks [@luisherranz](https://github.com/luisherranz)! - Support storing shallow objects as part of the deepsignal with `shallow`.

### Patch Changes

- [#46](https://github.com/luisherranz/deepsignal/pull/46) [`eb498f5`](https://github.com/luisherranz/deepsignal/commit/eb498f5be0dc1343a10dfe98b4558706702f2caa) Thanks [@luisherranz](https://github.com/luisherranz)! - Reject class instances and everything that is not strictly plain objects or arrays.

## 1.4.0

### Minor Changes

- [#62](https://github.com/luisherranz/deepsignal/pull/62) [`beee51e`](https://github.com/luisherranz/deepsignal/commit/beee51e38c56ff94ccb6b3b14583a34f629a006a) Thanks [@luisherranz](https://github.com/luisherranz)! - Add support for setters.

* [#59](https://github.com/luisherranz/deepsignal/pull/59) [`9b0ebbb`](https://github.com/luisherranz/deepsignal/commit/9b0ebbba3707f4170596671e97975c15e1b7650c) Thanks [@luisherranz](https://github.com/luisherranz)! - Add support for @preact/signals-react 2.0.0

## 1.3.6

### Patch Changes

- [#42](https://github.com/luisherranz/deepsignal/pull/42) [`79db35b`](https://github.com/luisherranz/deepsignal/commit/79db35bebe4002c5d4e4ad77156b9ba609e14633) Thanks [@luisherranz](https://github.com/luisherranz)! - Add `preact` as peer dependency back and mark them as optional.

## 1.3.5

### Patch Changes

- [#40](https://github.com/luisherranz/deepsignal/pull/40) [`6284cd6`](https://github.com/luisherranz/deepsignal/commit/6284cd6db785a4ec48a6e2987fd6ea745cc36bdd) Thanks [@luisherranz](https://github.com/luisherranz)! - Use `@preact/signals` dependencies as peer dependencies.

## 1.3.4

### Patch Changes

- [`a846d10`](https://github.com/luisherranz/deepsignal/commit/a846d10ae776d3d77ffc8c4d28b63eafa1662b1b) Thanks [@luisherranz](https://github.com/luisherranz)! - Avoid side-effects on the `ownKeys` trap.

## 1.3.3

### Patch Changes

- [#28](https://github.com/luisherranz/deepsignal/pull/28) [`cf226ba`](https://github.com/luisherranz/deepsignal/commit/cf226ba88fe92df89c93540e017926784a58de30) Thanks [@luisherranz](https://github.com/luisherranz)! - Fix production tests and a couple of problems in production with `peek` and the `ownKeys` trap.

## 1.3.2

### Patch Changes

- [#26](https://github.com/luisherranz/deepsignal/pull/26) [`afeacef`](https://github.com/luisherranz/deepsignal/commit/afeacef1f1f1cf6f2f936f20faee38a225aeb2ff) Thanks [@luisherranz](https://github.com/luisherranz)! - Add support for the `ownKeys` trap, which is used with `for..in`, `getOwnPropertyNames` or `Object.keys/values/entries`.

## 1.3.1

### Patch Changes

- [#20](https://github.com/luisherranz/deepsignal/pull/20) [`a945b8a`](https://github.com/luisherranz/deepsignal/commit/a945b8a564502d9ec757024b9d7615734f55e91c) Thanks [@luisherranz](https://github.com/luisherranz)! - Don't proxy existing proxies to make sure that copying refs (objects) works exactly like in plain JavaScript objects.

* [#23](https://github.com/luisherranz/deepsignal/pull/23) [`2285925`](https://github.com/luisherranz/deepsignal/commit/2285925fa3d864650c8d220482806b8ca1922aaf) Thanks [@luisherranz](https://github.com/luisherranz)! - Add support for deleting object properties, like `delete store.a`.

## 1.3.0

### Minor Changes

- [#11](https://github.com/luisherranz/deepsignal/pull/11) [`e562f1d`](https://github.com/luisherranz/deepsignal/commit/e562f1d4e22e1885eb9e5055a05c6abde600616e) Thanks [@luisherranz](https://github.com/luisherranz)! - Add official support for React with the `deepsignal/react` entry point.

## 1.2.1

### Patch Changes

- [#14](https://github.com/luisherranz/deepsignal/pull/14) [`702506b`](https://github.com/luisherranz/deepsignal/commit/702506b98bf8fccabba567382f60a59b31d66f54) Thanks [@luisherranz](https://github.com/luisherranz)! - Fix wrong artifacts being generated on signal assignments. _Bug spotted by @DAreRodz._

## 1.2.0

### Minor Changes

- [#12](https://github.com/luisherranz/deepsignal/pull/12) [`f2c5d5b`](https://github.com/luisherranz/deepsignal/commit/f2c5d5b29a6674cf77f1b4da2a404c3c86a5ebe8) Thanks [@DAreRodz](https://github.com/DAreRodz)! - Allow replacing signals with a new signal instance, e.g., `state.$prop = signal(1)`.

## 1.1.3

### Patch Changes

- [#9](https://github.com/luisherranz/deepsignal/pull/9) [`364c169`](https://github.com/luisherranz/deepsignal/commit/364c1696c759442b4360bbbc6bbe921d6ff66ef5) Thanks [@luisherranz](https://github.com/luisherranz)! - Fix `deepsignal/core` exports.

## 1.1.2

### Patch Changes

- [#6](https://github.com/luisherranz/deepsignal/pull/6) [`cd8c4a2`](https://github.com/luisherranz/deepsignal/commit/cd8c4a2717efe30305bfaf13305e193c93d85e1c) Thanks [@luisherranz](https://github.com/luisherranz)! - Support regular functions inside the deep signal.

## 1.1.1

### Patch Changes

- [#3](https://github.com/luisherranz/deepsignal/pull/3) [`2044911`](https://github.com/luisherranz/deepsignal/commit/20449118e631e5b3129f1ae1ba1b81eb0fcf78d0) Thanks [@luisherranz](https://github.com/luisherranz)! - TypeScript: add types for the array methods (map, filter, etc).

## 1.1.0

### Minor Changes

- [#1](https://github.com/luisherranz/deepsignal/pull/1) [`4efbf1c`](https://github.com/luisherranz/deepsignal/commit/4efbf1ccc3b089e6a6722de1e58b28e91d540517) Thanks [@luisherranz](https://github.com/luisherranz)! - Switch from `state.$prop` to `peek(state, "prop")`.

## 1.0.0

### Major Changes

- [#1](https://github.com/luisherranz/deepsignal/pull/1) [`b09a3f3`](https://github.com/luisherranz/deepsignal/commit/b09a3f3c911da103ef3179e6d5509035e3e3909b) Thanks [@luisherranz](https://github.com/luisherranz)! - Initial version.
