Releases: pmndrs/jotai
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
v1.11.2
This version includes some refactors and improvements to the v2 API pre-release. If you are still new to the v2 API, please check it out. https://jotai.org/docs/guides/migrating-to-v2-api
What's Changed
- refactor(vanilla): simplify store impl (v2 API) by @dai-shi in #1624
- fix(vanilla/utils): re-implement unwrap util (v2 API) by @dai-shi in #1628
- refactor(vanilla/utils): avoid refAtom in selectAtom (v2 API) by @dai-shi in #1629
- refactor(vanilla/utils): avoid refAtom in splitAtom (v2 API) by @dai-shi in #1630
New Contributors
- @segamiken made their first contribution in #1622
- @marksy made their first contribution in #1625
Full Changelog: v1.11.1...v1.11.2
v1.11.1
v1.11.0 added the pre-release of v2 API. This patch version adds some improvements in the v2 API. It's still unstable, but feedbacks are very welcome.
What's Changed
- feat(vanilla): refactor v2 API with setSelf removing retry by @dai-shi in #1611
- feat(vanilla): rename unwrapAtom to unwrap (v2 API) by @dai-shi in #1616
Full Changelog: v1.11.0...v1.11.1
v1.11.0
This includes the pre-release of Jotai v2 API. See RFC #1514.
The v2 API in the pre-release is technically considered unstable, but it's highly recommended to try it before v2. Unless we get any feedback, we don't know what to improve and it will be finalized as is.
Please check the migration guide: https://github.com/pmndrs/jotai/blob/v1.11.0/docs/guides/migrating-to-v2-api.mdx
Feel free to open a new discussion for questions, ideas and so on.
This version has a little breaking change, which is the minimal version of node >=12.20.0 for server side usage.
What's Changed
New Contributors
Full Changelog: v1.10.0...v1.11.0