Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Version Packages

Changed files
+14 -12
.changeset
exchanges
-5
.changeset/dirty-dragons-try.md
···
-
---
-
'@urql/exchange-refocus': minor
-
---
-
-
Switch from a `focus-event` triggering the refetch to a change in [`page-visbility`](https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API). This means that interacting with an `iframe` and then going back to the page won't trigger a refetch, interacting with Devtools won't cause refetches and a bubbled `focusEvent` won't trigger a refetch.
-5
.changeset/gorgeous-queens-fetch.md
···
-
---
-
'@urql/exchange-graphcache': patch
-
---
-
-
Enforce atomic optimistic updates so that optimistic layers are cleared before they're reapplied. This is important for instance when an optimistic update is performed while offline and then reapplied while online, which would previously repeat the optimistic update on top of its past data changes.
+6
exchanges/graphcache/CHANGELOG.md
···
# @urql/exchange-graphcache
+
## 3.1.7
+
+
### Patch Changes
+
+
- Enforce atomic optimistic updates so that optimistic layers are cleared before they're reapplied. This is important for instance when an optimistic update is performed while offline and then reapplied while online, which would previously repeat the optimistic update on top of its past data changes, by [@kitten](https://github.com/kitten) (See [#1080](https://github.com/FormidableLabs/urql/pull/1080))
+
## 3.1.6
### Patch Changes
+1 -1
exchanges/graphcache/package.json
···
{
"name": "@urql/exchange-graphcache",
-
"version": "3.1.6",
+
"version": "3.1.7",
"description": "A normalized and configurable cache exchange for urql",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/graphcache",
+6
exchanges/refocus/CHANGELOG.md
···
# Changelog
+
## 0.2.0
+
+
### Minor Changes
+
+
- Switch from a `focus-event` triggering the refetch to a change in [`page-visbility`](https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API). This means that interacting with an `iframe` and then going back to the page won't trigger a refetch, interacting with Devtools won't cause refetches and a bubbled `focusEvent` won't trigger a refetch, by [@tatchi](https://github.com/tatchi) (See [#1077](https://github.com/FormidableLabs/urql/pull/1077))
+
## v0.1.0
**Initial Release**
+1 -1
exchanges/refocus/package.json
···
{
"name": "@urql/exchange-refocus",
-
"version": "0.1.0",
+
"version": "0.2.0",
"description": "An exchange that dispatches active operations when the window regains focus",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",