@pinia/colada-nuxt v1.2.1
posva/pinia-colada
Summary
The @pinia/[email protected] release introduces a warning for removing active query entries and adds a feature to copy values as JSON in devtools. Additionally, several bug fixes enhance query handling, including improved management of defined queries and preservation of query cache for SSR head in Nuxt applications.
Full release notes
🚀 Features
- Warn when removing active query entries - by @posva in https://github.com/posva/pinia-colada/issues/656 (bc869)
- devtools: Copy values as JSON - by @posva in https://github.com/posva/pinia-colada/issues/670 (5ba3a)
🐞 Bug Fixes
- Discard gced old entries with defineQuery - by @posva (ac181)
- Skip onError for cancelled fetches in query hooks plugin - by @posva (15179)
- Avoid cancelling a non-ensured entry - by @posva (bee59)
- Move every defineQuery consumer to the new entry when its key changes - by @shrpne and Claude Opus 5.5 (84af9)
- Edge case leak with defineQuery - by @posva (6b163)
- Differentiate same-component tracking of defined queries - by @posva (b320e)
- Preserve replacement entries during stale GC - by @noise-kngdm and @posva in https://github.com/posva/pinia-colada/issues/657 (e2201)
- Abort in-flight queries with data on unmount - by @posva in https://github.com/posva/pinia-colada/issues/666 (8fcf5)
- auto-refetch: Skip refetch when staleTime is not finite - by @posva in https://github.com/posva/pinia-colada/issues/650 (e6472)
- define-query: Keep defined query state per app - by @posva in https://github.com/posva/pinia-colada/issues/659 (a4c23)
- nuxt: Preserve query cache for SSR head - by @sawa-ko in https://github.com/posva/pinia-colada/issues/668 (c007a)
