---
"@apollo/client": minor
---

Deprecate the `onCompleted` and `onError` callbacks of `useQuery` and `useLazyQuery`.
For more context, please see the [related issue](https://github.com/apollographql/apollo-client/issues/12352) on GitHub.
