diff --git a/CHANGELOG.md b/CHANGELOG.md index 9200ab16643..e15310b8ace 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ TBD - When `@apollo/client` is imported as CommonJS (for example, in Node.js), the global `process` variable is now shadowed with a stripped-down object that includes only `process.env.NODE_ENV` (since that's all Apollo Client needs), eliminating the significant performance penalty of repeatedly accessing `process.env` at runtime.
[@benjamn](https://github.com/benjamn) in [#7627](https://github.com/apollographql/apollo-client/pull/7627) +- Allow identical subscriptions to be deduplicated by default, like queries.
+ [@jkossis](https://github.com/jkossis) in [#6910](https://github.com/apollographql/apollo-client/pull/6910) + ### Documentation TBD diff --git a/src/core/QueryManager.ts b/src/core/QueryManager.ts index abb70d60844..152af9de30b 100644 --- a/src/core/QueryManager.ts +++ b/src/core/QueryManager.ts @@ -661,7 +661,6 @@ export class QueryManager { query, context, variables, - false, ).map(result => { if (fetchPolicy !== 'no-cache') { // the subscription interface should handle not sending us results we no longer subscribe to.