github urql-graphql/urql @urql/exchange-graphcache@9.0.3

latest release: urql@5.0.5
one hour ago

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

Don't miss a new urql release

NewReleases is sending notifications on new releases.