Skip to content

Releases: pmndrs/valtio

v1.2.7

01 Dec 14:39
Compare
Choose a tag to compare

This should improve performance. 🚀

What's Changed

New Contributors

Full Changelog: v1.2.6...v1.2.7

v1.2.6

09 Nov 22:50
Compare
Choose a tag to compare

Improved devtools util.

What's Changed

Full Changelog: v1.2.5...v1.2.6

v1.2.5

18 Oct 12:18
Compare
Choose a tag to compare

Based on some feedbacks, this version includes some minor fixes.

What's Changed

  • fix(vanilla): console warn instead of throwing in DEV by @dai-shi in #249
  • feat(utils): jump state support in devtools by @Aslemammad in #257

Full Changelog: v1.2.4...v1.2.5

v.1.2.4

01 Oct 13:55
Compare
Choose a tag to compare

v1.2.3 accidentally requires newer node.js versions. v1.2.4 fixes it by reverting exports format.

  • #247 fix(package): avoid subpath pattern in exports

v1.2.3

18 Sep 11:57
Compare
Choose a tag to compare

⚠️ Minimum Node.js requirements (for server-side usage like Next.js): v14.13.0, v12.20.0

This improves devtools in valtio/utils.

  • #223 refactor: stricter tsconfig
  • #232 fix(utils): remove useless internal info in devtools
  • #236 chore(build): simplify exports and support nested subpath

v1.2.2

29 Aug 09:42
Compare
Choose a tag to compare

This fixes ESM exports for some environments. Some utils are also improved.

  • #215 fix(utils): fixing subscribeKey typing
  • #221 refactor(core): eliminate any with new useMutableSource emulation
  • #216 fix(build): use .mjs for import condition in exports
  • #227 fix(utils): Adds skipSubscribe option to proxyWithHistory

v1.2.1

13 Aug 09:20
Compare
Choose a tag to compare

As reported in #210, there was an issue with ESM build. This version fixes it by updating the dependency.

  • #211 fix: update proxy-compare

v1.2.0

10 Aug 10:43
Compare
Choose a tag to compare

We add a new util derive, and deprecate addComputed in favor of it.
In valtio, proxy objects are primitive subscription targets, and derive is a better-fitting abstraction for creating derived / computed values. derive is recommended for both React and Vanilla.

  • #208 refactor(core): useMutableSource emulation without symbol and any
  • #201 feat: derive util

v1.1.3

01 Aug 13:26
Compare
Choose a tag to compare

This fixes an issue to handle promises (a.k.a. Suspense) in snapshots.

  • #200 chore(utils): split into files
  • #202 fix: return value in snapshot promise getter after promise is resolved

v1.1.2

30 Jul 13:15
Compare
Choose a tag to compare

v1.1.1 has a regression with some bundlers, which is fixed in this version.

  • #197 fix(pkg-exports): .mjs to .js