Pinia Colada v2.0.0
posva/pinia-coladaBreaking changes
Summary
Pinia Colada v2.0.0 introduces breaking changes, including the removal of rejection on refetch errors in InvalidateQueries. New features include warnings for nested defineQuery() calls, the addition of streamedQuery() and streamedMutation(), and enhanced mutation context handling. Several bug fixes improve the handling of aborted requests and data changes in infinite queries.
Breaking changes in v2.0.0
- InvalidateQueries no longer rejects on refetch errors - by @posva in https://github.com/posva/pinia-colada/issues/673 (5f8ec)
Full release notes
🚨 Breaking Changes
- InvalidateQueries no longer rejects on refetch errors - by @posva in https://github.com/posva/pinia-colada/issues/673 (5f8ec)
🚀 Features
- Warn when defineQuery() is called inside another defineQuery() - by @Krakor92 and Vincent FAIVRE in https://github.com/posva/pinia-colada/issues/690 (4533a)
- Add streamedQuery() - by @posva in https://github.com/posva/pinia-colada/issues/692 (e3f49)
- Pass mutationCache to the mutation context - by @posva (660b9)
- Add streamedMutation() - by @posva (e8d7a)
- Add signal and cancel() to mutations - by @posva (25b0f)
- Abort streamed mutations on cancel - by @posva (b25bf)
🐞 Bug Fixes
- Keep undefined initialValue in streamedMutation - by @posva (062f8)
- Refetch when a reused aborted request rejects - by @Karanvir1729 in https://github.com/posva/pinia-colada/issues/683 (c5023)
- infinite:
- Recompute pages when data changes - by @posva in https://github.com/posva/pinia-colada/issues/680 (88bb7)
- Retry the failed page instead of refetching loaded pages - by @posva in https://github.com/posva/pinia-colada/issues/686 (fecf9)