Update dependency zustand to v5#43
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Member
|
👍 @renovate[bot] Thank you for raising your pull request and contributing to our Community |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^4.5.2→^5.0.0Release Notes
pmndrs/zustand (zustand)
v5.0.9Compare Source
This includes experimental middleware
unstable_ssrSafefor a new usage with Next.js.Related discussion: https://redirect.github.com/pmndrs/zustand/discussions/2740
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.8...v5.0.9
v5.0.8Compare Source
A bug fix in
shallowand a tiny improvement inpersist.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.7...v5.0.8
v5.0.7Compare Source
This enables a small optimization in some edge cases.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.6...v5.0.7
v5.0.6Compare Source
Some very minor changes.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.5...v5.0.6
v5.0.5Compare Source
It comes with some small improvements.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.4...v5.0.5
v5.0.4Compare Source
This fixes module resolution issue for React Native users.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.3...v5.0.4
v5.0.3Compare Source
ExtractStateis a type util to extract state type from store type.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.2...v5.0.3
v5.0.2Compare Source
This fixes some issues in middleware.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.1...v5.0.2
v5.0.1Compare Source
This fixes
shallowfunction for some edge cases.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.0...v5.0.1
v5.0.0Compare Source
🎉🎉🎉 Zustand v5 🐻🐻🐻
TL;DR
Changes in v5
createWithEqualityFnanduseStoreWithEqualityFninzustand/traditional)Migration Guide
Read the migration guide carefully:
https://github.com/pmndrs/zustand/blob/main/docs/migrations/migrating-to-v5.md
Frequently Reported Issue
During the RC period, some users encountered the following infinite loop error:
This case was already a non-ideal behavior in v4 but appears more explicitly as an error in v5. While there are several ways to resolve this, using
useShallowoften fixes the problem.What's Changed
setStateby @chrisvander in #2696New Contributors
Full Changelog: pmndrs/zustand@v4.5.5...v5.0.0
Configuration
📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.