Skip to content

@urql/exchange-graphcache@9.0.3

Choose a tag to compare

@github-actions github-actions released this 05 Dec 04:45
Immutable release. Only release title and notes can be modified.
6953271

Patch Changes

  • Persist results that are written to the cache while the offlineExchange's storage is still being read, such as server-rendered results restored on page load; previously these never reached the storage
    Submitted by @dargmuesli (See #3926)
  • Ensure in-flight queries updated or invalidated by a subscription result are always refetched once their in-flight request completes, even when Client.reexecuteOperation deduplicates the intermediate cache-first reexecute
    Submitted by @EnesKartal (See #3930)
  • Give each mutation its own optimistic layer, even when its variables match another pending mutation. Previously, repeating a mutation with the same variables reused the earlier mutation's optimistic layer, so its stale optimistic data could hide newer optimistic updates. This showed up with offlineExchange when the same mutation was queued more than once while offline
    Submitted by @JoviDeCroock (See #3919)
  • Updated dependencies (See #3922)
    • @urql/core@6.0.4