fix(deps): Update dependency zustand to v4#399
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
e3e74c1 to
2ddb7a0
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
2ddb7a0 to
218acce
Compare
218acce to
fed51d1
Compare
fed51d1 to
19ce17c
Compare
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:
^3.5.1→^4.5.7Release Notes
pmndrs/zustand (zustand)
v4.5.7Compare Source
See: #3087 (comment)
Full Changelog: pmndrs/zustand@v4.5.6...4.5.7
v4.5.6Compare Source
See: #2943
Full Changelog: pmndrs/zustand@v4.5.5...v4.5.6
v4.5.5Compare Source
This improves the
persistmiddleware behavior for an edge case.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.5.4...v4.5.5
v4.5.4Compare Source
There was an issue in v4.5.3 with some bundlers.
What's Changed
Full Changelog: pmndrs/zustand@v4.5.3...v4.5.4
v4.5.3Compare Source
It comes with a minor fix in types, but also some changes in configs.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.5.2...v4.5.3
v4.5.2Compare Source
It should improve the compatibility with old browsers.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.5.1...v4.5.2
v4.5.1Compare Source
People might have misunderstood with
useStoredeprecation message. Hope this mitigates it.What's Changed
persistmiddleware by @rafaeelaudibert in #2332New Contributors
Full Changelog: pmndrs/zustand@v4.5.0...v4.5.1
v4.5.0Compare Source
This version adds a new capability for SSR/Hydration.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.7...v4.5.0
v4.4.7Compare Source
There's a small fix for a use case with an non-object value in store.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.6...v4.4.7
v4.4.6Compare Source
v4.4.5 has an issue with some TypeScript configs about module resolution. It should be fixed now. Thanks for the patience.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.5...v4.4.6
v4.4.5Compare Source
Hopefully, it should fix some issues with Node.js environment including Next.js.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.4...v4.4.5
v4.4.4Compare Source
There was a tiny issue in v4.4.3, which broke with some bundlers, which this version fixes.
What's Changed
Full Changelog: pmndrs/zustand@v4.4.3...v4.4.4
v4.4.3Compare Source
The changes in v4.4.2 were troublesome for some users. This version should fix/mitigate such cases.
What's Changed
Full Changelog: pmndrs/zustand@v4.4.2...v4.4.3
v4.4.2Compare Source
This adds
useShallowhook to cover some use cases that are deprecated with v4.4.0 change. Check out the guide.Migration Guide
#1991 requires something like below if you are using the
devtoolsmiddleware and TypeScript.import { devtools } from 'zustand/middleware' + import type {} from '@​redux-devtools/extension'What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.1...v4.4.2
v4.4.1Compare Source
Fixes some issues reported with the deprecated feature in v4.4.0.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.4.0...v4.4.1
v4.4.0Compare Source
This adds new
zustand/traditionalentry point and deprecates equalityFn fromzustand.Migration Guide
If you don't use custom
equalityFn, nothing is required.For those who use custom equalityFn such as
shallow:What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.9...v4.4.0
v4.3.9Compare Source
This includes a small improvement for production build mostly for Vite users. Docs have been improved too!
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.8...v4.3.9
v4.3.8Compare Source
For persist middleware, a new option for createJSONStorage in introduced to support more cases. Note that createJSONStorage isn't a required function (and it's not very recommended as it's not type safe), and one should create a custom storage for more use cases.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.7...v4.3.8
v4.3.7Compare Source
This includes a couple of improvements in
persistmiddleware.What's Changed
persistdoes not drop updates inonRehydrateStoragewhen using a synchronous storage API by @coffeebeats in #1689onRehydrateStorageandonHydrateis defined on first hydration by @coffeebeats in #1692New Contributors
Full Changelog: pmndrs/zustand@v4.3.6...v4.3.7
v4.3.6Compare Source
This has a little improvement for library authors.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.5...v4.3.6
v4.3.5Compare Source
v4.3.4 has a regression in CJS build. Please use this version instead.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.4...v4.3.5
v4.3.4Compare Source
This version fixes some build configs for some edge cases.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.3...v4.3.4
v4.3.3Compare Source
This version includes some small fixes and internal improvements.
What's Changed
__DEV__with ts-jest by @dai-shi in #1598New Contributors
Full Changelog: pmndrs/zustand@v4.3.2...v4.3.3
v4.3.2Compare Source
There was a regression with default export (which is deprecated) in v4.3.0 and v4.3.1. This should fix it.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.3.1...v4.3.2
v4.3.1Compare Source
This version supersedes v4.3.0.
What's Changed
Full Changelog: pmndrs/zustand@v4.3.0...v4.3.1
v4.3.0Compare Source
Throughout past years of development, we've learned the (mis)usage of the library. One of our goal is to provide smallest possible APIs. To go further, this version deprecates some features. They are still usable (with warnings), but will be removed in the future.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.2.0...v4.3.0
v4.2.0Compare Source
This version adds some new features in middleware.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.1.5...v4.2.0
v4.1.5Compare Source
This version has several small improvements.
What's Changed
module.exportsaddition for named and default exports in CJS by @barelyhuman in #1460New Contributors
Full Changelog: pmndrs/zustand@v4.1.4...v4.1.5
v4.1.4Compare Source
This should improve some importing problems. Uncertain if it fixes everything.
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.1.3...v4.1.4
v4.1.3Compare Source
This improves store types for TS users. We also upgrade rollup. Please report issues if anyone finds any.
What's Changed
getStateandsetStatewill always exist on the store by @devanshj in #1371StateCreatorsubtyping by @devanshj in #1373New Contributors
Full Changelog: pmndrs/zustand@v4.1.2...v4.1.3
v4.1.2Compare Source
This includes some fixes for edge cases. Most notably, supporting old TypeScript versions.
What's Changed
useStoreApiby @exuanbo in #1258TakeTwo,SkipTwoandMutateto make them work for older ts versions too by @devanshj in #1348New Contributors
Full Changelog: pmndrs/zustand@v4.1.1...v4.1.2
v4.1.1Compare Source
In v4.1.0, there are some TypeScript type issues in
reduxanddevtoolsmiddleware, which should be fixed.What's Changed
Full Changelog: pmndrs/zustand@v4.1.0...v4.1.1
v4.1.0Compare Source
This supports non-object state. It's probably one of the biggest changes in API design throughout the zustand development history. But, probably 99.9% of users won't use it 😝 .
What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v4.0.0...v4.1.0
v4.0.0Compare Source
🎉 🎉 🎉 Zustand v4 is here 🎉 🎉 🎉
Backward compatible with v3 in JS
v4 API is completely backward compatible, so it's just nothing to update if you are JS users.
One note is v4 depends on use-sync-external-store.
There might be some bundling issues.
Please report them if you encounter such cases.
TypeScript types are rewritten
To better support types with middleware, v4 TypeScript code is rewritten.
Please find docs/typescript.md for more information.
New API for context usage
In v3,
zustand/contextis provided as a workaround.v4 API exposes
createStoreanduseStore, which are more flexible.Please read this for usage.
If you are unsure about the usage, open a new discussion.
Counter example: https://codesandbox.io/s/polished-pond-4jn1e2
Deprecated APIs are removed
Some APIs are already deprecated in v3, and they are removed in v4. Please make sure to update to the latest version of v3 before migrating to v4.
What's Changed
enabledoption and show devtools warning only if enabled by @Aslemammad in #880Partialtypo frompersistby @devanshj in #1051Configuration
📅 Schedule: (UTC)
🚦 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 has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here