Jotai v2.11.0 was a big change, and we faced some fundamental issues. It required time to reconsider the architecture from the ground up. We've added various tests, and this patch version should be more stable.
Having that said, we are still in the middle of the re-architecture. If you prefer to stay away from bleeding-edge features and encounter no bugs, feel free to keep using the previous versions.
Kudos to @dmaskasky
What's Changed
- feat(core): add atom hooks for atom mount, unmount and improve dev store by @dmaskasky in #2895
- refactor(core): more readability for addBatchFunc by @dmaskasky in #2898
- feat(core): introduce atom.unstable_onInit hook by @dmaskasky in #2905
- name devStore functions by @dmaskasky in #2910
- refactor(core): replace batch dependents map with batched changed atoms by @dmaskasky in #2912
- refactor: following up #2912 by @dai-shi in #2915
- refactor: eliminate batch by @dai-shi in #2925
- fix: derived atom is not recomputed after its dependencies changed #2906 by @dmaskasky in #2907
- refactor(store): Replace runWithTransactions to flushCallbacks by @dmaskasky in #2946
- refactor(store): avoid transaction by @dai-shi in #2950
- fix: should update dependents with the value of the unwrapped atom when the promise resolves by @dmaskasky in #2936
New Contributors
- @kyday made their first contribution in #2927
- @Zercerium made their first contribution in #2929
- @disjukr made their first contribution in #2937
Full Changelog: v2.11.0...v2.11.1