@pinia/colada
1.4.9 · 30 Oct 2026MIT207.8k / weekRepositoryHomepagenpmAtom feed
0.21.7 is the newest release of 0.18.x.
In short
1 breaking1 fixed
- Breaking
While technically a fix, this is a breaking change if you were relying on an external signal that aborts within the
query. It used to not set the state by just being an AbortError DomException and now it will become an error. This behavior is more correct as we don't want to ignore aborted signals that are external. Each fetch creates an AbortController and passes the signal toquerywhich is aborted (without a reason) if any other method of the store fetches again. This is done to avoid using an outdated request.
Release note
Breaking changes
- Breaking
While technically a fix, this is a breaking change if
you were relying on an external signal that aborts within thequery.
It used to not set the state by just being an AbortError DomException
and now it will become an error. This behavior is more correct as we
don't want to ignore aborted signals that are external. Each fetch
creates an AbortController and passes the signal toquerywhich is
aborted (without a reason) if any other method of the store fetches
again. This is done to avoid using an outdated request.
Bug Fixes
query: preserve any external AbortError
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.