kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

Update dependency @apollo/client to v3.7.5 #1883

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.7.0 -> 3.7.5 age adoption passing confidence

Release Notes

apollographql/apollo-client ### [`v3.7.5`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#​375) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.7.4...v3.7.5) ##### Patch Changes - [#​10458](https://togithub.com/apollographql/apollo-client/pull/10458) [`b5ccef229`](https://togithub.com/apollographql/apollo-client/commit/b5ccef229046d230e82a68a4834ac09ae1ef2009) Thanks [@​lennyburdette](https://togithub.com/lennyburdette)! - Passes `getServerSnapshot` to `useSyncExternalStore` so that it doesn't trigger a `Missing getServerSnapshot` error when using `useFragment_experimental` on the server. - [#​10471](https://togithub.com/apollographql/apollo-client/pull/10471) [`895ddcb54`](https://togithub.com/apollographql/apollo-client/commit/895ddcb546b5692cd53caae1b604412728641374) Thanks [@​alessbell](https://togithub.com/alessbell)! - More robust type definition for `headers` property passed to `createHttpLink` - [#​10321](https://togithub.com/apollographql/apollo-client/pull/10321) [`bbaa3ef2d`](https://togithub.com/apollographql/apollo-client/commit/bbaa3ef2d95a03e2453ef86a25096c314fbd8998) Thanks [@​alessbell](https://togithub.com/alessbell)! - Refetch should not return partial data with `errorPolicy: none` and `notifyOnNetworkStatusChange: true`. - [#​10402](https://togithub.com/apollographql/apollo-client/pull/10402) [`0b07aa955`](https://togithub.com/apollographql/apollo-client/commit/0b07aa955bab2e929f21590b565507a66f930539) Thanks [@​Hugodby](https://togithub.com/Hugodby)! - Improve context types - [#​10469](https://togithub.com/apollographql/apollo-client/pull/10469) [`328c58f90`](https://togithub.com/apollographql/apollo-client/commit/328c58f90d3fd985a58a68d8ba07f7c03f9808f6) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add generic type defaults when using `useFragment` to allow passing `TData` directly to the function without needing to specify `TVars`. ### [`v3.7.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#​374) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.7.3...v3.7.4) ##### Patch Changes - [#​10427](https://togithub.com/apollographql/apollo-client/pull/10427) [`28d909cff`](https://togithub.com/apollographql/apollo-client/commit/28d909cff086f8352e2ea75421a1cac590917573) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Ensure in-flight promises executed by `useLazyQuery` are rejected when `useLazyQuery` unmounts. - [#​10383](https://togithub.com/apollographql/apollo-client/pull/10383) [`5c5ca9b01`](https://togithub.com/apollographql/apollo-client/commit/5c5ca9b01a2b9905f94de85e5b80ffc29522e2e3) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Ensure the `onError` callback is called when the `errorPolicy` is set to "all" and partial data is returned. - [#​10425](https://togithub.com/apollographql/apollo-client/pull/10425) [`86e35a6d2`](https://togithub.com/apollographql/apollo-client/commit/86e35a6d25e9838f39a9de652e52a358b9c08488) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Prefer the `onError` and `onCompleted` callback functions passed to the execute function returned from `useMutation` instead of calling both callback handlers. ### [`v3.7.3`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#​373) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.7.2...v3.7.3) ##### Patch Changes - [#​10334](https://togithub.com/apollographql/apollo-client/pull/10334) [`7d923939d`](https://togithub.com/apollographql/apollo-client/commit/7d923939dd7e6db7d69f04f598c666104b076e78) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Better handle deferred queries that have cached or partial cached data for them - [#​10368](https://togithub.com/apollographql/apollo-client/pull/10368) [`46b58e976`](https://togithub.com/apollographql/apollo-client/commit/46b58e9762abbffaee5c9abda8e309bea6d7a785) Thanks [@​alessbell](https://togithub.com/alessbell)! - Fix: unblocks support for defer in mutations If the `@defer` directive is present in the document passed to `mutate`, the Promise will resolve with the final merged data after the last multipart chunk has arrived in the response. ### [`v3.7.2`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#​372) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.7.1...v3.7.2) ##### Patch Changes - Only show dev tools suggestion in the console when `connectToDevTools` is `true`.
[@​chris110408](https://togithub.com/chris110408) in [#​10258](https://togithub.com/apollographql/apollo-client/pull/10258) - Pass `TCache` generic to `MutationHookOptions` for better type support in `useMutation`.
[@​igrlk](https://togithub.com/igrlk) in [#​10223](https://togithub.com/apollographql/apollo-client/pull/10223) - Add `name` property to `ApolloError` to ensure better type safety and help error reporting tools better identify the error.
[@​aaronadamsCA](https://togithub.com/aaronadamsCA) in [#​9323](https://togithub.com/apollographql/apollo-client/pull/9323) - Export a `ModifierDetails` type for the `details` parameter of a `Modifier` function.
[@​KeithGillette](https://togithub.com/KeithGillette) in [#​7133](https://togithub.com/apollographql/apollo-client/pull/7133) - Revert use of `cloneDeep` to clone options when fetching queries.
[@​MrDoomBringer](https://togithub.com/MrDoomBringer) in [#​10215](https://togithub.com/apollographql/apollo-client/pull/10215) ### [`v3.7.1`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#​371) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.7.0...v3.7.1) ##### Patch Changes - Fix issue where `loading` remains `true` after `observer.refetch` is called repeatedly with different variables when the same data are returned.
[@​alessbell](https://togithub.com/alessbell) in [#​10143](https://togithub.com/apollographql/apollo-client/pull/10143) - Fix race condition where `useFragment_experimental` could receive cache updates before initially calling `cache.watch` in `useEffect`.
[@​benjamn](https://togithub.com/benjamn) in [#​10212](https://togithub.com/apollographql/apollo-client/pull/10212)

Configuration

📅 Schedule: Branch creation - "after 11pm every weekday,before 6am every weekday" in timezone Europe/Warsaw, 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 has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: ce4014c981bd3d316b219b77f15ba16355285a6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 1 year ago
### 🚀 Website Preview The latest changes to the website are available as preview in: [https://2274e541.apollo-angular.pages.dev](https://2274e541.apollo-angular.pages.dev)