Skip to content

fix(deps): update dependency zustand to v5#105

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/zustand-5.x
Open

fix(deps): update dependency zustand to v5#105
renovate[bot] wants to merge 1 commit intomainfrom
renovate/zustand-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jul 11, 2025

This PR contains the following updates:

Package Change Age Confidence
zustand ^4.1.0^5.0.0 age confidence

Release Notes

pmndrs/zustand (zustand)

v5.0.12

Compare Source

v5.0.11

Compare Source

This release includes small improvements in middleware thanks to contributors.

What's Changed
New Contributors

Full Changelog: pmndrs/zustand@v5.0.10...v5.0.11

v5.0.10

Compare Source

This version includes a fix to the persist middleware for an edge case.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.9...v5.0.10

v5.0.9

Compare Source

This includes experimental middleware unstable_ssrSafe for 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.8

Compare Source

A bug fix in shallow and a tiny improvement in persist.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.7...v5.0.8

v5.0.7

Compare 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.6

Compare Source

Some very minor changes.

What's Changed

  • fix(devtools): Avoid inferring action type when explicit action name is provided by @​vchirikov in #​3147
  • refactor(middleware): replace export * with explicit named and type exports by @​sukvvon in #​3151

New Contributors

Full Changelog: pmndrs/zustand@v5.0.5...v5.0.6

v5.0.5

Compare Source

It comes with some small improvements.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.4...v5.0.5

v5.0.4

Compare 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.3

Compare Source

ExtractState is 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.2

Compare Source

This fixes some issues in middleware.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.1...v5.0.2

v5.0.1

Compare Source

This fixes shallow function for some edge cases.

What's Changed

  • fix(shallow): fallback map-like iterator comparison by @​dai-shi in #​2795
  • fix(shallow): iterable-like insensitive keys order comparison (alternate implementation) by @​dai-shi in #​2821

New Contributors

Full Changelog: pmndrs/zustand@v5.0.0...v5.0.1

v5.0.0

Compare Source

🎉🎉🎉 Zustand v5 🐻🐻🐻

TL;DR

  • No new features
  • Drop many old things
  • Migration from v4 should be smooth.

Changes in v5

  • Drop default exports
  • Drop deprecated features
  • Make React 18 the minimum required version
  • Make use-sync-external-store a peer dependency (required for createWithEqualityFn and useStoreWithEqualityFn in zustand/traditional)
  • Make TypeScript 4.5 the minimum required version
  • Drop UMD/SystemJS support
  • Organize entry points in the package.json
  • Drop ES5 support
  • Stricter types when setState's replace flag is set
  • Persist middleware behavioral change
  • Other small improvements (technically breaking changes)

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:

Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

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 useShallow often fixes the problem.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v4.5.5...v5.0.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 11:59 PM ( * 0-23 * * * ) in timezone America/New_York, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin-web-app Error Error Mar 16, 2026 4:58am

Request Review

@renovate renovate bot added the renovate label Jul 11, 2025
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from f6202ad to 5802277 Compare July 11, 2025 03:06
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 5802277 to 00526c7 Compare July 13, 2025 17:24
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 00526c7 to 11e74f5 Compare July 14, 2025 18:59
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 11e74f5 to 5349c80 Compare July 17, 2025 21:33
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 5349c80 to e2aba6f Compare July 18, 2025 17:38
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from e2aba6f to 8ddde42 Compare July 18, 2025 20:47
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 8ddde42 to dd021de Compare July 21, 2025 09:47
@renovate renovate bot changed the title Update dependency zustand to v5 fix(deps): update dependency zustand to v5 Jul 21, 2025
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from dd021de to 9097b4f Compare July 21, 2025 17:17
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 9097b4f to 0489c3e Compare July 23, 2025 03:55
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 0489c3e to 11bcdd8 Compare July 27, 2025 03:54
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 11bcdd8 to 640252a Compare July 28, 2025 00:15
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 640252a to a5d5540 Compare July 28, 2025 00:21
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 98c784d to c70008a Compare August 3, 2025 12:37
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from c70008a to 2a87b1a Compare August 10, 2025 14:19
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 2a87b1a to 5bdf48e Compare August 10, 2025 20:23
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 5bdf48e to 3fb89e8 Compare August 13, 2025 14:10
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 3fb89e8 to 26b1fcd Compare August 19, 2025 19:00
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 26b1fcd to 9d93643 Compare August 20, 2025 00:10
@renovate renovate bot force-pushed the renovate/zustand-5.x branch 2 times, most recently from 4b418a4 to d89d373 Compare September 21, 2025 02:34
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from d89d373 to 569b05f Compare September 24, 2025 04:34
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 569b05f to 25e7b8b Compare September 25, 2025 19:11
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 25e7b8b to 618157d Compare September 25, 2025 22:06
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 618157d to 67286fb Compare October 21, 2025 10:11
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 67286fb to ccb8cb6 Compare October 24, 2025 05:12
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from ccb8cb6 to 486d7d5 Compare November 10, 2025 18:54
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 486d7d5 to 51349d2 Compare November 30, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants