Releases: pmndrs/valtio
Releases · pmndrs/valtio
v1.10.3
v1.10.1 had a regression in some edge cases, which is fixed in this version.
What's Changed
- fix(vanilla): Improve Snapshot type so that it respects builtin objects by @octet-stream in #672
- fix(vanilla): proxy can be created from snapshot by @dai-shi in #673
- fix(build): possibly improve ESM for production build by @dai-shi in #674
New Contributors
- @nohr made their first contribution in #680
- @octet-stream made their first contribution in #672
Full Changelog: v1.10.2...v1.10.3
v1.10.2
v1.10.1
This version contains some small fixes and internal improvements.
What's Changed
- refactor(vanilla): simplify handling object descriptor by @dai-shi in #654
- fix(build): reorder the types field in package.json by @HiChen404 in #655
- fix(vanilla): improve snapshot creation ignoring object setters in prototype by @dai-shi in #656
New Contributors
- @HiChen404 made their first contribution in #655
Full Changelog: v1.10.0...v1.10.1
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