Releases: pmndrs/jotai
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
v1.10.0
We moved integrations to separate packages. They are peer dependencies now and you would need to install them to keep using the features. Eventually, soon they are deprecated and will be removed in jotai v2.0.0. There are no feature differences at this point, so the migration should be easy. Let us know if something goes wrong.
What's Changed
- refactor(types): simplify with AnyWritableAtom by @dai-shi in #1576
- feat(valtio,zustand,redux,xstate,immer,optics): move integrations to peer deps by @dai-shi in #1573
- feat(utils): move atomWithHash to peer deps by @dai-shi in #1579
Full Changelog: v1.9.2...v1.10.0
v1.9.2
This fixes loadable
util behavior.
What's Changed
- fix(core): Override cancelled promises to avoid infinite loops by @hahnbiatfigma in #1535
New Contributors
- @hahnbiatfigma made their first contribution in #1535
Full Changelog: v1.9.1...v1.9.2
v1.9.1
Some fixes. We are still not very confident with ESM bundling. Please feel free to open issues/discussions.
What's Changed
- fix(build): no import.meta for "module" condition by @dai-shi in #1501
- fix(utils): modify atomWithHash to keep pathname when the replaceState option is set to true by @jakkku in #1506
New Contributors
- @feute made their first contribution in #1499
- @ahungrynoob made their first contribution in #1507
- @jakkku made their first contribution in #1516
Full Changelog: v1.9.0...v1.9.1
v1.9.0
There's one of big decisions made probably since the initial release. There has been many feature requests for jotai/query
and jotai/urql
which exceed original API design. We re-implemented them in separate repositories providing more features, and keep the existing functionality with wrappers (which will be deprecated in the future). Please check docs.
There are other changes with build for ESM. Please feel free to open issues and discussions if you have any.
What's Changed
- feat(query): new implementation with peer dep by @dai-shi in #1435
- feat(urql): new implementation with peer dep by @dai-shi in #1473
- fix(babel): Fix custom atom names for identifiers by @Thisen in #1489
- fix(build): use *.d.mts for esm ('import' condition only) by @dai-shi in #1496
New Contributors
Full Changelog: v1.8.6...v1.9.0