Skip to content

Releases: Omnistac/zedux

v1.2.2-rc.0

30 May 15:14
90b9c46
Compare
Choose a tag to compare
v1.2.2-rc.0 Pre-release
Pre-release

Fixes:

  • atoms, react: useAtomSelector - subscribe to the new selector before destroying the old (#101)

v1.2.1

14 May 21:20
e92dd7c
Compare
Choose a tag to compare

Fixes:

  • core: allow store-extending classes to have array state types (#96)
  • core: always notify effects subscribers when a hydration has metadata (#98)

v1.2.0

06 Feb 15:09
19f944b
Compare
Choose a tag to compare

Fixes:

  • react: improve types for AtomProvider (#92)

v1.2.0-rc.1

20 Nov 16:57
629cc01
Compare
Choose a tag to compare
v1.2.0-rc.1 Pre-release
Pre-release

Fixes:

  • react: handle unstable inline selector results in useAtomSelector (#88)

v1.2.0-rc.0

14 Nov 01:07
cb3ef9e
Compare
Choose a tag to compare
v1.2.0-rc.0 Pre-release
Pre-release

This release featured a near-full rewrite of the useAtomInstance and useAtomSelector hooks. They should be stable, but we're releasing a release candidate version first to verify

New Features:

  • atoms, react: remove uSES usages and support strict mode (#86)

v1.1.1

09 Sep 00:15
4ec0ab3
Compare
Choose a tag to compare

New Features:

  • atoms: give atom instances access to their real template type (#81)
  • atoms: make ecosystem.find() do a fuzzy search when no exact match (#79)

v1.1.0

01 Aug 01:12
940c7ac
Compare
Choose a tag to compare

Republish of v1.1.0-rc.0 with no additional changes since the release candidate looks good

New Features:

  • atoms: add runOnInvalidate option to injectPromise (#69)
  • atoms: deprecate injectInvalidate (prefer injectSelf) (#70)
  • core: micro-optimize iterating and removing store subscribers (#76)

Fixes:

  • atoms: make query atoms retain data (#68)
  • core: point core package's field to the correct file (#75)
  • react: fix multiple renderers cross-window React warning (#72)
  • atoms, immer, machines: prevent injectors from consuming hydrations (#71)

v1.1.0-rc.0

22 Jul 11:45
f5d3a45
Compare
Choose a tag to compare
v1.1.0-rc.0 Pre-release
Pre-release

New Features:

  • atoms: add runOnInvalidate option to injectPromise (#69)
  • atoms: deprecate injectInvalidate (prefer injectSelf) (#70)
  • core: micro-optimize iterating and removing store subscribers (#76)

Fixes:

  • atoms: make query atoms retain data (#68)
  • core: point core package's field to the correct file (#75)
  • react: fix multiple renderers cross-window React warning (#72)
  • atoms, immer, machines: prevent injectors from consuming hydrations (#71)

v1.0.3

23 Jun 21:22
0d49491
Compare
Choose a tag to compare

Fixes:

  • atoms: let the WeakMap clean up selector ref keys (#66)
  • atoms: make data retention consistent across injectPromise and api(promise) (#65)

v1.0.2

19 May 01:21
b957962
Compare
Choose a tag to compare

Zedux got a big speed boost! In practice, it won't matter much, but Zedux should now perform even better on stress tests and benchmarks. Enjoy!

New Features:

  • atoms: allow setting promise to undefined in AtomApi (#58)
  • atoms: improve graph perf by removing unnecessary Object.keys() calls (#52)
  • atoms: improve non-TS .getInstance() usage by throwing helpful errors (#59)
  • atoms, react: make atoms package fully framework agnostic (#51)

Fixes:

  • atoms: improve atom searching (#57)
  • atoms: make it easier for TS to infer AtomApi types from chained methods (#49)
  • react: make React imports specify file extensions in esm builds (#53)
  • react: update React peer dep to a minimum of v16.3.0 (#54)
  • atoms, react: improve overloads of atom-template-accepting functions for paramless atoms (#50)
  • atoms, core, immer, machines, react: fix package.json export order (#56)