Releases: pmndrs/jotai
v1.6.5
This reverts #1089 which was introduced in v1.6.3, which can behave buggy in some cases.
What's Changed
- fix(core): resolve infinite loop with loadable of derived async atom in some cases by @riemonyamada in #1118
New Contributors
Full Changelog: v1.6.4...v1.6.5
v1.6.4
This release contains several small improvements in non-core functions. Some of changes introduce deprecation of simple form, which will be warned.
What's Changed
- feat(devtools): enabled option in useAtomDevtools by @Aslemammad in #1095
- feat(devtools): enabled option useAtomsDevtools by @Aslemammad in #1076
- feat(utils): splitAtom actions for remove/insert/move by @dai-shi in #1097
- fix(core,utils): improve awaited types and waitForAll type by @dai-shi in #1098
- fix(utils): make useAtomCallback return sync if possible by @dai-shi in #1101
Full Changelog: v1.6.3...v1.6.4
v1.6.3
There was a regression in atomWithStorage
in v1.6.2, and it's fixed.
What's Changed
- fix(utils): undefined bug with no entry in storage by @dai-shi in #1088
- fix(core): handle returning infinite promise in derived atoms by @dai-shi in #1089
Full Changelog: v1.6.2...v1.6.3
v1.6.2
This improves atomWithObservable
and fixes some hypothetical issues.
What's Changed
- fix(utils/atomWithStorage): handle edge case of value inconsistency with subscription by @dai-shi in #1080
- fix(core,urql): useDebugState and some envvar handling by @dai-shi in #1070
- fix(utils): Initial data for atomWithObservable by @11bit in #1058
New Contributors
- @astridlyre made their first contribution in #1066
- @dakshkhetan made their first contribution in #1075
Full Changelog: v1.6.1...v1.6.2
v1.6.1
This includes some small fixes and improvements.
What's Changed
- fix(utils):
atomWithObservable
is not resubscribed after remount by @11bit in #1016 - fix(devtools): better types with official devtools extension types by @Aslemammad in #1049
- fix(devtools): Add support for debugLabels for atom utils by @Thisen in #1051
New Contributors
- @rileyjshaw made their first contribution in #1011
- @11bit made their first contribution in #1016
Full Changelog: v1.6.0...v1.6.1
v1.6.0
This release includes a long-awaited feature unstable_createStore
. Although it's an experimental feature, it opens up possibilities for more use cases. Please feel free to experiment with it. Another change is to have useAtomValue
and useSetAtom
in core, which is just additional APIs, and we keep previous APIs in jotai/utils
. UMD/SystemJS bundles are improved. See details below.
What's Changed
- breaking(core,utils): remove some deprecated features by @dai-shi in #979
- feat(build): use
__DEV__
to control development mode by @dai-shi in #968 - feat(core): unstable_createStore by @dai-shi in #922
- feat(utils/atomWithStorage): Add subscribe to storage events in defaultStorage by @Thisen in #1004
- feat(core): Move useAtomValue and useSetAtom to core by @Thisen in #989
New Contributors
- @nabigraphics made their first contribution in #985
- @tim-smart made their first contribution in #986
- @ankitchouhan1020 made their first contribution in #991
- @justinhandley made their first contribution in #980
- @elliotwaite made their first contribution in #1001
Full Changelog: v1.5.3...v1.6.0
v1.5.3
This includes several fixes in core. Some of them have been existed for a long time, and can only be revealed in some edge cases. Hope the fixes are fine but if there are some issues found, please report them.
What's Changed
- fix(core): handle some edge cases with flushPending loop by @dai-shi in #970
- chore(devtools): correct error message in useAtomsDevtools by @dai-shi in #976
- fix(core): handle an edge case of changing dependencies without changing atom value by @xbaun in #960
- fix(core): handle edge cases, not to mount dependency atoms if the atom is not mounted by @xbaun in #961
New Contributors
Full Changelog: v1.5.2...v1.5.3
v1.5.2
v1.5.1 has an issue accidentally in non-browser environment like Next.js and React Native. This should fix it.
What's Changed
- fix(utils): atomWithStorage should deal with no localStorage by @dai-shi in #951
- fix(babel): Require that atom is in module scope for react refresh by @Thisen in #952
Full Changelog: v1.5.1...v1.5.2
v1.5.1
This fixes some issues in splitAtom
and atomWithStorage
in jotai/utils
. Also, adds UMD and SystemJS builds for CDN.
What's Changed
- fix(utils): big refactor on splitAtom to handle stale atoms (no more warning, throwing only if unrecoverable) by @Aslemammad in #925
- fix(utils): support RESET for atomWithStorage and atomWithHash by @dai-shi in #934
- fix(build): Generate umd and system files by @romulo94 in #941
New Contributors
- @justjake made their first contribution in #919
- @Awilum made their first contribution in #924
- @romulo94 made their first contribution in #941
Full Changelog: v1.5.0...v1.5.1
v1.5.0
This version drops some deprecated types, adds a new useAtomsDevtools
hook for better debugging experience with Redux DevTools Extension, and introduces an experimental (not for production) mode for React 18.
What's Changed
- breaking(types): remove deprecated types by @dai-shi in #884
- feat(core): experimental unstable versioned write for limited use case by @dai-shi in #854
- feat(devtools): useAtomsDevtools by @Aslemammad in #837
New Contributors
Full Changelog: v1.4.9...v1.5.0