Releases: pmndrs/jotai
v2.1.0
This includes some improvements as well as some breaking changes in unstable features.
What's Changed
- fix(vanilla): better promise handling by @dai-shi in #1851
- fix(atomWithStorage): handle RESET/removeItem from cross-tab storage updates by @nderscore in #1882
- breaking(vanilla): remove deprecated store dev methods by @dai-shi in #1893
- fix(react): Infer useHydrateAtoms value types from atom.read ReturnType by @ericdowell in #1898
- chore(tests): migrate to vitest by @arjunvegda in #1839
New Contributors
- @lloydrichards made their first contribution in #1865
- @todorone made their first contribution in #1878
- @eikonomega made their first contribution in #1885
- @milhamm made their first contribution in #1903
- @RIP21 made their first contribution in #1907
- @ericdowell made their first contribution in #1898
Full Changelog: v2.0.4...v2.1.0
v2.0.4
This includes some small improvements. One of them is to improve Deno compatibility.
What's Changed
- fix(atomWithStorage, createJSONStorage): scope subscriptions to specified browser storage by @nderscore in #1814
- fix(babel): improve debug label support for third-party jotai libraries by @arjunvegda in #1818
- fix(react): atom type inference in hooks by @Thisen in #1866
- chore: add extentsion in imports by @dai-shi in #1823
New Contributors
- @Etesam913 made their first contribution in #1810
- @haywirez made their first contribution in #1828
- @amirhhashemi made their first contribution in #1830
- @Fonger made their first contribution in #1835
- @satyamgupta1495 made their first contribution in #1825
- @FoundTheWOUT made their first contribution in #1846
- @nderscore made their first contribution in #1814
- @manakuro made their first contribution in #1860
Full Changelog: v2.0.3...v2.0.4
v2.0.3
This release includes important features for upcoming devtools.
What's Changed
- feat: add 'debugPrivate' flag to atom by @arjunvegda in #1779
- fix(build): possibly improve ESM for production build by @dai-shi in #1780
- feat: add dev_subscribe_store by @arjunvegda in #1790
- fix(utils, types): added export of Loadable type by @arjunvegda in #1806
New Contributors
- @himself65 made their first contribution in #1789
- @wenq1 made their first contribution in #1805
Full Changelog: v2.0.2...v2.0.3
v2.0.2
This version add some small improvements, mostly for some minor cases.
What's Changed
- fix(vanilla): async derived atom not updated (race condition in an edge case) by @gimelfarb in #1768
- fix(utils): tweak atomWithDefault types for better DX by @dai-shi in #1770
- fix(build): UMD names by @dai-shi in #1772
New Contributors
- @arjunvegda made their first contribution in #1773
- @gimelfarb made their first contribution in #1768
Full Changelog: v2.0.1...v2.0.2
v2.0.1
This adds various small improvements. Docs are also updated.
What's Changed
- fix(build): improve patch scripts by @dai-shi in #1736
- fix(vanilla/utils): improve selectAtom for more use cases by @dai-shi in #1738
- fix(vanilla): type utils by @dai-shi in #1741
- chore: remove
__DEV__
with ts-jest by @dai-shi in #1742 - fix(build): reorder the types field in package.json by @HiChen404 in #1753
- fix(react): avoid JSX transform for <= React 18 interop by @CodyJasonBennett in #1759
New Contributors
- @revskill10 made their first contribution in #1726
- @Odonno made their first contribution in #1728
- @naixy28 made their first contribution in #1740
- @HiChen404 made their first contribution in #1753
- @CodyJasonBennett made their first contribution in #1759
Full Changelog: v2.0.0...v2.0.1
v2.0.0
🎉 🎉 🎉 Jotai v2 is here! 🍾 🍾 🍾
Backward compatible for JS users without async atoms
Async atom behavior is revisited and changed. TypeScript types are changed and improved.
New Store API
Exposes createStore
which opens up new usages. With its power, it can be misused. Let's look for best practice. Feedback is appreciated.
Migration Guide
https://github.com/pmndrs/jotai/blob/v2.0.0/docs/guides/migrating-to-v2-api.mdx
What's Changed
- breaking: replace old api with v2 api by @dai-shi in #1671
- breaking(build): drop module condition in exports by @dai-shi in #1675
New Contributors
- @meotimdihia made their first contribution in #1701
- @megafinz made their first contribution in #1710
Full Changelog: v1.13.1...v2.0.0
v1.13.1
Following v1.13.0, this version drops jotai/react/devtools
entry point which was for pre-released v2 API. The same feature will be provided from jotai-devtools
package.
What's Changed
New Contributors
- @AwesomeDevin made their first contribution in #1681
- @yeganathan18 made their first contribution in #1684
Full Changelog: v1.13.0...v1.13.1
v1.13.0
We are working on improving devtools for v2 API. To mitigate the migration, jotai/devtools
is moved to jotai-devtools
in this version. Please be aware that you need to manually install jotai-devtools
.
What's Changed
- fix(vanilla): reading async atom twice before resolving (v2 API) by @dai-shi in #1670
- feat(devtools): move to peer dependency by @dai-shi in #1672
- feat(devtools): deprecate jotai/devtools to prepare for v2 by @dai-shi in #1677
New Contributors
Full Changelog: v1.12.1...v1.13.0
v1.12.1
v1.12.0
We are getting ready for v2 release. What you can do now is to update to this version, and a) check deprecation messages and/or b) try/migrate pre-released v2 API. https://github.com/pmndrs/jotai/blob/v1.12.0/docs/guides/migrating-to-v2-api.mdx
What's Changed
- feat: deprecate integrations and some utils to prepare for v2 by @dai-shi in #1631
- fix(vanilla): make restore atoms dev only (v2 API) by @dai-shi in #1648
New Contributors
Full Changelog: v1.11.2...v1.12.0