Skip to content

Releases: pmndrs/valtio

v2.2.0

03 Nov 02:46

Choose a tag to compare

This release contains some refactors. While it should work in most cases, we have a slight concern that it may behave a little differently in very edge cases. Feel free to report if you encounter such cases.

What's Changed

Full Changelog: v2.1.8...v2.2.0

v2.1.8

25 Sep 14:25

Choose a tag to compare

This reverts one of the changes in v2.1.4.

⚠️ If you rely on the #1074 behavior of deepClone. This change is breaking. The migration path is to use unstable_deepProxy instead.

What's Changed

New Contributors

Full Changelog: v2.1.7...v2.1.8

v2.1.7

16 Aug 16:03

Choose a tag to compare

v2.1.6 has a regression in performance. This version fixes it.

What's Changed

Full Changelog: v2.1.6...v2.1.7

v2.1.6

16 Aug 08:39

Choose a tag to compare

This fixes a fundamental bug related with snapshot().

What's Changed

  • fix(vanilla): snapshot should change with subscription after deleting nested props by @pilaoda in #1153

New Contributors

Full Changelog: v2.1.5...v2.1.6

v2.1.5

09 May 13:52

Choose a tag to compare

This fixes module resolution issue for React Native users.

What's Changed

  • ci(.github/workflows): add 'test.yml' and* fix(package): react-native condition by @dai-shi in #1085

Full Changelog: v2.1.4...v2.1.5

v2.1.4

18 Mar 00:50

Choose a tag to compare

A small fix in utils.

What's Changed

  • refactor(vanilla): change all exported functions to 'function declarations' by @sukvvon in #1061
  • fix(utils): updated deepClone to handle proxyMap and proxySet by @overthemike in #1074

New Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3

26 Jan 14:34

Choose a tag to compare

This version includes a fix in the proxySet util.

What's Changed

  • fix(proxySet): fix .symmetricDifference,.isDisjointFrom; add .difference by @magicdawn in #1040

New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2

05 Nov 11:38

Choose a tag to compare

There was some issues in v2.1.0 and v2.1.1, which are fixed.

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

28 Oct 07:41

Choose a tag to compare

This fixes a bug in proxyMap and proxySet implementations introduced in v2.1.0.

What's Changed

  • fixed issue with .has() when new value is added and then deleted or c… by @overthemike in #981

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

16 Oct 14:23

Choose a tag to compare

We've improved the performance of proxyMap and proxySet. Kudos to @overthemike and @fkhadra !

What's Changed

  • fix(vanilla): createSnapshotDefault by @dai-shi in #967
  • fix(vanilla): createSnapshot by @dai-shi in #970
  • chore(vanilla): mark op unstable and internal by @dai-shi in #973
  • New implementation of proxyMap and proxySet with performance improvements by @overthemike in #965

New Contributors

Full Changelog: v2.0.0...v2.1.0