From a365dabf282bbc4d14e679ca5c08625bd1aa8511 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Aug 2024 22:45:37 +0000 Subject: [PATCH] Version Packages --- .changeset/nice-worms-juggle.md | 5 ----- .changeset/pink-horses-pay.md | 5 ----- .changeset/short-scissors-speak.md | 7 ------- CHANGELOG.md | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 .changeset/nice-worms-juggle.md delete mode 100644 .changeset/pink-horses-pay.md delete mode 100644 .changeset/short-scissors-speak.md diff --git a/.changeset/nice-worms-juggle.md b/.changeset/nice-worms-juggle.md deleted file mode 100644 index 92aa1051b69..00000000000 --- a/.changeset/nice-worms-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix an issue where `fetchMore` would write its result data to the cache when using it with a `no-cache` fetch policy. diff --git a/.changeset/pink-horses-pay.md b/.changeset/pink-horses-pay.md deleted file mode 100644 index c2773153ddf..00000000000 --- a/.changeset/pink-horses-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix an issue where executing `fetchMore` with a `no-cache` fetch policy could sometimes result in multiple network requests. diff --git a/.changeset/short-scissors-speak.md b/.changeset/short-scissors-speak.md deleted file mode 100644 index 38a6d8aa45b..00000000000 --- a/.changeset/short-scissors-speak.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@apollo/client": patch ---- - -**Potentially disruptive change** - -When calling `fetchMore` with a query that has a `no-cache` fetch policy, `fetchMore` will now throw if an `updateQuery` function is not provided. This provides a mechanism to merge the results from the `fetchMore` call with the query's previous result. diff --git a/CHANGELOG.md b/CHANGELOG.md index 51591c9c575..ad48d661aa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # @apollo/client +## 3.11.3 + +### Patch Changes + +- [#11974](https://github.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where `fetchMore` would write its result data to the cache when using it with a `no-cache` fetch policy. + +- [#11974](https://github.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where executing `fetchMore` with a `no-cache` fetch policy could sometimes result in multiple network requests. + +- [#11974](https://github.com/apollographql/apollo-client/pull/11974) [`c95848e`](https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450) Thanks [@jerelmiller](https://github.com/jerelmiller)! - **Potentially disruptive change** + + When calling `fetchMore` with a query that has a `no-cache` fetch policy, `fetchMore` will now throw if an `updateQuery` function is not provided. This provides a mechanism to merge the results from the `fetchMore` call with the query's previous result. + ## 3.11.2 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 8b04f0cfb83..253b3073f96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.11.2", + "version": "3.11.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.11.2", + "version": "3.11.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index d8e4c99a341..93736d8011e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.11.2", + "version": "3.11.3", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [