Releases: pmndrs/jotai
v2.17.0
v2.16.2
Fixes unwrap and loadable, resolving a regression introduced in v2.15.2.
What's Changed
New Contributors
- @dev-itsheng made their first contribution in #3206
Full Changelog: v2.16.1...v2.16.2
v2.16.1
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
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 tojotai-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
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
A minor but important fix in utils.
What's Changed
- fix(unwrap): recover from errors by @darrenclark in #3163
New Contributors
- @darrenclark made their first contribution in #3163
Full Changelog: v2.15.0...v2.15.1
v2.15.0
This is another change in the internal functions of the core, to help Jotai ecosystem libraries.
What's Changed
- feat(internals): External building blocks surface by @dmaskasky in #3149
- breaking: drop atom.unstable_is by @dai-shi in #3150
- add: read atom store hook and store hook tests by @dmaskasky in #3151
New Contributors
- @Antisunny made their first contribution in #3155
Full Changelog: v2.14.0...v2.15.0
v2.14.0
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
- @peterpme made their first contribution in #3132
- @01-binary made their first contribution in #3138
- @scamden made their first contribution in #3137
Full Changelog: v2.13.1...v2.14.0
v2.13.1
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
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
- @bytetigers made their first contribution in #3097
- @bytesingsong made their first contribution in #3098
- @eeemmmmmm made their first contribution in #3102
- @ikeyan made their first contribution in #3093
Full Changelog: v2.12.5...v2.13.0