Packages

@pinia/colada

1.4.9 · 30 Oct 2026MIT207.8k / weekRepositoryHomepagenpmAtom feed

Your version

0.12.0

6 Nov 2024Where it was published

0.21.7 is the newest release of 0.12.x.

In short

3 breaking1 removed7 new7 fixed3 internal

  • Breaking

    transformError was never fully implemented so they are being removed and might come back if they is a real-word use case for them

  • Breaking

    If you were using the delayLoadingRef util, use the @pinia/colada-plugin-delay instead.

  • Breaking

    Renaming Error to defaultError allows to differentiate the property from the existing global Error class. Upgrading should be straightforward.

  • Removed

    Remove queryCache from mutation hooks

Release note

Breaking changes

  • Breaking

    transformError was never fully implemented so they are being removed and might come back if they is a real-word use case for them

  • Breaking

    If you were using the delayLoadingRef util, use the @pinia/colada-plugin-delay instead.

  • Breaking

    Renaming Error to defaultError allows to differentiate the property from the existing global Error class. Upgrading should be straightforward.

Features

  • Add initial delay plugin

  • Add track and untrack actions for plugins

  • Allow dynamic values for auto refetches

  • Allow extending useQuery return

  • Expose more types

  • plugins: pass scope for added variables

  • Work without the plugin

Bug Fixes

  • Avoid broken reactivity in defineQuery

  • Dedupe pinia colada

  • Keep data if signal is aborted

  • Pass onMutate context (618312b), closes #95

  • Removed

    Remove queryCache from mutation hooks

  • Run create in ssr too

  • ssr: throw on error in query

  • Upgrade to new cache format

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.