Releases: pmndrs/valtio
Releases · pmndrs/valtio
v1.10.0
This version fixes an issue in edge cases. It also deprecates proxyWithComputed
in favor of bare object getters.
What's Changed
- fix(build): do not use rollup alias by @dai-shi in #629
- fix(build): improve patch scripts by @dai-shi in #649
- chore: remove
__DEV__
with ts-jest by @dai-shi in #643 - feat(utils): deprecate proxyWithComputed by @dai-shi in #650
- fix(vanilla): bail out with same object assignment by @dai-shi in #634
New Contributors
Full Changelog: v1.9.0...v1.10.0
v1.9.0
This deprecates useProxy
macro and adds new useProxy
util, which is a convenient React hook to avoid misusing proxy states and snapshots.
What's Changed
- feat(react/utils): Add useProxy() hook by @sarimarton in #626
- fix(vanilla): use case with refed proxies by @dai-shi in #624
- feat: reorganize entry points by @dai-shi in #627
Full Changelog: v1.8.2...v1.9.0
v1.8.2
This includes a small fix and a small improvement.
What's Changed
- fix(build): Clean up peer dependencies by @sarimarton in #614
- fix(deps): update proxy-compare by @dai-shi in #615
New Contributors
- @sarimarton made their first contribution in #614
Full Changelog: v1.8.0...v1.8.2
v1.8.0
v1.7.6
v1.7.5
v1.7.4
v1.7.3
This version includes some refactors. It should be safe to upgrade. Feel free to open issues/discussions if you find something.
What's Changed
- fix(vanilla, react): use experimental_use and some refactors by @dai-shi in #545
- fix(utils): Return accurate data at toJSON of proxySet/proxyMap by @chiefGui in #567
New Contributors
Full Changelog: v1.7.2...v1.7.3
v1.7.2
v1.7.1
This fixes some bugs in edge cases.
What's Changed
- fix(utils): revert subscribeKey impl to the original one (without ops) by @dai-shi in #554
- fix: subscribers should not be called after unsubscribe by @jluxenberg in #555
- refactor(types): rename internal types when importing by @dai-shi in #561
New Contributors
- @kidonng made their first contribution in #548
- @kalwabed made their first contribution in #550
- @jluxenberg made their first contribution in #555
Full Changelog: v1.7.0...v1.7.1