Skip to content

Releases: pmndrs/jotai

v2.17.0

28 Jan 02:06

Choose a tag to compare

This release deprecates some features, which will be dropped in v3.

What's Changed

Full Changelog: v2.16.2...v2.17.0

v2.16.2

13 Jan 12:39

Choose a tag to compare

Fixes unwrap and loadable, resolving a regression introduced in v2.15.2.

What's Changed

  • fix(utils): unwrap should not violate the store mutation rule by @dai-shi in #3213

New Contributors

Full Changelog: v2.16.1...v2.16.2

v2.16.1

26 Dec 03:22

Choose a tag to compare

This fixes an internal API issue that affects ecosystem libraries.

What's Changed

  • fix(internals): buildingblocks should not invoke buildingblock definitions from top-scope by @dmaskasky in #3197

Full Changelog: v2.16.0...v2.16.1

v2.16.0

09 Dec 13:01

Choose a tag to compare

This version deprecates atomFamily in jotai/utils in favor of jotai-family, and includes some internal changes.

What's Changed

  • fix(internals): Minor tweaks to store internals by @dmaskasky in #3186
  • feat(utils): deprecate atomFamily in jotai/utils (migrate to jotai-family) by @dmaskasky in #3187
  • fix(internals): only mounted dependents can be added to mounted.t by @dmaskasky in #3189
  • feat: rename to INTERNAL_onInit by @dai-shi in #3193

Full Changelog: v2.15.2...v2.16.0

v2.15.2

01 Dec 12:15

Choose a tag to compare

This release introduces some internal changes. In particular, it adds a warning when unsupported store mutations (side effects) are detected.

What's Changed

  • fix(internals): add dev-only warning for unsupported side effect by @dai-shi in #3179
  • refactor(utils): prefer onInit over setSelf by @dai-shi in #3172
  • fix(internals): add storeHooks.i to be called when atomState is created by @dmaskasky in #3181

Full Changelog: v2.15.1...v2.15.2

v2.15.1

01 Nov 06:30

Choose a tag to compare

A minor but important fix in utils.

What's Changed

New Contributors

Full Changelog: v2.15.0...v2.15.1

v2.15.0

25 Sep 15:29

Choose a tag to compare

This is another change in the internal functions of the core, to help Jotai ecosystem libraries.

What's Changed

New Contributors

Full Changelog: v2.14.0...v2.15.0

v2.14.0

08 Sep 05:42

Choose a tag to compare

This version changes the internal functions of the core. Libraries that depend on them, such as jotai-devtools, need to be updated correspondingly.

What's Changed

  • refactor: buildingBlocks to storeState by @dmaskasky in #3105
  • allow atom with default update function to return reset and add tests by @scamden in #3137

New Contributors

Full Changelog: v2.13.1...v2.14.0

v2.13.1

11 Aug 03:16

Choose a tag to compare

This version fixes some types in utils.

What's Changed

  • fix: useHydrateAtoms tuple types support looser definitions by @dmaskasky in #3117
  • fix(utils/atomWithObservable): avoid external symbol type by @dai-shi in #3122

Full Changelog: v2.13.0...v2.13.1

v2.13.0

04 Aug 13:59

Choose a tag to compare

This removes the deprecated devstore. Be sure to use the latest jotai-devtools.

What's Changed

  • Make @babel/{core,template} optional peer dependencies by @ikeyan in #3093
  • breaking: drop deprecated devstore by @dai-shi in #3095
  • fix(utils): support multiple args for useHydrateAtoms by @dmaskasky in #3100

New Contributors

Full Changelog: v2.12.5...v2.13.0