diff --git a/.changeset/pink-shoes-cheer.md b/.changeset/pink-shoes-cheer.md deleted file mode 100644 index f171a881420..00000000000 --- a/.changeset/pink-shoes-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix a bug where GraphQL variable default values were not applied during cache reads when variables with defaults were explicitly set to `undefined`. This caused `@include`/`@skip` directives to throw "Invalid variable referenced" errors when the variable was passed as `undefined` instead of being omitted entirely. diff --git a/.changeset/stale-moles-tap.md b/.changeset/stale-moles-tap.md deleted file mode 100644 index 162f7a21799..00000000000 --- a/.changeset/stale-moles-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix an issue where some `@export` queries would not react to cache updates when the fields keyed by exported variables were updated. diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ba16f1f4f..c54872be445 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @apollo/client +## 4.2.9 + +### Patch Changes + +- [#13364](https://github.com/apollographql/apollo-client/pull/13364) [`2f383e7`](https://github.com/apollographql/apollo-client/commit/2f383e7e484ceaec72df205b52abf8430cc59891) Thanks [@atharv-sys32](https://github.com/atharv-sys32)! - Fix a bug where GraphQL variable default values were not applied during cache reads when variables with defaults were explicitly set to `undefined`. This caused `@include`/`@skip` directives to throw "Invalid variable referenced" errors when the variable was passed as `undefined` instead of being omitted entirely. + +- [#13367](https://github.com/apollographql/apollo-client/pull/13367) [`2b39cc8`](https://github.com/apollographql/apollo-client/commit/2b39cc8b2e0a6b0a6c1dfc2f64fa2940c59b23bd) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where some `@export` queries would not react to cache updates when the fields keyed by exported variables were updated. + ## 4.2.8 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index e6b8f512b36..cab81822182 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "4.2.8", + "version": "4.2.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "4.2.8", + "version": "4.2.9", "hasInstallScript": true, "license": "MIT", "workspaces": [ diff --git a/package.json b/package.json index 9c6ba856e6b..fb03cfc5b43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "4.2.8", + "version": "4.2.9", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [