Skip to content

Releases: pmndrs/jotai

v1.12.1

30 Dec 11:03
Compare
Choose a tag to compare

This version adds a few improvements in v2 API pre-release.

What's Changed

  • fix(vanilla): bail out notifying with same values (v2 API) by @dai-shi in #1654
  • fix(vanilla): do not invoke callback on subscribe (v2 API) by @dai-shi in #1659

Full Changelog: v1.12.0...v1.12.1

v1.12.0

20 Dec 04:41
Compare
Choose a tag to compare

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

12 Dec 10:06
Compare
Choose a tag to compare

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

Full Changelog: v1.11.1...v1.11.2

v1.11.1

06 Dec 13:24
Compare
Choose a tag to compare

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

01 Dec 13:23
Compare
Choose a tag to compare

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

17 Nov 13:48
Compare
Choose a tag to compare

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

10 Nov 09:20
Compare
Choose a tag to compare

This fixes loadable util behavior.

What's Changed

New Contributors

Full Changelog: v1.9.1...v1.9.2

v1.9.1

01 Nov 07:19
Compare
Choose a tag to compare

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

Full Changelog: v1.9.0...v1.9.1

v1.9.0

27 Oct 01:07
Compare
Choose a tag to compare

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

v1.8.6

18 Oct 09:49
Compare
Choose a tag to compare

Jotai babel plugin is customizable!

What's Changed

  • fix(core): make atomWithObservable to work with versionedWrite by @dai-shi in #1474
  • feat(babel): Support custom atom names by @Thisen in #1480

New Contributors

Full Changelog: v1.8.5...v1.8.6