diff --git a/.changeset/giant-beans-act.md b/.changeset/giant-beans-act.md deleted file mode 100644 index 7981f01794..0000000000 --- a/.changeset/giant-beans-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/exchange-graphcache': patch ---- - -Set `stale: true` on cache results, even if a reexecution has been blocked by the loop protection, if the operation is already pending and in-flight. diff --git a/.changeset/serious-tables-ring.md b/.changeset/serious-tables-ring.md deleted file mode 100644 index 7dfc7a8bd0..0000000000 --- a/.changeset/serious-tables-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/exchange-graphcache': patch ---- - -Fix `@defer` state leaking into following operations. diff --git a/examples/with-defer-stream-directives/package.json b/examples/with-defer-stream-directives/package.json index 3485d1b74f..dd2fb6b122 100644 --- a/examples/with-defer-stream-directives/package.json +++ b/examples/with-defer-stream-directives/package.json @@ -18,7 +18,7 @@ "dependencies": { "@graphql-yoga/plugin-defer-stream": "^1.7.1", "@urql/core": "^4.2.3", - "@urql/exchange-graphcache": "^6.4.0", + "@urql/exchange-graphcache": "^6.4.1", "graphql": "17.0.0-alpha.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-graphcache-pagination/package.json b/examples/with-graphcache-pagination/package.json index 9ce86eb3a0..a42fb7a676 100644 --- a/examples/with-graphcache-pagination/package.json +++ b/examples/with-graphcache-pagination/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@urql/core": "^4.2.3", - "@urql/exchange-graphcache": "^6.4.0", + "@urql/exchange-graphcache": "^6.4.1", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-graphcache-updates/package.json b/examples/with-graphcache-updates/package.json index 4b16905375..04d04b5de1 100644 --- a/examples/with-graphcache-updates/package.json +++ b/examples/with-graphcache-updates/package.json @@ -8,7 +8,7 @@ "dependencies": { "@urql/core": "^4.2.3", "@urql/exchange-auth": "^2.1.6", - "@urql/exchange-graphcache": "^6.4.0", + "@urql/exchange-graphcache": "^6.4.1", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-subscriptions-via-fetch/package.json b/examples/with-subscriptions-via-fetch/package.json index 4310f55271..038e7aac9b 100644 --- a/examples/with-subscriptions-via-fetch/package.json +++ b/examples/with-subscriptions-via-fetch/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@urql/core": "^4.2.3", - "@urql/exchange-graphcache": "^6.4.0", + "@urql/exchange-graphcache": "^6.4.1", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/exchanges/graphcache/CHANGELOG.md b/exchanges/graphcache/CHANGELOG.md index 2df6a30f1b..7455c6075b 100644 --- a/exchanges/graphcache/CHANGELOG.md +++ b/exchanges/graphcache/CHANGELOG.md @@ -1,5 +1,14 @@ # @urql/exchange-graphcache +## 6.4.1 + +### Patch Changes + +- Set `stale: true` on cache results, even if a reexecution has been blocked by the loop protection, if the operation is already pending and in-flight + Submitted by [@kitten](https://github.com/kitten) (See [#3493](https://github.com/urql-graphql/urql/pull/3493)) +- ⚠️ Fix `@defer` state leaking into following operations + Submitted by [@kitten](https://github.com/kitten) (See [#3497](https://github.com/urql-graphql/urql/pull/3497)) + ## 6.4.0 ### Minor Changes diff --git a/exchanges/graphcache/package.json b/exchanges/graphcache/package.json index d1f79c1985..7b8ae6268e 100644 --- a/exchanges/graphcache/package.json +++ b/exchanges/graphcache/package.json @@ -1,6 +1,6 @@ { "name": "@urql/exchange-graphcache", - "version": "6.4.0", + "version": "6.4.1", "description": "A normalized and configurable cache exchange for urql", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/graphcache",