Skip to content

Releases: pmndrs/jotai

v2.14.0

08 Sep 05:42
Compare
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
Compare
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
Compare
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

v2.12.5

27 May 07:19
Compare
Choose a tag to compare

An improvement for some edge cases.

What's Changed

New Contributors

Full Changelog: v2.12.4...v2.12.5

v2.12.4

06 May 12:42
Compare
Choose a tag to compare

We deprecate devstore capability, which will be dropped in the next minor version. Please use the latest jotai-devtools library.

What's Changed

New Contributors

Full Changelog: v2.12.3...v2.12.4

v2.12.3

14 Apr 00:04
Compare
Choose a tag to compare

This introduces an internal capability for jotai-devtools.

What's Changed

  • fix: expose an internal function for devtools by @dai-shi in #3045
  • fix(react): experimental option to make attaching promise status controllable by @dai-shi in #3026

New Contributors

Full Changelog: v2.12.2...v2.12.3

v2.12.2

10 Mar 15:08
Compare
Choose a tag to compare

It includes some refactors and some minor fixes.

What's Changed

  • refactor(vanilla, react): change exported functions to 'function declarations' and non-exported ones to 'arrow functions' by @sukvvon in #3002
  • fix(core): improve error handling with multiple errors in flashCallbacks by @nightohl in #3011
  • fix(utils): atomWithObservable option for React 19 behavior by @dai-shi in #3016
  • fix(utils): Fix deepFreeze fails for boolean, number, string by @devuxer in #3018
  • refactor(core): avoid onCancel hack by @dai-shi in #3019

New Contributors

Full Changelog: v2.12.1...v2.12.2

v2.12.1

17 Feb 12:36
Compare
Choose a tag to compare

This fixes an internal behavior necessary for some Jotai ecosystem libraries.

What's Changed

  • fix(core): Remove extra onChange store hook in recomputeInvalidatedDependents by @dmaskasky in #2982

Full Changelog: v2.12.0...v2.12.1

v2.12.0

11 Feb 05:48
Compare
Choose a tag to compare

This introduces a significant change in the history of Jotai development. The Jotai core aims to remain minimal while supporting the growth of the ecosystem. It now exposes some internal functions for the ecosystem.

For library authors, please make sure to pin the jotai package version if you rely on these internal functions.

Huge thanks to @dmaskasky for helping finalize the API.

What's Changed

  • feat(core): expose internals instead of unstable_derive by @dai-shi in #2911

Full Changelog: v2.11.3...v2.12.0

v2.11.3

01 Feb 02:39
Compare
Choose a tag to compare

Unfortunately, we encountered another regression with the v2.11 rearchitecture. We hope there are no more issues, but we can't be sure if it's stable unless no more are reported. Please give it a try and let us know if you find anything!

What's Changed

  • fix(store): recompute dependents on eager evaluation in writeAtomState by @dmaskasky in #2965

Full Changelog: v2.11.2...v2.11.3