From e8556c39ac7b893e4bfc39d6ddfdc3ea6eed786d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:50:48 -0600 Subject: [PATCH] Version Packages (#11728) Co-authored-by: github-actions[bot] --- .changeset/fuzzy-grapes-pump.md | 5 ----- .changeset/lovely-mayflies-grab.md | 5 ----- .changeset/mean-singers-cheer.md | 5 ----- CHANGELOG.md | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 .changeset/fuzzy-grapes-pump.md delete mode 100644 .changeset/lovely-mayflies-grab.md delete mode 100644 .changeset/mean-singers-cheer.md diff --git a/.changeset/fuzzy-grapes-pump.md b/.changeset/fuzzy-grapes-pump.md deleted file mode 100644 index ec438245888..00000000000 --- a/.changeset/fuzzy-grapes-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix an issue where rerendering `useBackgroundQuery` after the `queryRef` had been disposed, either via the auto dispose timeout or by unmounting `useReadQuery`, would cause the `queryRef` to be recreated potentially resulting in another network request. diff --git a/.changeset/lovely-mayflies-grab.md b/.changeset/lovely-mayflies-grab.md deleted file mode 100644 index f0ebb865afa..00000000000 --- a/.changeset/lovely-mayflies-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Allow queryRefs to be disposed of synchronously when a suspense hook unmounts. This prevents some situations where using a suspense hook with the same query/variables as the disposed queryRef accidentally used the disposed queryRef rather than creating a new instance. diff --git a/.changeset/mean-singers-cheer.md b/.changeset/mean-singers-cheer.md deleted file mode 100644 index b2cb9cd0982..00000000000 --- a/.changeset/mean-singers-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Bail out of `executeSubSelectedArray` calls if the array has 0 elements. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fe1d836cd9..eeb64da87b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @apollo/client +## 3.9.10 + +### Patch Changes + +- [#11738](https://github.com/apollographql/apollo-client/pull/11738) [`b1a5eb8`](https://github.com/apollographql/apollo-client/commit/b1a5eb80cae8bdf2e9d8627f1eab65e088c43438) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where rerendering `useBackgroundQuery` after the `queryRef` had been disposed, either via the auto dispose timeout or by unmounting `useReadQuery`, would cause the `queryRef` to be recreated potentially resulting in another network request. + +- [#11738](https://github.com/apollographql/apollo-client/pull/11738) [`b1a5eb8`](https://github.com/apollographql/apollo-client/commit/b1a5eb80cae8bdf2e9d8627f1eab65e088c43438) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Allow queryRefs to be disposed of synchronously when a suspense hook unmounts. This prevents some situations where using a suspense hook with the same query/variables as the disposed queryRef accidentally used the disposed queryRef rather than creating a new instance. + +- [#11670](https://github.com/apollographql/apollo-client/pull/11670) [`cc5c03b`](https://github.com/apollographql/apollo-client/commit/cc5c03b2690f452483d83eecb68611a23055d99e) Thanks [@phryneas](https://github.com/phryneas)! - Bail out of `executeSubSelectedArray` calls if the array has 0 elements. + ## 3.9.9 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index abd60c2b8b7..ee16767dc89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.9.9", + "version": "3.9.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.9.9", + "version": "3.9.10", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index ccc4b8f857c..988dd7102b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.9.9", + "version": "3.9.10", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [