@pinia/colada
1.4.9 · 30 Oct 2026MIT207.8k / weekRepositoryHomepagenpmAtom feed
0.21.7 is the newest release of 0.11.x.
In short
4 breaking7 new1 faster1 fixed3 internal
- Breaking
mutations: This wasn't needed as instead, one can use
useQueryCache()outside. It could be added back if needed but it's more pragmatic to start without it. - Breaking
query: The
queryCache.cancelQuery()is renamed toqueryCache.cancel()to better match the other functions naming. A new functionqueryCache.cancelQueries()is added to actually cancel one or multiple queries instead of just one. - Breaking
plugins: In plugins,
cacheis renamed toqueryCachefor consistency. - Breaking
This makes it clearer that
queryCacheis the result ofuseQueryCache().
Release note
Breaking changes
- Breaking
mutations: This wasn't needed as instead, one can use
useQueryCache()outside. It could be added back if needed but it's
more pragmatic to start without it. - Breaking
query: The
queryCache.cancelQuery()is renamed toqueryCache.cancel()to better match the other functions naming. A new
functionqueryCache.cancelQueries()is added to actually cancel one or
multiple queries instead of just one. - Breaking
plugins: In plugins,
cacheis renamed toqueryCachefor
consistency. - Breaking
This makes it clearer that
queryCacheis the result
ofuseQueryCache().
Features
Add mutation store
hmr: warn against bugs
nuxt: add auto imports
nuxt: support colada.options
Predicate in filter
query: add cancelQueries
Run defined mutations in effect scope
Bug Fixes
nuxt: plugins
Performance Improvements
Tree shake unused stores
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.