Skip to content

Releases: pmndrs/valtio

v1.10.3

25 Feb 00:38
Compare
Choose a tag to compare

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

Full Changelog: v1.10.2...v1.10.3

v1.10.2

14 Feb 03:36
Compare
Choose a tag to compare

v1.10.1 has a performance issue in some cases. This should fix it.

What's Changed

  • fix(vanilla): improve performance with configurable property on snapshot by @dai-shi in #664
  • fix(build): UMD names by @dai-shi in #667

Full Changelog: v1.10.1...v1.10.2

v1.10.1

07 Feb 15:03
Compare
Choose a tag to compare

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

Full Changelog: v1.10.0...v1.10.1

v1.10.0

04 Feb 06:51
Compare
Choose a tag to compare

This version fixes an issue in edge cases. It also deprecates proxyWithComputed in favor of bare object getters.

What's Changed

New Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0

15 Jan 07:27
Compare
Choose a tag to compare

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

Full Changelog: v1.8.2...v1.9.0

v1.8.2

05 Jan 11:39
Compare
Choose a tag to compare

This includes a small fix and a small improvement.

What's Changed

New Contributors

Full Changelog: v1.8.0...v1.8.2

v1.8.0

27 Dec 12:38
Compare
Choose a tag to compare

This version adds no new features, but the internal code is changed a lot. Thus, minor bump.

What's Changed

  • fix(vanilla): memory leaks with child proxies by @dai-shi in #599
  • refactor(vanilla): proxy state map instead of symbol by @dai-shi in #611

Full Changelog: v1.7.6...v1.8.0

v1.7.6

18 Nov 02:46
Compare
Choose a tag to compare

There was a small regression in types since v1.7.3, which is fixed.

What's Changed

Full Changelog: v1.7.5...v1.7.6

v1.7.5

29 Oct 15:08
Compare
Choose a tag to compare

There are some improvements related with ESM.

What's Changed

  • fix(build): use *.d.mts for esm ('import' condition only) by @dai-shi in #581
  • fix(build): no import.meta for "module" condition by @dai-shi in #582

Full Changelog: v1.7.4...v1.7.5

v1.7.4

15 Oct 11:20
Compare
Choose a tag to compare

There was an issue in v1.7.3 with ESM, like in Next.js. This version fixes it.

What's Changed

  • fix(react): a workaround for missing named exports by @dai-shi in #573

Full Changelog: v1.7.3...v1.7.4