Skip to content

Commit 9d9f032

Browse files
authored
Merge branch 'main' into jerel/contribution-guidelines
2 parents e376078 + e8b8ff0 commit 9d9f032

13 files changed

Lines changed: 1354 additions & 16 deletions

File tree

.api-reports/api-report-core.api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,10 +1116,12 @@ interface QueryManagerOptions {
11161116
namespace QueryNotification {
11171117
// (undocumented)
11181118
type FromCache<TData> = NextNotification<ObservableQuery.Result<TData>> & {
1119+
resolvedVariables?: OperationVariables;
11191120
source: "cache";
11201121
};
11211122
// (undocumented)
11221123
type FromNetwork<TData> = ObservableNotification<ObservableQuery.Result<TData>> & {
1124+
resolvedVariables?: OperationVariables;
11231125
source: "network";
11241126
};
11251127
// (undocumented)

.api-reports/api-report.api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,10 +2530,12 @@ interface QueryManagerOptions {
25302530
namespace QueryNotification {
25312531
// (undocumented)
25322532
type FromCache<TData> = NextNotification<ObservableQuery.Result<TData>> & {
2533+
resolvedVariables?: OperationVariables;
25332534
source: "cache";
25342535
};
25352536
// (undocumented)
25362537
type FromNetwork<TData> = ObservableNotification<ObservableQuery.Result<TData>> & {
2538+
resolvedVariables?: OperationVariables;
25372539
source: "network";
25382540
};
25392541
// (undocumented)

.size-limits.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (CJS)": 47972,
3-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production) (CJS)": 42227,
4-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\"": 35919,
5-
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production)": 29427
2+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (CJS)": 48044,
3+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production) (CJS)": 42315,
4+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\"": 35982,
5+
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production)": 29489
66
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @apollo/client
22

3+
## 4.2.9
4+
5+
### Patch Changes
6+
7+
- [#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.
8+
9+
- [#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.
10+
311
## 4.2.8
412

513
### Patch Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/client",
3-
"version": "4.2.8",
3+
"version": "4.2.9",
44
"description": "A fully-featured caching GraphQL client.",
55
"private": true,
66
"keywords": [

0 commit comments

Comments
 (0)