Packages

zustand

5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed

Your version

124 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x
  2. 2.2.0

    24 Oct 2019
  3. 2.1.0

    11 Oct 2019
    • Removed SubscribeOptions and UseStoreSubscribeOptions types.

    • Added Subscriber type.

    • Improve performance by consolidating subscribers sparse array.

  4. 2.0.0

    9 Oct 2019
    • Removed ESM and IIFE versions of middleware.js and shallow.js. Any imports of the ".cjs" files should be changed from "zustand/{name}.cjs" to just "zustand/{name}" as they are all CommonJS now (index.js still has different formats).

    • api.subscribe has a new function signature that removes the object wrapper: api.subscribe(listener, selector?, equalityFn?).

    • StateListener type has changed. An overloaded signature was added for better error handling.

  5. 1.x
  6. 1.0.0 – 1.0.78 releases without a noteShow each
  7. 0.2.x
  8. 0.2.0 – 0.2.23 releases without a noteShow each
  9. 0.1.x
  10. 0.1.0 – 0.1.34 releases without a noteShow each
  11. 0.0.x
  12. 0.0.1 – 0.0.66 releases without a noteShow each