v0.15: Vue 3, Collection.remove, useDebounce Upgrade
· 9 min read
New Platforms:
- Vue 3 with full composables: useSuspense, useCache, useDLE, useController, useQuery
New Features:
- Collection.remove for removing items from collections
- RestEndpoint.remove for combined PATCH + collection removal
- Unions can query() without type discriminator
- Invalidate supports Unions for polymorphic delete operations
- mockInitialState() for simpler test setup
Performance:
- 10-20% improvement for get/denormalize operations
- useDebounce() returns [val, isPending]
- ImmutableJS support moved to /imm exports
- Schema delegate interface consolidation
Upgrade with an automated codemod for common breaking changes:
npx jscodeshift -t https://dataclient.io/codemods/v0.15.js --extensions=ts,tsx,js,jsx src/
