Skip to content

fix(deps): update dependency zustand to v5 (main-private) - #545

Open
renovate[bot] wants to merge 1 commit into
main-privatefrom
renovate/main-private-zustand-5.x
Open

renovate[bot] wants to merge 1 commit into
main-privatefrom
renovate/main-private-zustand-5.x

Conversation

@renovate

@renovate renovate Bot commented Dec 24, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
zustand 4.5.7 → 5.0.15 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pmndrs/zustand (zustand)

v5.0.15

Compare Source

Fix some issues in devtools and persist middleware.

What's Changed

Full Changelog: pmndrs/zustand@v5.0.14...v5.0.15

v5.0.14

Compare Source

This release fixes a type issue in devtools.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.13...v5.0.14

v5.0.13

Compare Source

This release includes an improvement in the devtools middleware.

What's Changed

New Contributors

Full Changelog: pmndrs/zustand@v5.0.12...v5.0.13

v5.0.12

Compare Source

Two small fixes.

What's Changed

New Contributors

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

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: (in timezone UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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

vercel Bot commented Dec 24, 2025 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
template-blog-webapp-nextjs Error Error Oct 6, 2026 10:51pm UTC

Request Review

@renovate
renovate Bot enabled auto-merge (squash) December 24, 2025 02:52
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 0cd06b2 to 4bb65a5 Compare January 12, 2026 10:46
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 4bb65a5 to 1ab706f Compare January 24, 2026 07:13
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 1ab706f to b84506a Compare February 1, 2026 03:02
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from b84506a to 0543559 Compare February 17, 2026 00:16
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 0543559 to f1c8934 Compare February 17, 2026 08:56
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from f1c8934 to 49479cc Compare March 3, 2026 09:46
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 49479cc to f400632 Compare March 8, 2026 07:42
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from f400632 to 770e8f8 Compare March 8, 2026 14:45
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 770e8f8 to b3ed234 Compare March 8, 2026 18:13
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from b3ed234 to c348e2a Compare March 8, 2026 18:20
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from c348e2a to 1bb1a3b Compare March 14, 2026 13:13
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 1bb1a3b to ebaf252 Compare March 16, 2026 03:10
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from ebaf252 to 861cb10 Compare March 19, 2026 22:46
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from faac178 to 993cd1b Compare April 24, 2026 23:56
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 993cd1b to d04dcda Compare May 5, 2026 03:47
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from d04dcda to 70f366d Compare May 15, 2026 10:50
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 70f366d to 89b72ea Compare May 30, 2026 20:03
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 89b72ea to 81d2be4 Compare June 22, 2026 03:54
@renovate renovate Bot changed the title fix: update dependency zustand to v5 (main-private) fix(deps): update dependency zustand to v5 (main-private) Jul 10, 2026
@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate labels Jul 10, 2026
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 81d2be4 to 381d820 Compare July 21, 2026 08:11
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 381d820 to 6c7d1b1 Compare July 21, 2026 08:26
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 6c7d1b1 to eaa2e70 Compare August 7, 2026 02:19
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from eaa2e70 to 131a1d5 Compare August 16, 2026 11:09
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 131a1d5 to 3ce17be Compare August 18, 2026 13:27
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 3ce17be to d4a5736 Compare September 9, 2026 01:26
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from d4a5736 to 5cd38cf Compare September 9, 2026 02:44
@renovate
renovate Bot force-pushed the renovate/main-private-zustand-5.x branch from 5cd38cf to e90984d Compare October 6, 2026 22:50

This branch had an error being deployed

1 failed deployment
Preview — e90984d3 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants