Skip to content

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

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 14, 2024

This PR contains the following updates:

Package Change Age Confidence
zustand ^4.5.7^5.0.12 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 - 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.


  • 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

vercel bot commented Oct 14, 2024

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

Project Deployment Actions Updated (UTC)
jitaspace Ready Ready Preview, Comment Mar 16, 2026 5:00am

Request Review

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2024

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2025

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2025

@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/zustand-5.x branch from d7a3bb8 to 1de7fd9 Compare November 10, 2025 18:17
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 1de7fd9 to 27843bb Compare November 30, 2025 02:55
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 27843bb to 62a1cd4 Compare December 25, 2025 19:57
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 62a1cd4 to 87fa662 Compare December 29, 2025 11:59
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 87fa662 to ff79f63 Compare January 3, 2026 22:21
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from ff79f63 to 7095c3e Compare January 8, 2026 19:54
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 7095c3e to 7da253f Compare January 12, 2026 09:25
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 7da253f to 5ced89c Compare January 19, 2026 16:31
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 5ced89c to 61d7742 Compare January 27, 2026 22:14
@renovate renovate bot force-pushed the renovate/zustand-5.x branch from 61d7742 to 4aa6349 Compare February 1, 2026 15:01
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants