pinia-colada-skilld
posva/pinia-colada @pinia/colada@1.2.1
Tags: latest: 1.2.1
References: Docs
API Changes
This section documents version-specific API changes — prioritize recent major/minor releases.
-
BREAKING:
useInfiniteQuery()— v0.20.0 refactored: removedmerge, changeddatato{ pages, pageParams },initialPage→initialPageParam,loadMore→loadNextPage, andgetNextPageParamis now required (experimental) source -
BREAKING:
PiniaColadainstallation — v0.14.0 moved global options toqueryOptions: { ... }and requires an options object for typing:app.use(PiniaColada, {})source -
BREAKING:
useQuery()aliases —isFetchingwas renamed toisLoadingin v0.8.0 to better reflect its connection toasyncStatussource -
BREAKING: Status split — v0.8.0 split
statusintostatus(data:'pending'|'success'|'error') andasyncStatus(operation:'idle'|'loading') source -
BREAKING: Mutation IDs — v0.19.0 simplified mutation IDs to incremented numbers (starting at 1).
mutationCache.get()now takes the ID, and$nsuffix is removed from keys source -
BREAKING: Cache Key structure — v0.16.0 refactored internal cache to support deeply nested objects for keys.
toCacheKeynow returns a plain string. Stricter types disallowundefinedin keys source