Skip to content

Releases: pmndrs/valtio

v1.1.1

29 Jul 13:14
Compare
Choose a tag to compare

There were some issues in valtio/utils in v1.1.0, which is fixed in this version. It also improves ESM build to better work with various bundlers.

  • #193 fix(utils): Typescript declaration files for utils
  • #184 fix(build): Hybrid package change for ESM and CJS support
  • #195 fix(utils): proxyWithHistory to undo to initialValue

v1.1.0

24 Jul 23:23
Compare
Choose a tag to compare

This version adds a new feature in subscribe. The subscribe callback receives the changes made. This is for expert users who know how valtio behaves internally. There's no docs for the feature (TS types might help).

It has a new util proxyWithHistory based on the new feature. This is for ordinary users.

We encourage 3rd-party library authors to develop some utils based on this new feature.

  • #177 feat: subscribe ops
  • #181 feat: proxyWithHistory

v1.0.7

09 Jul 14:30
Compare
Choose a tag to compare

This added "import" export entries for modern bundlers. It might also fix potential bugs in useProxy macro.

  • #169 fix: allow exports type import

v1.0.6

05 Jun 01:03
Compare
Choose a tag to compare

This is a maintenance release. It doesn't add any new features or fixes.

  • chore: refactor vanilla.ts and react.ts #163

v1.0.5

15 May 15:43
Compare
Choose a tag to compare

Add a new util watch and update upstream library.

  • #157 Add watch to valtio/utils
  • #156 chore: update proxy-compare

v1.0.4

28 Apr 13:08
Compare
Choose a tag to compare

This adds two improvements.

[BREAKING CHANGE in types] Exported type NonPromise is renamed to DeepResolveType.

  • fix: snapshot typing for ref #146
  • feat: allow import of json to devtools #148

v1.0.3

06 Apr 15:59
Compare
Choose a tag to compare

This fixes the "exports" inconsistency issue in build (#140).

v1.0.2

05 Apr 11:41
Compare
Choose a tag to compare

This includes an ESM build fix (#139) and a DEV-only improvement in SSR/Deno (#134).

v1.0.1

01 Apr 14:35
Compare
Choose a tag to compare

This includes a bug fix and build tooling update.

  • #125 fixes a bug in addComputed. This changes the behavior from previous versions.
  • #129 improves build tooling with esbuild and concurrently.
  • #135 updates useMutableSource emulation implementation.

v1.0.0

21 Mar 13:17
Compare
Choose a tag to compare

🎉 Initial stable release! 🎉