[Snyk] Upgrade jotai from 2.7.1 to 2.12.4 #2679
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade jotai from 2.7.1 to 2.12.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 24 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: jotai
-
2.12.4 - 2025-05-06
- deprecate devstore by @ dai-shi in #3023
- fix(package): react-native condition by @ dai-shi in #3042
- fix(utils): allow undefined for atomWithStorage subscriber return by @ caffeinewriter in #3055
- @ caffeinewriter made their first contribution in #3056
- @ CanRau made their first contribution in #3051
-
2.12.3 - 2025-04-14
- fix: expose an internal function for devtools by @ dai-shi in #3045
- fix(react): experimental option to make attaching promise status controllable by @ dai-shi in #3026
- @ siyou made their first contribution in #3029
-
2.12.2 - 2025-03-10
- refactor(vanilla, react): change exported functions to 'function declarations' and non-exported ones to 'arrow functions' by @ sukvvon in #3002
- fix(core): improve error handling with multiple errors in flashCallbacks by @ nightohl in #3011
- fix(utils): atomWithObservable option for React 19 behavior by @ dai-shi in #3016
- fix(utils): Fix deepFreeze fails for boolean, number, string by @ devuxer in #3018
- refactor(core): avoid onCancel hack by @ dai-shi in #3019
- @ Muneeb-juttt made their first contribution in #2997
- @ a10nik made their first contribution in #2996
- @ zakudriver made their first contribution in #3017
- @ nightohl made their first contribution in #3011
- @ devuxer made their first contribution in #3018
-
2.12.1 - 2025-02-17
- fix(core): Remove extra onChange store hook in recomputeInvalidatedDependents by @ dmaskasky in #2982
-
2.12.0 - 2025-02-11
- feat(core): expose internals instead of unstable_derive by @ dai-shi in #2911
-
2.11.3 - 2025-02-01
- fix(store): recompute dependents on eager evaluation in writeAtomState by @ dmaskasky in #2965
-
2.11.2 - 2025-01-31
- fix(core): derived atom is not re-evaluated if it read between multiple set by @ dai-shi in
- @ moonheekim0118 made their first contribution in #2961
-
2.11.1 - 2025-01-20
- feat(core): add atom hooks for atom mount, unmount and improve dev store by @ dmaskasky in #2895
- refactor(core): more readability for addBatchFunc by @ dmaskasky in #2898
- feat(core): introduce atom.unstable_onInit hook by @ dmaskasky in #2905
- name devStore functions by @ dmaskasky in #2910
- refactor(core): replace batch dependents map with batched changed atoms by @ dmaskasky in #2912
- refactor: following up #2912 by @ dai-shi in #2915
- refactor: eliminate batch by @ dai-shi in #2925
- fix: derived atom is not recomputed after its dependencies changed #2906 by @ dmaskasky in #2907
- refactor(store): Replace runWithTransactions to flushCallbacks by @ dmaskasky in #2946
- refactor(store): avoid transaction by @ dai-shi in #2950
- fix: should update dependents with the value of the unwrapped atom when the promise resolves by @ dmaskasky in #2936
- @ kyday made their first contribution in #2927
- @ Zercerium made their first contribution in #2929
- @ disjukr made their first contribution in #2937
-
2.11.0 - 2024-12-23
- refactor(store): rename pending to batch by @ dai-shi in #2868
- lazy recomputeDependents by @ dmaskasky in #2827
- fix(store): robust flush batch by @ dmaskasky in #2871
- fix(store): refactor batch priority by @ dmaskasky in #2875
- feat: dev store with unstable_derive by @ dai-shi in #2852
- @ rainagalbiati-turngate made their first contribution in #2882
- @ leweyse made their first contribution in #2883
-
2.10.4 - 2024-12-16
- fix(store): do not recompute unmounted atoms eagerly by @ dai-shi in #2849
- @ rmillio made their first contribution in #2832
- @ sukvvon made their first contribution in #2851
-
2.10.3 - 2024-11-20
-
2.10.2 - 2024-11-11
-
2.10.1 - 2024-10-15
-
2.10.0 - 2024-09-20
-
2.9.3 - 2024-08-13
-
2.9.2 - 2024-08-07
-
2.9.1 - 2024-07-23
-
2.9.0 - 2024-07-09
-
2.8.4 - 2024-06-28
-
2.8.3 - 2024-06-03
-
2.8.2 - 2024-05-27
-
2.8.1 - 2024-05-22
-
2.8.0 - 2024-04-08
-
2.7.2 - 2024-03-29
-
2.7.1 - 2024-03-15
from jotai GitHub release notesWe deprecate devstore capability, which will be dropped in the next minor version. Please use the latest jotai-devtools library.
What's Changed
New Contributors
Full Changelog: v2.12.3...v2.12.4
This introduces an internal capability for jotai-devtools.
What's Changed
New Contributors
Full Changelog: v2.12.2...v2.12.3
It includes some refactors and some minor fixes.
What's Changed
New Contributors
Full Changelog: v2.12.1...v2.12.2
This fixes an internal behavior necessary for some Jotai ecosystem libraries.
What's Changed
Full Changelog: v2.12.0...v2.12.1
This introduces a significant change in the history of Jotai development. The Jotai core aims to remain minimal while supporting the growth of the ecosystem. It now exposes some internal functions for the ecosystem.
For library authors, please make sure to pin the
jotaipackage version if you rely on these internal functions.Huge thanks to @ dmaskasky for helping finalize the API.
What's Changed
Full Changelog: v2.11.3...v2.12.0
Unfortunately, we encountered another regression with the v2.11 rearchitecture. We hope there are no more issues, but we can't be sure if it's stable unless no more are reported. Please give it a try and let us know if you find anything!
What's Changed
Full Changelog: v2.11.2...v2.11.3
There was a regression in v2.11.1, which is fixed in this patch.
What's Changed
New Contributors
Full Changelog: v2.11.1...v2.11.2
Jotai v2.11.0 was a big change, and we faced some fundamental issues. It required time to reconsider the architecture from the ground up. We've added various tests, and this patch version should be more stable.
Having that said, we are still in the middle of the re-architecture. If you prefer to stay away from bleeding-edge features and encounter no bugs, feel free to keep using the previous versions.
Kudos to @ dmaskasky
What's Changed
New Contributors
Full Changelog: v2.11.0...v2.11.1
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
A minor improvement for some edge cases. (For more information, see #2789.)
What's Changed
New Contributors
Full Changelog: v2.10.3...v2.10.4
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: