@apollo/client 3.8.9 → 3.8.10
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 +8 -0
- package/apollo-client.cjs +3 -2
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/cache/inmemory/writeToStore.js.map +1 -1
- package/core/core.cjs +1 -1
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +1 -1
- package/dev/dev.cjs +2 -2
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +2 -2
- package/invariantErrorCodes.js +1 -1
- package/package.json +13 -13
- package/react/cache/QueryReference.js +2 -1
- package/react/cache/QueryReference.js.map +1 -1
- package/react/hooks/hooks.cjs +2 -1
- package/react/hooks/hooks.cjs.map +1 -1
- package/react/hooks/hooks.cjs.native.js +2 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @apollo/client
|
|
2
2
|
|
|
3
|
+
## 3.8.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#11489](https://github.com/apollographql/apollo-client/pull/11489) [`abfd02a`](https://github.com/apollographql/apollo-client/commit/abfd02abeb8585e44377e9e87e5d20e5d95be002) Thanks [@gronxb](https://github.com/gronxb)! - Fix `networkStatus` with `useSuspenseQuery` not properly updating to ready state when using a `cache-and-network` fetch policy that returns data equal to what is already in the cache.
|
|
8
|
+
|
|
9
|
+
- [#11483](https://github.com/apollographql/apollo-client/pull/11483) [`6394dda`](https://github.com/apollographql/apollo-client/commit/6394dda47fa83d9ddd922e0d05e62bd872e4ea8e) Thanks [@pipopotamasu](https://github.com/pipopotamasu)! - Fix cache override warning output
|
|
10
|
+
|
|
3
11
|
## 3.8.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/apollo-client.cjs
CHANGED
|
@@ -30,7 +30,7 @@ function _interopNamespace(e) {
|
|
|
30
30
|
var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
|
|
31
31
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
32
32
|
|
|
33
|
-
var version = "3.8.
|
|
33
|
+
var version = "3.8.10";
|
|
34
34
|
|
|
35
35
|
function maybe(thunk) {
|
|
36
36
|
try {
|
|
@@ -7972,7 +7972,8 @@ var InternalQueryReference = (function () {
|
|
|
7972
7972
|
break;
|
|
7973
7973
|
}
|
|
7974
7974
|
case "idle": {
|
|
7975
|
-
if (result.data === this.result.data
|
|
7975
|
+
if (result.data === this.result.data &&
|
|
7976
|
+
result.networkStatus === this.result.networkStatus) {
|
|
7976
7977
|
return;
|
|
7977
7978
|
}
|
|
7978
7979
|
if (result.data === void 0) {
|