Skip to content

Releases: pmndrs/valtio

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

v1.7.3

15 Oct 01:32
Compare
Choose a tag to compare

⚠️ Please use v1.7.4 instead.


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

09 Oct 09:59
Compare
Choose a tag to compare

This fixes a type issue in v1.7.1. It also improves old ts version support.

What's Changed

  • fix(type): proxyWithHistory by @dai-shi in #565
  • fix(build): test with old typescript versions and fix for old ts versions by @dai-shi in #564

Full Changelog: v1.7.1...v1.7.2

v1.7.1

07 Oct 11:39
Compare
Choose a tag to compare

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

Full Changelog: v1.7.0...v1.7.1