Releases: pmndrs/jotai
v2.10.1
This fixes a bug in an extreme edge case. If you find this change breaks something, please report to us.
What's Changed
New Contributors
- @vangie made their first contribution in #2753
- @ts1994tw made their first contribution in #2759
- @KagamiChan made their first contribution in #2761
- @nguyenbry made their first contribution in #2762
- @jaycho46 made their first contribution in #2766
- @midzdotdev made their first contribution in #2767
Full Changelog: v2.10.0...v2.10.1
v2.10.0
It comes with another significant internal change to address some edge cases.
Since v2.9.0, we've been working on some internal refactors to support more edge cases and clean up the code.
Users are encouraged to update to the new versions eventually, but if you're satisfied with the current situation and prefer to avoid temporary instability, you can stick with v2.8.4 for now.
What's Changed
New Contributors
- @sphinxrave made their first contribution in #2653
- @mxthxngx made their first contribution in #2712
- @hoangvu12 made their first contribution in #2716
- @YuHyeonWook made their first contribution in #2734
Full Changelog: v2.9.3...v2.10.0
v2.9.3
This fixes a regression in an edge case that is introduced in v2.6.4.
What's Changed
- fix(store): derived atom not updating when its value changes if another atom is read it conditionally by @yuneco in #2700
- experimental(core): expose unstable_derive by @dai-shi in #2652
New Contributors
Full Changelog: v2.9.2...v2.9.3
v2.9.2
A small improvement in atomFamily for edge use cases.
What's Changed
- feat(utils): atomFamily supports getParams and unstable_listen api by @dmaskasky in #2685
New Contributors
- @junkboy0315 made their first contribution in #2694
Full Changelog: v2.9.1...v2.9.2
v2.9.1
This patch version includes various fixes. Huge thanks to contributors!
What's Changed
- refactor(core): follow naming convention by @dai-shi in #2662
- refactor(core): store with Object.assign by @dai-shi in #2663
- fix(core): atom toString includes debugLabel in dev mode by @dmaskasky in #2659
- fix(core): Unmount an atom that is no longer dependent within a derived atom by @nogaten in #2660
- fix(types): add undefined initial value to Atom definition by @rtritto in #2668
New Contributors
Full Changelog: v2.9.0...v2.9.1
v2.9.0
This version introduces a new core implementation. All tests are passing but there can be some regressions due to missing tests. Please feel free to report such cases and let's improve test coverage.
The benefit with the new implementation:
- Fix memory leak issue with vanilla store usage.
- More readability of the core code.
What's Changed
Full Changelog: v2.8.4...v2.9.0
v2.8.4
This changes the behavior of async atom with abort signal on unmount to fix some use cases.
What's Changed
- fix: do not abort atoms on unmount by @Pinpickle in #2627
New Contributors
- @tcpdumppy made their first contribution in #2602
- @GregorGabric made their first contribution in #2605
- @ideabrian made their first contribution in #2614
Full Changelog: v2.8.3...v2.8.4
v2.8.3
The improvement for atomWithStorage in v2.8.2 contained a bug, which is fixed in this version.
What's Changed
- fix(utils): subscribe method of createJSONStorage should only run in the client by @mhsattarian in #2585
- feat(store2): add dev4_get_mounted_atoms by @arjunvegda in #2594
New Contributors
- @leo-diehl made their first contribution in #2590
Full Changelog: v2.8.2...v2.8.3
v2.8.2
This fixes another edge case and improves utils for more flexibility.
What's Changed
- fix(store2): "stuck" derived atoms where some derivations may never resolve by @backbone87 in #2448
- feat(utils): allow providing a subscribe method to createJSONStorage util by @mhsattarian in #2539
- fix(vanilla): fix store.ts for an edge case by @dai-shi in #2567
New Contributors
- @mhsattarian made their first contribution in #2539
Full Changelog: v2.8.1...v2.8.2
v2.8.1
This fixes a regression in v2.6.4 and a regression in v2.7.0.
What's Changed
- feat: add back dev4_restore_atoms to store v2 by @arjunvegda in #2509
- fix(core): update atom value with conditional dependencies (regression with #2363) by @probeiuscorp in #2534
- fix(store): properly update atom values with edge-case dependency by @dai-shi in #2555
New Contributors
- @lazybean made their first contribution in #2492
- @linjiajian999 made their first contribution in #2496
- @do7be made their first contribution in #2505
- @faizanu94 made their first contribution in #2507
- @ouweiya made their first contribution in #2514
- @trongthanh made their first contribution in #2524
- @probeiuscorp made their first contribution in #2534
Full Changelog: v2.8.0...v2.8.1