Releases: directus/rstore
Releases · directus/rstore
v0.8.2
🚀 Enhancements
- Dynamic collection name (a08d447)
- vue: Compare query options before reloading (b10a34d)
- Pagination (3806b0c)
🩹 Fixes
- gc: Take into account include from the query (f44d309)
- Check if key is nullish instead of falsy (1d92c72)
- Duplicate call to wrapItem in findFirst (71b4d48)
- Only generate one collections file and write it to disk (06071d1)
- Exclude
.tsfrom the generated collections file (a904ded) - FindFirst/findMany update options fetchPolicy (e91e0d9)
- vue:
query(q => q.many(): Typing of TOptions with no parameter passed to many (a99a512)
🏡 Chore
- Nuxt vite:extendConfig hook is deprecated (8593237)
✅ Tests
- lint: Update antfu eslint to split type imports (4773d8d)
❤️ Contributors
- Guillaume Chau (@Akryum)
v0.8.1
v0.8.0
🚀 Enhancements
- Revamped cache and layers for faster performance (2b59e9b)
- nuxt: Newer nuxt dependency and related improvements (baa8497)
- query: Use onServerPrefetch to allow SSR without awaiting the query in script setup (1f3394f)
- drizzle: Realtime updates with websockets (1070ed5)
- Offline (9556f2b)
🔥 Performance
- Simpler relation lookup (1e0319f)
🩹 Fixes
- Call plugin setup simultaneously so they have the Nuxt context, preventing errors (d0ec259)
- directus: Import form
#importsinstead ofnuxt/app(6c854e4) - drizzle: Use
/api/rstore-realtime/wsas default websocket path (420ee34)
📖 Documentation
🏡 Chore
- Update pnpm (5c05331)
❤️ Contributors
- Guillaume Chau (@Akryum)
v0.7.8
v0.7.7
🚀 Enhancements
🔥 Performance
- Shallow items in the cache (3c0b535)
🩹 Fixes
- Improve item wrapping for fetchPolicy 'no-cache' (d0fbe6e)
- Deduplicate wrapped items ownKeys (4673a1f)
- Handle JSON stringifying wrapped items (d0158f3)
- gc: Don't run a garbage collection on query unmount (f180d31)
❤️ Contributors
- Guillaume Chau (@Akryum)
v0.7.6
v0.7.5
🚀 Enhancements
- New garbage collector (2378647)
- Expose useQueryTracking (42865ff)
- Allow passing meta to find options (ed8e3d0)
- AddToQueryTracking (cdfc3f8)
🩹 Fixes
- devtools: Cache count per collection not working if no layer is selected (2a157a3)
- More stable tracking query id (b1d8ae1)
- Enumerate relations and computed so watch deep works (b737d9a)
- Export setActiveStore (3484a28)
📖 Documentation
🌊 Types
- New RstoreGlobal augmentable interface to apply custom store types to plugin hooks etc. (0bc5706)
❤️ Contributors
- Guillaume Chau (@Akryum)
- Rijk Van Zanten (@rijkvanzanten)
v0.7.4
v0.7.3
🚀 Enhancements
- devtools: Improved filters (a3f59d3)
- devtools: Cache layers (d7d1038)
- devtools: Go to cache tab from collections (dd18099)
- cache: Handle frozen items in writeItem (6586aec)
- nuxt-drizzle: Extras in query transform (803a569)
- CreateMany, updateMany, deleteMany (40aaa50)
🔥 Performance
- cache: Iterate over state directly (7016950)
- devtools: Considerably reduce overhead of adding history records (453f85a)
🩹 Fixes
- Relations undefined if fetchPolicy is no-cache (9845539)
- Use item as proxy target to improve dx in browser devtools (a11b218)
- devtools: Local icon (35bcdc5)
- nuxt-drizzle: Allow any field in where clauses (84301f1)
- nuxt-drizzle: OrderBy allow any column name (b7d07b5)
- cache: Handle existing frozen items in cache (f4bb64f)
❤️ Contributors
- Guillaume Chau (@Akryum)