diff --git a/.changeset/lazy-parents-thank.md b/.changeset/lazy-parents-thank.md deleted file mode 100644 index 7e35d83112a..00000000000 --- a/.changeset/lazy-parents-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix a regression where rerendering a component with `useBackgroundQuery` would recreate the `queryRef` instance when used with React's strict mode. diff --git a/.changeset/seven-forks-own.md b/.changeset/seven-forks-own.md deleted file mode 100644 index a8c779efa57..00000000000 --- a/.changeset/seven-forks-own.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/client": patch ---- - -Revert the change introduced in -[3.9.10](https://github.com/apollographql/apollo-client/releases/tag/v3.9.10) via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b7d3be87b0..c23d83006ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # @apollo/client +## 3.10.2 + +### Patch Changes + +- [#11821](https://github.com/apollographql/apollo-client/pull/11821) [`2675d3c`](https://github.com/apollographql/apollo-client/commit/2675d3c97e6c47c6e298382004c7c9c2d3ffed0c) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix a regression where rerendering a component with `useBackgroundQuery` would recreate the `queryRef` instance when used with React's strict mode. + +- [#11821](https://github.com/apollographql/apollo-client/pull/11821) [`2675d3c`](https://github.com/apollographql/apollo-client/commit/2675d3c97e6c47c6e298382004c7c9c2d3ffed0c) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Revert the change introduced in + [3.9.10](https://github.com/apollographql/apollo-client/releases/tag/v3.9.10) via #11738 that disposed of queryRefs synchronously. This change caused too many issues with strict mode. + ## 3.10.1 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 3474a9a873d..6bbbcaa32cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.10.1", + "version": "3.10.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.10.1", + "version": "3.10.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 9a84c8e8c05..743ee496a4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.10.1", + "version": "3.10.2", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [