Releases: pmndrs/valtio
v2.3.1
Reverted the useSnapshot change in v2.2.0 which seems to cause a problem in an edge case.
What's Changed
New Contributors
- @pooya-badiee made their first contribution in #1193
- @ScreamZ made their first contribution in #1201
- @pavan-sh made their first contribution in #1202
Full Changelog: v2.3.0...v2.3.1
v2.3.0
Improves performance by disabling an optional feature by default (now opt-in).
Migration Guide
To keep the previous behavior, you need to opt in the feature as follows:
import { unstable_enableOp } from 'valtio/vanilla';
unstable_enableOp(true);What's Changed
- feat(vanilla): make ops callback opt-in with unstable_enableOp by @dai-shi in #1189
- deprecate watch and derive by @dai-shi in #1190
New Contributors
- @joshua-tj made their first contribution in #1182
Full Changelog: v2.2.0...v2.3.0
v2.2.0
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
- refactor(utils): changes to proxySet for new typescript impl by @overthemike in #1175
- refactor(react): avoid eslint exception by @dai-shi in #1176
Full Changelog: v2.1.8...v2.2.0
v2.1.8
This reverts one of the changes in v2.1.4.
unstable_deepProxy instead.
What's Changed
- changed deepClone back to original and added deepProxy by @overthemike in #1169
New Contributors
- @01-binary made their first contribution in #1164
Full Changelog: v2.1.7...v2.1.8
v2.1.7
v2.1.6
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
v2.1.4
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
- @ferreira-tb made their first contribution in #1050
Full Changelog: v2.1.3...v2.1.4
v2.1.3
This version includes a fix in the proxySet util.
What's Changed
- fix(proxySet): fix
.symmetricDifference,.isDisjointFrom; add.differenceby @magicdawn in #1040
New Contributors
- @sukvvon made their first contribution in #1006
- @leweyse made their first contribution in #1021
- @dmaskasky made their first contribution in #1029
- @magicdawn made their first contribution in #1040
Full Changelog: v2.1.2...v2.1.3
v2.1.2
There was some issues in v2.1.0 and v2.1.1, which are fixed.
What's Changed
- fix(vanilla): revert #970 by @dai-shi in #986
- Fixed iterator reactivity in proxyMap and proxySet by @overthemike in #988
Full Changelog: v2.1.1...v2.1.2