Skip to content

Releases: directus/rstore

v0.8.2

26 Nov 20:51

Choose a tag to compare

🚀 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 .ts from 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

v0.8.1

05 Nov 13:24

Choose a tag to compare

🔥 Performance

  • vue: Cache collection state with layers (38e0b55)

🩹 Fixes

  • drizzle: Query can be nullish (e9d93b7)

📖 Documentation

  • Link to rstore drizzle demo (4b4f279)

🏡 Chore

❤️ Contributors

v0.8.0

25 Oct 06:21

Choose a tag to compare

🚀 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 #imports instead of nuxt/app (6c854e4)
  • drizzle: Use /api/rstore-realtime/ws as default websocket path (420ee34)

📖 Documentation

🏡 Chore

❤️ Contributors

v0.7.8

20 Oct 12:43

Choose a tag to compare

🩹 Fixes

  • drizzle: Dialect is wrong (491b3c4)
  • directus: Skip folder 'collections', closes #51 (#51)
  • Remove item relation cache (aa34b9a)

❤️ Contributors

v0.7.7

13 Oct 13:00

Choose a tag to compare

🚀 Enhancements

  • Many mutations added to collection hooks (9c229a1)
  • drizzle: Return deleted item (95c0391)

🔥 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

v0.7.6

05 Oct 16:48

Choose a tag to compare

🩹 Fixes

  • gc: Handle fetch skipped (abd8609)
  • Improve experimentalGarbageCollection query option (c66df81)
  • gc: Handle non wrapped items (73dda4c)

❤️ Contributors

v0.7.5

04 Oct 12:53

Choose a tag to compare

🚀 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

v0.7.4

23 Sep 11:01

Choose a tag to compare

🚀 Enhancements

  • form: ResetOnSuccess: false (787889d)
  • form: ValidateOnSubmit + pickOnlyChanged, closes #47 (#47)

🩹 Fixes

  • nuxt-drizzle: IsNull and similar where clause with no value not working (c19fd47)

🌊 Types

  • form: Allow void in submit (3372faa)

❤️ Contributors

v0.7.3

19 Sep 20:35

Choose a tag to compare

🚀 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

v0.7.2

17 Sep 09:43

Choose a tag to compare

🩹 Fixes

  • cache: Auto remove layer with same id (3f94499)
  • Always abort from collection hooks (9810cc7)

🌊 Types

  • Add TCollection generic to CustomCollectionMeta (ab1e8ed)

❤️ Contributors