apollographql/apollo-client (@apollo/client)
### [`v3.11.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3114)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.3...v3.11.4)
##### Patch Changes
- [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Update the `Modifier` function type to allow `cache.modify` to return deeply partial data.
- [#11989](https://togithub.com/apollographql/apollo-client/pull/11989) [`e609156`](https://togithub.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a potential crash when calling `clearStore` while a query was running.
Previously, calling `client.clearStore()` while a query was running had one of these results:
- `useQuery` would stay in a `loading: true` state.
- `useLazyQuery` would stay in a `loading: true` state, but also crash with a `"Cannot read property 'data' of undefined"` error.
Now, in both cases, the hook will enter an error state with a `networkError`, and the promise returned by the `useLazyQuery` `execute` function will return a result in an error state.
- [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Prevent accidental distribution on `cache.modify` field modifiers when a field is a union type array.
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
3.11.3
->3.11.4
Release Notes
apollographql/apollo-client (@apollo/client)
### [`v3.11.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3114) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.11.3...v3.11.4) ##### Patch Changes - [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Update the `Modifier` function type to allow `cache.modify` to return deeply partial data. - [#11989](https://togithub.com/apollographql/apollo-client/pull/11989) [`e609156`](https://togithub.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a potential crash when calling `clearStore` while a query was running. Previously, calling `client.clearStore()` while a query was running had one of these results: - `useQuery` would stay in a `loading: true` state. - `useLazyQuery` would stay in a `loading: true` state, but also crash with a `"Cannot read property 'data' of undefined"` error. Now, in both cases, the hook will enter an error state with a `networkError`, and the promise returned by the `useLazyQuery` `execute` function will return a result in an error state. - [#11994](https://togithub.com/apollographql/apollo-client/pull/11994) [`41b17e5`](https://togithub.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Prevent accidental distribution on `cache.modify` field modifiers when a field is a union type array.Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.