@pinia/colada
1.4.9 · 30 Oct 2026MIT207.8k / weekRepositoryHomepagenpmAtom feed
1.4.9 is the newest release of 1.x.
In short
6 new1 faster9 fixed
Release note
Features
Add
entrytoUseMutationGlobalContextAdd
defineMutationOptionsfor type-safe reusable mutation optionsAdd tagged key type to
defineMutationOptionsWarn when defineMutation is called outside a scope
infinite: Add
defineInfiniteQueryOptionsand getter support foruseInfiniteQueryinfinite-query: Add
setInfiniteQueryDatato safely set infinite query data
Bug Fixes
Avoid aborting settled queries during garbage collection
Missing global type of context in onMutate
Resolve type errors in defineMutationOptions tests
Avoid undefined in mutation key to fix type error with custom ErrorDefault
Also guard previousPageParam in the check
Use proper cast for readonly ext in test
Align defineMutation lifecycle with defineQuery
cache-persister: Guard localStorage.clear() for Node 25+
infinite-query: Guard computePageParams against missing ext refs
Performance
Smaller bundle
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.