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.reexecuteOperationdeduplicates the intermediatecache-firstreexecute
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
offlineExchangewhen the same mutation was queued more than once while offline
Submitted by @JoviDeCroock (See #3919) - Updated dependencies (See #3922)
- @urql/core@6.0.4