Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pmndrs/zustand
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.10
Choose a base ref
...
head repository: pmndrs/zustand
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.11
Choose a head ref
  • 17 commits
  • 13 files changed
  • 13 contributors

Commits on Jan 12, 2026

  1. test(middlewareTypes): replace 'void' with 'expectTypeOf' for type as…

    …sertions (#3352)
    
    * test(middlewareTypes): replace 'void' with 'expectTypeOf' and 'expect' for type assertions
    
    * test(middlewareTypes): replace deprecated 'toMatchTypeOf' with 'toHaveProperty'
    
    * test(middlewareTypes): replace 'toBeNumber', 'toBeVoid', 'toBeBoolean' with 'toEqualTypeOf' for stricter type checking
    
    * test(middlewareTypes): wrap 'setState', 'subscribe', 'persist.hasHydrated' with 'expectTypeOf' for type verification
    
    * test(middlewareTypes): remove redundant 'expect(useBoundStore).toBeDefined()'
    
    * style(middlewareTypes): format 'setState' type assertion
    
    * test(middlewareTypes): replace 'toHaveProperty' with 'toExtend' for explicit type checking
    
    * style(middlewareTypes): format type assertion
    sukvvon authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    3cb547d View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. Configuration menu
    Copy the full SHA
    10231e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0ea6ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e329e5 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. chore: fix vitest type definitions (#3351)

    * chore: fix vitest type definitions
    
    * fix testing doc
    grigoriy-reshetniak authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    8815101 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. Fix Typo (#3363)

    DormancyWang authored Jan 19, 2026
    Configuration menu
    Copy the full SHA
    9e50621 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. chore(eslint.config): use 'globalIgnores' for ignored directories (#3365

    )
    
    Co-authored-by: 루밀LuMir <rpfos@naver.com>
    sukvvon and lumirlumir authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    c27934d View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump pmndrs/docs/.github/workflows/build.yml from 2 to 3 (

    …#3364)
    
    Bumps [pmndrs/docs/.github/workflows/build.yml](https://github.com/pmndrs/docs) from 2 to 3.
    - [Release notes](https://github.com/pmndrs/docs/releases)
    - [Changelog](https://github.com/pmndrs/docs/blob/main/CHANGELOG.md)
    - [Commits](pmndrs/docs@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: pmndrs/docs/.github/workflows/build.yml
      dependency-version: '3'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    dependabot[bot] and dai-shi authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    0f49ad8 View commit details
    Browse the repository at this point in the history
  3. Revert "chore(deps): bump pmndrs/docs/.github/workflows/build.yml fro…

    …m 2 to 3 (#3364)" (#3366)
    
    This reverts commit 0f49ad8.
    dai-shi authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    e7d4593 View commit details
    Browse the repository at this point in the history
  4. chore: improve typing in devtools middleware (#3362)

    * chore: improve typing in devtools middleware
    
    * chore: move checks to typeguard
    
    * address review comments
    
    * change true check to truthy
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    grigoriy-reshetniak and dai-shi authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    6e026d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d9ea330 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. Configuration menu
    Copy the full SHA
    6813f7b View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2026

  1. Configuration menu
    Copy the full SHA
    267a57c View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2026

  1. fix(persist): use window.localStorage as default storage reference (#…

    …3367)
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    honuuk and dai-shi authored Feb 1, 2026
    Configuration menu
    Copy the full SHA
    9b505ac View commit details
    Browse the repository at this point in the history
  2. fix(immer): Proper typing for immer middleware in combination with sl…

    …ices (#3371)
    
    * Add generic type parameter U to Immer type
    
    * Add a test for immer + sliced store typing
    
    * Rename test case for clarity on slice type
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    wheerd and dai-shi authored Feb 1, 2026
    Configuration menu
    Copy the full SHA
    3871d53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c81b4eb View commit details
    Browse the repository at this point in the history
  4. 5.0.11

    dai-shi committed Feb 1, 2026
    Configuration menu
    Copy the full SHA
    99379a6 View commit details
    Browse the repository at this point in the history
Loading