wuespace / telestion-client

Telestion Frontend Framework (Technical leads: Ludwig Richter, Jan Tischhöfer)
https://telestion.wuespace.de
MIT License
7 stars 1 forks source link

deps(prod): update dependency zustand to v4.5.5 #1626

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
zustand 4.2.0 -> 4.5.5 age adoption passing confidence

Release Notes

pmndrs/zustand (zustand) ### [`v4.5.5`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.5) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.4...v4.5.5) This improves the `persist` middleware behavior for an edge case. #### What's Changed - fix(storage): avoid calling setItem with the state just retrieved by [@​double-thinker](https://togithub.com/double-thinker) in [https://github.com/pmndrs/zustand/pull/2678](https://togithub.com/pmndrs/zustand/pull/2678) - chore(deps): update dependencies by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2680](https://togithub.com/pmndrs/zustand/pull/2680) #### New Contributors - [@​alwalxed](https://togithub.com/alwalxed) made their first contribution in [https://github.com/pmndrs/zustand/pull/2634](https://togithub.com/pmndrs/zustand/pull/2634) - [@​YashChauhan858](https://togithub.com/YashChauhan858) made their first contribution in [https://github.com/pmndrs/zustand/pull/2636](https://togithub.com/pmndrs/zustand/pull/2636) - [@​donutcube](https://togithub.com/donutcube) made their first contribution in [https://github.com/pmndrs/zustand/pull/2650](https://togithub.com/pmndrs/zustand/pull/2650) - [@​vorant94](https://togithub.com/vorant94) made their first contribution in [https://github.com/pmndrs/zustand/pull/2661](https://togithub.com/pmndrs/zustand/pull/2661) - [@​jeppester](https://togithub.com/jeppester) made their first contribution in [https://github.com/pmndrs/zustand/pull/2667](https://togithub.com/pmndrs/zustand/pull/2667) - [@​ryota-murakami](https://togithub.com/ryota-murakami) made their first contribution in [https://github.com/pmndrs/zustand/pull/2668](https://togithub.com/pmndrs/zustand/pull/2668) - [@​double-thinker](https://togithub.com/double-thinker) made their first contribution in [https://github.com/pmndrs/zustand/pull/2678](https://togithub.com/pmndrs/zustand/pull/2678) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.5.4...v4.5.5 ### [`v4.5.4`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.4) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.3...v4.5.4) There was an issue in v4.5.3 with some bundlers. #### What's Changed - fix: no type field in package.json by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2622](https://togithub.com/pmndrs/zustand/pull/2622) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.5.3...v4.5.4 ### [`v4.5.3`](https://togithub.com/pmndrs/zustand/compare/v4.5.2...b3684b31d3516175c462f6d8427f4bcf712bb785) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.2...v4.5.3) ### [`v4.5.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.2) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.1...v4.5.2) It should improve the compatibility with old browsers. #### What's Changed - refactor(shallow): Use for..of instead of C-style for by [@​onlined](https://togithub.com/onlined) in [https://github.com/pmndrs/zustand/pull/2374](https://togithub.com/pmndrs/zustand/pull/2374) - fix: return type of persist migrate function changed to PersistedState by [@​bobdepreziz](https://togithub.com/bobdepreziz) in [https://github.com/pmndrs/zustand/pull/2360](https://togithub.com/pmndrs/zustand/pull/2360) - build: target es2018 by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2361](https://togithub.com/pmndrs/zustand/pull/2361) #### New Contributors - [@​medyahyejoud](https://togithub.com/medyahyejoud) made their first contribution in [https://github.com/pmndrs/zustand/pull/2353](https://togithub.com/pmndrs/zustand/pull/2353) - [@​yankycranky](https://togithub.com/yankycranky) made their first contribution in [https://github.com/pmndrs/zustand/pull/2348](https://togithub.com/pmndrs/zustand/pull/2348) - [@​cheeZery](https://togithub.com/cheeZery) made their first contribution in [https://github.com/pmndrs/zustand/pull/2364](https://togithub.com/pmndrs/zustand/pull/2364) - [@​Cadienvan](https://togithub.com/Cadienvan) made their first contribution in [https://github.com/pmndrs/zustand/pull/2378](https://togithub.com/pmndrs/zustand/pull/2378) - [@​bobdepreziz](https://togithub.com/bobdepreziz) made their first contribution in [https://github.com/pmndrs/zustand/pull/2360](https://togithub.com/pmndrs/zustand/pull/2360) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.5.1...v4.5.2 ### [`v4.5.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.1) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.0...v4.5.1) People might have misunderstood with `useStore` deprecation message. Hope this mitigates it. #### What's Changed - Relax types for `persist` middleware by [@​rafaeelaudibert](https://togithub.com/rafaeelaudibert) in [https://github.com/pmndrs/zustand/pull/2332](https://togithub.com/pmndrs/zustand/pull/2332) - chore: clarify deprecation message by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2337](https://togithub.com/pmndrs/zustand/pull/2337) #### New Contributors - [@​alexander-densley](https://togithub.com/alexander-densley) made their first contribution in [https://github.com/pmndrs/zustand/pull/2321](https://togithub.com/pmndrs/zustand/pull/2321) - [@​rafaeelaudibert](https://togithub.com/rafaeelaudibert) made their first contribution in [https://github.com/pmndrs/zustand/pull/2332](https://togithub.com/pmndrs/zustand/pull/2332) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.5.0...v4.5.1 ### [`v4.5.0`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.0) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.7...v4.5.0) This version adds a new capability for SSR/Hydration. #### What's Changed - feat: getInitialState by [@​TkDodo](https://togithub.com/TkDodo) in [https://github.com/pmndrs/zustand/pull/2277](https://togithub.com/pmndrs/zustand/pull/2277) - fix: Add deprecation notice for getServerState() in WithReact type by [@​charkour](https://togithub.com/charkour) in [https://github.com/pmndrs/zustand/pull/2266](https://togithub.com/pmndrs/zustand/pull/2266) #### New Contributors - [@​Jontii](https://togithub.com/Jontii) made their first contribution in [https://github.com/pmndrs/zustand/pull/2228](https://togithub.com/pmndrs/zustand/pull/2228) - [@​wherehows](https://togithub.com/wherehows) made their first contribution in [https://github.com/pmndrs/zustand/pull/2239](https://togithub.com/pmndrs/zustand/pull/2239) - [@​ahulterstrom](https://togithub.com/ahulterstrom) made their first contribution in [https://github.com/pmndrs/zustand/pull/2252](https://togithub.com/pmndrs/zustand/pull/2252) - [@​JaeBrian](https://togithub.com/JaeBrian) made their first contribution in [https://github.com/pmndrs/zustand/pull/2267](https://togithub.com/pmndrs/zustand/pull/2267) - [@​CodyCodes95](https://togithub.com/CodyCodes95) made their first contribution in [https://github.com/pmndrs/zustand/pull/2218](https://togithub.com/pmndrs/zustand/pull/2218) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.7...v4.5.0 ### [`v4.4.7`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.7) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.6...v4.4.7) There's a small fix for a use case with an non-object value in store. #### What's Changed - fix(vanilla): unexpected null state update behavior by [@​wulimao49](https://togithub.com/wulimao49) in [https://github.com/pmndrs/zustand/pull/2213](https://togithub.com/pmndrs/zustand/pull/2213) #### New Contributors - [@​isiagi](https://togithub.com/isiagi) made their first contribution in [https://github.com/pmndrs/zustand/pull/2208](https://togithub.com/pmndrs/zustand/pull/2208) - [@​ADTC](https://togithub.com/ADTC) made their first contribution in [https://github.com/pmndrs/zustand/pull/2202](https://togithub.com/pmndrs/zustand/pull/2202) - [@​wulimao49](https://togithub.com/wulimao49) made their first contribution in [https://github.com/pmndrs/zustand/pull/2213](https://togithub.com/pmndrs/zustand/pull/2213) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.6...v4.4.7 ### [`v4.4.6`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.6) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.5...v4.4.6) 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 - Update export types by [@​dbritto-dev](https://togithub.com/dbritto-dev) in [https://github.com/pmndrs/zustand/pull/2170](https://togithub.com/pmndrs/zustand/pull/2170) #### New Contributors - [@​cheatkey](https://togithub.com/cheatkey) made their first contribution in [https://github.com/pmndrs/zustand/pull/2147](https://togithub.com/pmndrs/zustand/pull/2147) - [@​frixaco](https://togithub.com/frixaco) made their first contribution in [https://github.com/pmndrs/zustand/pull/2166](https://togithub.com/pmndrs/zustand/pull/2166) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.5...v4.4.6 ### [`v4.4.5`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.5) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.4...v4.4.5) Hopefully, it should fix some issues with Node.js environment including Next.js. #### What's Changed - fix: importing CJS React in ESM by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2154](https://togithub.com/pmndrs/zustand/pull/2154) - Apply publint recommendations by [@​dbritto-dev](https://togithub.com/dbritto-dev) in [https://github.com/pmndrs/zustand/pull/2157](https://togithub.com/pmndrs/zustand/pull/2157) #### New Contributors - [@​plrs9816](https://togithub.com/plrs9816) made their first contribution in [https://github.com/pmndrs/zustand/pull/2137](https://togithub.com/pmndrs/zustand/pull/2137) - [@​Brammm](https://togithub.com/Brammm) made their first contribution in [https://github.com/pmndrs/zustand/pull/2139](https://togithub.com/pmndrs/zustand/pull/2139) - [@​sobies93](https://togithub.com/sobies93) made their first contribution in [https://github.com/pmndrs/zustand/pull/2142](https://togithub.com/pmndrs/zustand/pull/2142) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.4...v4.4.5 ### [`v4.4.4`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.4) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.3...v4.4.4) There was a tiny issue in v4.4.3, which broke with some bundlers, which this version fixes. #### What's Changed - fix(build): patch entry points zustand/shallow for CJS by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2128](https://togithub.com/pmndrs/zustand/pull/2128) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.3...v4.4.4 ### [`v4.4.3`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.3) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.2...v4.4.3) The changes in v4.4.2 were troublesome for some users. This version should fix/mitigate such cases. #### What's Changed - fix(shallow): Extract shallow vanilla and react by [@​dbritto-dev](https://togithub.com/dbritto-dev) in [https://github.com/pmndrs/zustand/pull/2097](https://togithub.com/pmndrs/zustand/pull/2097) - fix(types): mitigate devtools typing by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2099](https://togithub.com/pmndrs/zustand/pull/2099) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.2...v4.4.3 ### [`v4.4.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.2) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.1...v4.4.2) This adds `useShallow` hook to cover some use cases that are deprecated with v4.4.0 change. Check out [the guide](https://togithub.com/pmndrs/zustand/blob/ec538e9d4c0b9b5759e6dfd0fd3c9a21f8236949/docs/guides/prevent-rerenders-with-use-shallow.md). ##### Migration Guide [#​1991](https://togithub.com/pmndrs/zustand/issues/1991) requires something like below if you are using the `devtools` middleware *and* TypeScript. ```diff import { devtools } from 'zustand/middleware' + import type {} from '@​redux-devtools/extension' ``` ##### What's Changed - fix(types)(middleware/devtools): avoid copying types by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1991](https://togithub.com/pmndrs/zustand/pull/1991) - fix(traditional): make defaultEqualityFn optional in TS Types by [@​charkour](https://togithub.com/charkour) in [https://github.com/pmndrs/zustand/pull/2060](https://togithub.com/pmndrs/zustand/pull/2060) - feat: add useShallow by [@​FaberVitale](https://togithub.com/FaberVitale) in [https://github.com/pmndrs/zustand/pull/2090](https://togithub.com/pmndrs/zustand/pull/2090) ##### New Contributors - [@​aykutkardas](https://togithub.com/aykutkardas) made their first contribution in [https://github.com/pmndrs/zustand/pull/1993](https://togithub.com/pmndrs/zustand/pull/1993) - [@​michelts](https://togithub.com/michelts) made their first contribution in [https://github.com/pmndrs/zustand/pull/1997](https://togithub.com/pmndrs/zustand/pull/1997) - [@​elusive](https://togithub.com/elusive) made their first contribution in [https://github.com/pmndrs/zustand/pull/2001](https://togithub.com/pmndrs/zustand/pull/2001) - [@​mayank1513](https://togithub.com/mayank1513) made their first contribution in [https://github.com/pmndrs/zustand/pull/2015](https://togithub.com/pmndrs/zustand/pull/2015) - [@​fdb](https://togithub.com/fdb) made their first contribution in [https://github.com/pmndrs/zustand/pull/2029](https://togithub.com/pmndrs/zustand/pull/2029) - [@​tmkx](https://togithub.com/tmkx) made their first contribution in [https://github.com/pmndrs/zustand/pull/2032](https://togithub.com/pmndrs/zustand/pull/2032) - [@​OshriAsulin](https://togithub.com/OshriAsulin) made their first contribution in [https://github.com/pmndrs/zustand/pull/2028](https://togithub.com/pmndrs/zustand/pull/2028) - [@​ivanquirino](https://togithub.com/ivanquirino) made their first contribution in [https://github.com/pmndrs/zustand/pull/2047](https://togithub.com/pmndrs/zustand/pull/2047) - [@​stavkamil](https://togithub.com/stavkamil) made their first contribution in [https://github.com/pmndrs/zustand/pull/2071](https://togithub.com/pmndrs/zustand/pull/2071) - [@​NaamuKim](https://togithub.com/NaamuKim) made their first contribution in [https://github.com/pmndrs/zustand/pull/2088](https://togithub.com/pmndrs/zustand/pull/2088) - [@​FaberVitale](https://togithub.com/FaberVitale) made their first contribution in [https://github.com/pmndrs/zustand/pull/2090](https://togithub.com/pmndrs/zustand/pull/2090) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.1...v4.4.2 ### [`v4.4.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.1) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.4.0...v4.4.1) Fixes some issues reported with the deprecated feature in v4.4.0. #### What's Changed - fix(types): accept undefined equalityFn for the deprecated useStore by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1972](https://togithub.com/pmndrs/zustand/pull/1972) - fix: improve warning for deprecated equalityFn by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1976](https://togithub.com/pmndrs/zustand/pull/1976) #### New Contributors - [@​kangju2000](https://togithub.com/kangju2000) made their first contribution in [https://github.com/pmndrs/zustand/pull/1969](https://togithub.com/pmndrs/zustand/pull/1969) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/pmndrs/zustand/releases/tag/v4.4.0) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.9...v4.4.0) This adds new `zustand/traditional` entry point and deprecates equalityFn from `zustand`. #### Migration Guide If you don't use custom `equalityFn`, nothing is required. For those who use custom equalityFn such as `shallow`: ```js // previously import { create } from 'zustand' const useFooStore = create((set) => ...) // now import { createWithEqualityFn } from 'zustand/traditional' const useFooStore = createWithEqualityFn((set) => ..., Object.is) // Object.is the default equalityFn which can be changed to shallow or anything else ``` #### What's Changed - feat: deprecate equalityFn and add createWithEqualityFn by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1945](https://togithub.com/pmndrs/zustand/pull/1945) - fix: declare [@​types/react](https://togithub.com/types/react) as peerDep to avoid phantom dep by [@​leviosa-e](https://togithub.com/leviosa-e) in [https://github.com/pmndrs/zustand/pull/1963](https://togithub.com/pmndrs/zustand/pull/1963) #### New Contributors - [@​luizeboli](https://togithub.com/luizeboli) made their first contribution in [https://github.com/pmndrs/zustand/pull/1915](https://togithub.com/pmndrs/zustand/pull/1915) - [@​mohammedmulazada](https://togithub.com/mohammedmulazada) made their first contribution in [https://github.com/pmndrs/zustand/pull/1931](https://togithub.com/pmndrs/zustand/pull/1931) - [@​coder054](https://togithub.com/coder054) made their first contribution in [https://github.com/pmndrs/zustand/pull/1932](https://togithub.com/pmndrs/zustand/pull/1932) - [@​itayperry](https://togithub.com/itayperry) made their first contribution in [https://github.com/pmndrs/zustand/pull/1957](https://togithub.com/pmndrs/zustand/pull/1957) - [@​cwtuan](https://togithub.com/cwtuan) made their first contribution in [https://github.com/pmndrs/zustand/pull/1953](https://togithub.com/pmndrs/zustand/pull/1953) - [@​tiagobento](https://togithub.com/tiagobento) made their first contribution in [https://github.com/pmndrs/zustand/pull/1962](https://togithub.com/pmndrs/zustand/pull/1962) - [@​leviosa-e](https://togithub.com/leviosa-e) made their first contribution in [https://github.com/pmndrs/zustand/pull/1963](https://togithub.com/pmndrs/zustand/pull/1963) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.9...v4.4.0 ### [`v4.3.9`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.9) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.8...v4.3.9) This includes a small improvement for production build mostly for Vite users. Docs have been improved too! #### What's Changed - fix(build): mode env for "import" condition" by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1845](https://togithub.com/pmndrs/zustand/pull/1845) #### New Contributors - [@​Debbl](https://togithub.com/Debbl) made their first contribution in [https://github.com/pmndrs/zustand/pull/1792](https://togithub.com/pmndrs/zustand/pull/1792) - [@​Nipodemos](https://togithub.com/Nipodemos) made their first contribution in [https://github.com/pmndrs/zustand/pull/1782](https://togithub.com/pmndrs/zustand/pull/1782) - [@​vadimshvetsov](https://togithub.com/vadimshvetsov) made their first contribution in [https://github.com/pmndrs/zustand/pull/1800](https://togithub.com/pmndrs/zustand/pull/1800) - [@​bobylito](https://togithub.com/bobylito) made their first contribution in [https://github.com/pmndrs/zustand/pull/1810](https://togithub.com/pmndrs/zustand/pull/1810) - [@​celineling](https://togithub.com/celineling) made their first contribution in [https://github.com/pmndrs/zustand/pull/1804](https://togithub.com/pmndrs/zustand/pull/1804) - [@​valerii15298](https://togithub.com/valerii15298) made their first contribution in [https://github.com/pmndrs/zustand/pull/1819](https://togithub.com/pmndrs/zustand/pull/1819) - [@​Hecmatyar](https://togithub.com/Hecmatyar) made their first contribution in [https://github.com/pmndrs/zustand/pull/1816](https://togithub.com/pmndrs/zustand/pull/1816) - [@​203x](https://togithub.com/203x) made their first contribution in [https://github.com/pmndrs/zustand/pull/1826](https://togithub.com/pmndrs/zustand/pull/1826) - [@​Ciensprog](https://togithub.com/Ciensprog) made their first contribution in [https://github.com/pmndrs/zustand/pull/1844](https://togithub.com/pmndrs/zustand/pull/1844) - [@​Romainlg29](https://togithub.com/Romainlg29) made their first contribution in [https://github.com/pmndrs/zustand/pull/1843](https://togithub.com/pmndrs/zustand/pull/1843) - [@​dcorb](https://togithub.com/dcorb) made their first contribution in [https://github.com/pmndrs/zustand/pull/1847](https://togithub.com/pmndrs/zustand/pull/1847) - [@​ivoilic](https://togithub.com/ivoilic) made their first contribution in [https://github.com/pmndrs/zustand/pull/1856](https://togithub.com/pmndrs/zustand/pull/1856) - [@​Kiku-CN](https://togithub.com/Kiku-CN) made their first contribution in [https://github.com/pmndrs/zustand/pull/1889](https://togithub.com/pmndrs/zustand/pull/1889) - [@​LartyHD](https://togithub.com/LartyHD) made their first contribution in [https://github.com/pmndrs/zustand/pull/1893](https://togithub.com/pmndrs/zustand/pull/1893) - [@​ChoiHyunjin](https://togithub.com/ChoiHyunjin) made their first contribution in [https://github.com/pmndrs/zustand/pull/1903](https://togithub.com/pmndrs/zustand/pull/1903) - [@​thesuryavivek](https://togithub.com/thesuryavivek) made their first contribution in [https://github.com/pmndrs/zustand/pull/1906](https://togithub.com/pmndrs/zustand/pull/1906) - [@​thedipankarroy](https://togithub.com/thedipankarroy) made their first contribution in [https://github.com/pmndrs/zustand/pull/1913](https://togithub.com/pmndrs/zustand/pull/1913) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.8...v4.3.9 ### [`v4.3.8`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.8) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.7...v4.3.8) 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 - chore: add extension in imports by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1678](https://togithub.com/pmndrs/zustand/pull/1678) - feat(middleware/persist): improve createJSONStorage for Maps by [@​lauhon](https://togithub.com/lauhon) in [https://github.com/pmndrs/zustand/pull/1763](https://togithub.com/pmndrs/zustand/pull/1763) - chore(tests): migrate to vitest by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/zustand/pull/1753](https://togithub.com/pmndrs/zustand/pull/1753) #### New Contributors - [@​JacobWeisenburger](https://togithub.com/JacobWeisenburger) made their first contribution in [https://github.com/pmndrs/zustand/pull/1737](https://togithub.com/pmndrs/zustand/pull/1737) - [@​spacemeowx2](https://togithub.com/spacemeowx2) made their first contribution in [https://github.com/pmndrs/zustand/pull/1742](https://togithub.com/pmndrs/zustand/pull/1742) - [@​arjunvegda](https://togithub.com/arjunvegda) made their first contribution in [https://github.com/pmndrs/zustand/pull/1754](https://togithub.com/pmndrs/zustand/pull/1754) - [@​zc627788](https://togithub.com/zc627788) made their first contribution in [https://github.com/pmndrs/zustand/pull/1752](https://togithub.com/pmndrs/zustand/pull/1752) - [@​arvinxx](https://togithub.com/arvinxx) made their first contribution in [https://github.com/pmndrs/zustand/pull/1758](https://togithub.com/pmndrs/zustand/pull/1758) - [@​SilentFlute](https://togithub.com/SilentFlute) made their first contribution in [https://github.com/pmndrs/zustand/pull/1762](https://togithub.com/pmndrs/zustand/pull/1762) - [@​dannobytes](https://togithub.com/dannobytes) made their first contribution in [https://github.com/pmndrs/zustand/pull/1779](https://togithub.com/pmndrs/zustand/pull/1779) - [@​BLooDBRothER](https://togithub.com/BLooDBRothER) made their first contribution in [https://github.com/pmndrs/zustand/pull/1777](https://togithub.com/pmndrs/zustand/pull/1777) - [@​lauhon](https://togithub.com/lauhon) made their first contribution in [https://github.com/pmndrs/zustand/pull/1763](https://togithub.com/pmndrs/zustand/pull/1763) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.7...v4.3.8 ### [`v4.3.7`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.7) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.6...v4.3.7) This includes a couple of improvements in `persist` middleware. #### What's Changed - feat(middleware/persist): add skip hydration option [#​405](https://togithub.com/pmndrs/zustand/issues/405) by [@​gmanninglive](https://togithub.com/gmanninglive) in [https://github.com/pmndrs/zustand/pull/1647](https://togithub.com/pmndrs/zustand/pull/1647) - fix(middleware/persist): ensure `persist` does not drop updates in `onRehydrateStorage` when using a synchronous storage API by [@​coffeebeats](https://togithub.com/coffeebeats) in [https://github.com/pmndrs/zustand/pull/1689](https://togithub.com/pmndrs/zustand/pull/1689) - fix(middleware/persist): ensure argument for `onRehydrateStorage` and `onHydrate` is defined on first hydration by [@​coffeebeats](https://togithub.com/coffeebeats) in [https://github.com/pmndrs/zustand/pull/1692](https://togithub.com/pmndrs/zustand/pull/1692) #### New Contributors - [@​hi-otto](https://togithub.com/hi-otto) made their first contribution in [https://github.com/pmndrs/zustand/pull/1687](https://togithub.com/pmndrs/zustand/pull/1687) - [@​pastelmind](https://togithub.com/pastelmind) made their first contribution in [https://github.com/pmndrs/zustand/pull/1707](https://togithub.com/pmndrs/zustand/pull/1707) - [@​gmanninglive](https://togithub.com/gmanninglive) made their first contribution in [https://github.com/pmndrs/zustand/pull/1647](https://togithub.com/pmndrs/zustand/pull/1647) - [@​coffeebeats](https://togithub.com/coffeebeats) made their first contribution in [https://github.com/pmndrs/zustand/pull/1689](https://togithub.com/pmndrs/zustand/pull/1689) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.6...v4.3.7 ### [`v4.3.6`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.6) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.5...v4.3.6) This has a little improvement for library authors. #### What's Changed - fix(react, types): relax react types by [@​lukesmurray](https://togithub.com/lukesmurray) in [https://github.com/pmndrs/zustand/pull/1589](https://togithub.com/pmndrs/zustand/pull/1589) - fix: typo in shallow.ts by [@​ysulyma](https://togithub.com/ysulyma) in [https://github.com/pmndrs/zustand/pull/1667](https://togithub.com/pmndrs/zustand/pull/1667) #### New Contributors - [@​ctolmsted](https://togithub.com/ctolmsted) made their first contribution in [https://github.com/pmndrs/zustand/pull/1670](https://togithub.com/pmndrs/zustand/pull/1670) - [@​kevin51jiang](https://togithub.com/kevin51jiang) made their first contribution in [https://github.com/pmndrs/zustand/pull/1674](https://togithub.com/pmndrs/zustand/pull/1674) - [@​lukesmurray](https://togithub.com/lukesmurray) made their first contribution in [https://github.com/pmndrs/zustand/pull/1589](https://togithub.com/pmndrs/zustand/pull/1589) - [@​ysulyma](https://togithub.com/ysulyma) made their first contribution in [https://github.com/pmndrs/zustand/pull/1667](https://togithub.com/pmndrs/zustand/pull/1667) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.5...v4.3.6 ### [`v4.3.5`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.5) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.4...v4.3.5) v4.3.4 has a regression in CJS build. Please use this version instead. #### What's Changed - fix(build): re-export createStore from index by [@​hiendv](https://togithub.com/hiendv) in [https://github.com/pmndrs/zustand/pull/1661](https://togithub.com/pmndrs/zustand/pull/1661) #### New Contributors - [@​jmantonellini](https://togithub.com/jmantonellini) made their first contribution in [https://github.com/pmndrs/zustand/pull/1485](https://togithub.com/pmndrs/zustand/pull/1485) - [@​hiendv](https://togithub.com/hiendv) made their first contribution in [https://github.com/pmndrs/zustand/pull/1661](https://togithub.com/pmndrs/zustand/pull/1661) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.4...v4.3.5 ### [`v4.3.4`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.4) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.3...v4.3.4) This version fixes some build configs for some edge cases. ⚠️ this version has an issue in CJS build. Please use v4.3.5. #### What's Changed - fix(build): UMD names by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1632](https://togithub.com/pmndrs/zustand/pull/1632) - fix(build): possibly improve ESM for production build by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1645](https://togithub.com/pmndrs/zustand/pull/1645) - fix(build): add explicit export paths for cjs by [@​barelyhuman](https://togithub.com/barelyhuman) in [https://github.com/pmndrs/zustand/pull/1659](https://togithub.com/pmndrs/zustand/pull/1659) #### New Contributors - [@​AwesomeDevin](https://togithub.com/AwesomeDevin) made their first contribution in [https://github.com/pmndrs/zustand/pull/1633](https://togithub.com/pmndrs/zustand/pull/1633) - [@​adimit](https://togithub.com/adimit) made their first contribution in [https://github.com/pmndrs/zustand/pull/1641](https://togithub.com/pmndrs/zustand/pull/1641) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.3...v4.3.4 ### [`v4.3.3`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.3) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.2...v4.3.3) This version includes some small fixes and internal improvements. #### What's Changed - fix(build): improve patch scripts by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1593](https://togithub.com/pmndrs/zustand/pull/1593) - fix(log): deprecated messages copyedit for consistency by [@​jareha](https://togithub.com/jareha) in [https://github.com/pmndrs/zustand/pull/1588](https://togithub.com/pmndrs/zustand/pull/1588) - chore: remove `__DEV__` with ts-jest by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1598](https://togithub.com/pmndrs/zustand/pull/1598) - fix(build): reorder the types field in package.json by [@​HiChen404](https://togithub.com/HiChen404) in [https://github.com/pmndrs/zustand/pull/1600](https://togithub.com/pmndrs/zustand/pull/1600) #### New Contributors - [@​nitedani](https://togithub.com/nitedani) made their first contribution in [https://github.com/pmndrs/zustand/pull/1544](https://togithub.com/pmndrs/zustand/pull/1544) - [@​nus3](https://togithub.com/nus3) made their first contribution in [https://github.com/pmndrs/zustand/pull/1550](https://togithub.com/pmndrs/zustand/pull/1550) - [@​holgergp](https://togithub.com/holgergp) made their first contribution in [https://github.com/pmndrs/zustand/pull/1565](https://togithub.com/pmndrs/zustand/pull/1565) - [@​JoaoPauloLousada](https://togithub.com/JoaoPauloLousada) made their first contribution in [https://github.com/pmndrs/zustand/pull/1605](https://togithub.com/pmndrs/zustand/pull/1605) - [@​sajadtorkamani](https://togithub.com/sajadtorkamani) made their first contribution in [https://github.com/pmndrs/zustand/pull/1606](https://togithub.com/pmndrs/zustand/pull/1606) - [@​zhangrenyang](https://togithub.com/zhangrenyang) made their first contribution in [https://github.com/pmndrs/zustand/pull/1608](https://togithub.com/pmndrs/zustand/pull/1608) - [@​jareha](https://togithub.com/jareha) made their first contribution in [https://github.com/pmndrs/zustand/pull/1588](https://togithub.com/pmndrs/zustand/pull/1588) - [@​HiChen404](https://togithub.com/HiChen404) made their first contribution in [https://github.com/pmndrs/zustand/pull/1600](https://togithub.com/pmndrs/zustand/pull/1600) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.2...v4.3.3 ### [`v4.3.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.2) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.1...v4.3.2) 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 - fix(vanilla,shallow): default export regression in CJS by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1531](https://togithub.com/pmndrs/zustand/pull/1531) - fix(middleware/persist): Fix the storage type by [@​MOZGIII](https://togithub.com/MOZGIII) in [https://github.com/pmndrs/zustand/pull/1540](https://togithub.com/pmndrs/zustand/pull/1540) #### New Contributors - [@​CatMonster](https://togithub.com/CatMonster) made their first contribution in [https://github.com/pmndrs/zustand/pull/1539](https://togithub.com/pmndrs/zustand/pull/1539) - [@​MOZGIII](https://togithub.com/MOZGIII) made their first contribution in [https://github.com/pmndrs/zustand/pull/1540](https://togithub.com/pmndrs/zustand/pull/1540) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.1...v4.3.2 ### [`v4.3.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.1) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.3.0...v4.3.1) This version supersedes v4.3.0. #### What's Changed - chore: show deprecated message only in DEV by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1523](https://togithub.com/pmndrs/zustand/pull/1523) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.3.0...v4.3.1 ### [`v4.3.0`](https://togithub.com/pmndrs/zustand/releases/tag/v4.3.0) [Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.2.0...v4.3.0) 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 - feat: deprecate some APIs toward v5 by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1403](https://togithub.com/pmndrs/zustand/pull/1403) - feat: deprecate default export by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1514](https://togithub.com/pmndrs/zustand/pull/1514) - fix(middleware/persist): hydrate in sync (new impl with storage option) by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1518](https://togithub.com/pmndrs/zustand/pull/1518) #### New Contributors - [@​adil62](https://togithub.com/adil62) made their first contribution in [https://github.com/pmndrs/zustand/pull/1502](https://togithub.com/pmndrs/zustand/pull/1502) - [@​wcastand](https://togithub.com/wcastand) made their first contribution in [https://github.com/pmndrs/zustand/pull/1512](https://togithub.com/pmndrs/zustand/pull/1512) **Full Changelog**: https://github.com/pmndrs/zustand/compare/v4.2.0...v4.3.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.