cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.9k stars 244 forks source link

Bump jotai from 2.6.0 to 2.8.2 #1751

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps jotai from 2.6.0 to 2.8.2.

Release notes

Sourced from jotai's releases.

v2.8.2

This fixes another edge case and improves utils for more flexibility.

What's Changed

New Contributors

Full Changelog: https://github.com/pmndrs/jotai/compare/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

New Contributors

Full Changelog: https://github.com/pmndrs/jotai/compare/v2.8.0...v2.8.1

v2.8.0

This version introduces a new feature atomWithLazy and deprecates useReducerAtom and freezeAtomCreator. It also introduces an experimental store implementation in jotai/experimental.

Migration Guide

selectAtom

selectAtom will no longer internally unwrap promises. To migrate to the new api, use the unwrap utility from jotai/utils package.

// suppose we have this
const baseAtom = atom(Promise.resolve({ id: 0, name: 'test' }))

// previously selectAtom would internally unwrap promises. const idAtom = selectAtom( baseAtom, ({ name }) => name, (prev, curr) => prev.id === curr.id ) </tr></table>

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
github-actions[bot] commented 4 months ago

Preview: https://1751--pr-cinny.netlify.app ⚠️ Exercise caution. Use test accounts. ⚠️

dependabot[bot] commented 4 months ago

Superseded by #1762.