Skip to content

Update jotai 2.8.2 → 2.11.0 (minor)#38

Closed
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/yarn/jotai-2.11.0
Closed

Update jotai 2.8.2 → 2.11.0 (minor)#38
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/yarn/jotai-2.11.0

Conversation

@depfu

@depfu depfu Bot commented Dec 24, 2024

Copy link
Copy Markdown

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ jotai (2.8.2 → 2.11.0) · Repo

Release Notes

2.11.0

There are no public API changes, but some internal behaviors have been improved. Now, atom updates are batched in a single write, which might provide a performance benefit in certain edge cases. This feature has been requested actually for a long time, and it's finally implemented. See also #2782.

What's Changed

New Contributors

Full Changelog: v2.10.4...v2.11.0

2.10.4

A minor improvement for some edge cases. (For more information, see #2789.)

What's Changed

  • fix(store): do not recompute unmounted atoms eagerly by @dai-shi in #2849

New Contributors

Full Changelog: v2.10.3...v2.10.4

2.10.3

This fixes various edge cases. Huge thanks to @dmaskasky ! 🎉

What's Changed

Full Changelog: v2.10.2...v2.10.3

2.10.2

Fixed some jotai/utils for a regression in v2.10.0.

What's Changed

  • fix(unstable_derive): trap atom methods by @dai-shi in #2741
  • Throw error on useAtom(undefined) or useAtom(null) by @kevinschaich in #2778
  • fix(utils): make 'loadable' update immediate after resolve by @e7h4n in #2790
  • fix(utils): make 'unwrap' update immediate after resolve by @organize in #2794

New Contributors

Full Changelog: v2.10.1...v2.10.2

2.10.1

This fixes a bug in an extreme edge case. If you find this change breaks something, please report to us.

What's Changed

  • fix(core): recompute dependents in edge cases by @dai-shi in #2742

New Contributors

Full Changelog: v2.10.0...v2.10.1

2.10.0

It comes with another significant internal change to address some edge cases.

Since v2.9.0, we've been working on some internal refactors to support more edge cases and clean up the code.

Users are encouraged to update to the new versions eventually, but if you're satisfied with the current situation and prefer to avoid temporary instability, you can stick with v2.8.4 for now.

What's Changed

  • breaking(core): avoid continuable promise in store api by @dai-shi in #2695

New Contributors

Full Changelog: v2.9.3...v2.10.0

2.9.3

This fixes a regression in an edge case that is introduced in v2.6.4.

What's Changed

  • fix(store): derived atom not updating when its value changes if another atom is read it conditionally by @yuneco in #2700
  • experimental(core): expose unstable_derive by @dai-shi in #2652

New Contributors

Full Changelog: v2.9.2...v2.9.3

2.9.2

A small improvement in atomFamily for edge use cases.

What's Changed

  • feat(utils): atomFamily supports getParams and unstable_listen api by @dmaskasky in #2685

New Contributors

Full Changelog: v2.9.1...v2.9.2

2.9.1

This patch version includes various fixes. Huge thanks to contributors!

What's Changed

  • refactor(core): follow naming convention by @dai-shi in #2662
  • refactor(core): store with Object.assign by @dai-shi in #2663
  • fix(core): atom toString includes debugLabel in dev mode by @dmaskasky in #2659
  • fix(core): Unmount an atom that is no longer dependent within a derived atom by @nogaten in #2660
  • fix(types): add undefined initial value to Atom definition by @rtritto in #2668

New Contributors

Full Changelog: v2.9.0...v2.9.1

2.9.0

This version introduces a new core implementation. All tests are passing but there can be some regressions due to missing tests. Please feel free to report such cases and let's improve test coverage.

The benefit with the new implementation:

  • Fix memory leak issue with vanilla store usage.
  • More readability of the core code.

What's Changed

Full Changelog: v2.8.4...v2.9.0

2.8.4

This changes the behavior of async atom with abort signal on unmount to fix some use cases.

What's Changed

New Contributors

Full Changelog: v2.8.3...v2.8.4

2.8.3

The improvement for atomWithStorage in v2.8.2 contained a bug, which is fixed in this version.

What's Changed

  • fix(utils): subscribe method of createJSONStorage should only run in the client by @mhsattarian in #2585
  • feat(store2): add dev4_get_mounted_atoms by @arjunvegda in #2594

New Contributors

Full Changelog: v2.8.2...v2.8.3

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@vercel

vercel Bot commented Dec 24, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pameraja ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 24, 2024 7:28am

@depfu

depfu Bot commented Jan 21, 2025

Copy link
Copy Markdown
Author

Closed in favor of #40.

@depfu depfu Bot closed this Jan 21, 2025
@depfu
depfu Bot deleted the depfu/update/yarn/jotai-2.11.0 branch January 21, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants