@apollo/client 3.9.0 → 3.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @apollo/client
2
2
 
3
+ ## 3.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#11516](https://github.com/apollographql/apollo-client/pull/11516) [`8390fea`](https://github.com/apollographql/apollo-client/commit/8390fea13175bada8361ba5f0df2e43197085aba) Thanks [@phryneas](https://github.com/phryneas)! - Fix an incorrect string substitution in a warning message.
8
+
9
+ - [#11515](https://github.com/apollographql/apollo-client/pull/11515) [`c9bf93b`](https://github.com/apollographql/apollo-client/commit/c9bf93bdc2816f7fdba96961e1435f463f440bd1) Thanks [@vladar](https://github.com/vladar)! - Avoid redundant refetchQueries call for mutation with no-cache policy (fixes #10238)
10
+
11
+ - [#11545](https://github.com/apollographql/apollo-client/pull/11545) [`84a6bea`](https://github.com/apollographql/apollo-client/commit/84a6beaeae69acdffea49ba6b8242752cc188172) Thanks [@alessbell](https://github.com/alessbell)! - Remove error thrown by `inFlightLinkObservables` intended to be removed before 3.9 release.
12
+
3
13
  ## 3.9.0
4
14
 
5
15
  ### Minor Changes
package/apollo-client.cjs CHANGED
@@ -33,7 +33,7 @@ var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
33
33
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
34
34
  var React__namespace$1 = /*#__PURE__*/_interopNamespace(React$1);
35
35
 
36
- var version = "3.9.0";
36
+ var version = "3.9.1";
37
37
 
38
38
  function maybe(thunk) {
39
39
  try {
@@ -6026,11 +6026,6 @@ var QueryManager = (function () {
6026
6026
  if ((this.onBroadcast = onBroadcast)) {
6027
6027
  this.mutationStore = Object.create(null);
6028
6028
  }
6029
- Object.defineProperty(this.inFlightLinkObservables, "get", {
6030
- value: function () {
6031
- throw new Error("This version of Apollo Client requires at least @apollo/experimental-nextjs-app-support version 0.5.2.");
6032
- },
6033
- });
6034
6029
  }
6035
6030
  QueryManager.prototype.stop = function () {
6036
6031
  var _this = this;
@@ -6217,7 +6212,7 @@ var QueryManager = (function () {
6217
6212
  }
6218
6213
  }
6219
6214
  if (cacheWrites.length > 0 ||
6220
- mutation.refetchQueries ||
6215
+ (mutation.refetchQueries || "").length > 0 ||
6221
6216
  mutation.update ||
6222
6217
  mutation.onQueryUpdated ||
6223
6218
  mutation.removeOptimistic) {