Skip to content

chore: upgrade zustand from v4 to v5#45

Merged
EVWorth merged 1 commit intomainfrom
upgrade-zustand-v5
Apr 29, 2026
Merged

chore: upgrade zustand from v4 to v5#45
EVWorth merged 1 commit intomainfrom
upgrade-zustand-v5

Conversation

@EVWorth
Copy link
Copy Markdown
Owner

@EVWorth EVWorth commented Apr 29, 2026

Upgrades zustand from 4.5.0 to 5.0.12. Zustand v5 has stricter setState typing. Store creation API unchanged, no production code changes needed. Test fix: updated useQueryExecution.test.ts to cast partial state objects via unknown. All 275 tests pass, lint clean, type-check clean.

Zustand v5 introduces stricter typing for setState. Update test mocks
in useQueryExecution.test.ts to cast via unknown to satisfy the new
setState type constraints.

- zustand: ^4.5.0 -> ^5.0.12
- 275 tests pass, lint clean, type-check clean
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@EVWorth EVWorth merged commit f3df191 into main Apr 29, 2026
5 checks passed
@EVWorth EVWorth deleted the upgrade-zustand-v5 branch April 29, 2026 06:30
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.

2 participants