Skip to content

Releases: directus/rstore

v0.8.4

08 Mar 22:05

Choose a tag to compare

🚀 Enhancements

  • Pass pagination options to drizzle (f294f7e)
  • AI skills (experimental) (5b4172f)

🩹 Fixes

  • Pass findOptions.meta to core methods (3969992)
  • Allow overriding fetchPolicy in fetchMore (d8f593e)
  • module: Module getting disposed (4d458c9)

❤️ Contributors

v0.8.3

24 Feb 15:49

Choose a tag to compare

🚀 Enhancements

  • FindDefaults + resolveFindOptions (2eab3fc)
  • Unwrap items before processing in find/create/update (f4999b7)
  • Relations accept array of mappings (f27c039)
  • Cache pause/resume (fcbd41e)
  • offline: Pause cache while syncing to prevent flickering (f37b8a7)

🔥 Performance

  • Relation read now use indexes (64059ef)

🩹 Fixes

  • Check if collection wasn't removed in query tracking (1f2aafc)
  • Wrong query type on initial SSRed query meta lookup (6ec5953)
  • form: Reset is applied synchronously preventing unwanted form data updates (66ec510)
  • Handle falsy keys (bff4d0d)
  • Remove Cannot read computed page data without pageSize option error (32d47cc)
  • Update indexes on add/remove layer (6764e84)
  • FindFirst/findMany with cache-and-fetch not returning immediately + new fetchPromise returned (ec7c7d1)
  • query: Pagination + cache-and-fetch + gc was incorrectly gcing items from previous pages (f061ee7)
  • Opposite relations not computed on self (edd226b)
  • Update meta with fetch-and-cache (5cc76f1)
  • Update meta on background fetch only if fetch is valid (d0dfd7c)
  • Don't reset main page data on refresh (0c1db3a)
  • updateForm: DefaultValues not overriding the current item values (159dfb9)
  • drizzle: Sqlite like should be case insensitive (e78d5b7)

💅 Refactors

📖 Documentation

  • relation: Alternate mappings (f183409)

❤️ Contributors

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