apollographql/apollo-client (@apollo/client)
### [`v3.10.5`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3105)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.10.4...v3.10.5)
##### Patch Changes
- [#11888](https://togithub.com/apollographql/apollo-client/pull/11888) [`7fb7939`](https://togithub.com/apollographql/apollo-client/commit/7fb7939edb7ca8f4273b75554f96ea9936731458) Thanks [@phryneas](https://togithub.com/phryneas)! - switch `useRenderGuard` to an approach not accessing React's internals
- [#11511](https://togithub.com/apollographql/apollo-client/pull/11511) [`6536369`](https://togithub.com/apollographql/apollo-client/commit/6536369cf213469d20d15b779c344268d70fecd5) Thanks [@phryneas](https://togithub.com/phryneas)! - `useLoadableQuery`: ensure that `loadQuery` is updated if the ApolloClient instance changes
- [#11860](https://togithub.com/apollographql/apollo-client/pull/11860) [`8740f19`](https://togithub.com/apollographql/apollo-client/commit/8740f198805a99e01136617c4055d611b92cc231) Thanks [@alessbell](https://togithub.com/alessbell)! - Fixes [#11849](https://togithub.com/apollographql/apollo-client/issues/11849) by reevaluating `window.fetch` each time `BatchHttpLink` uses it, if not configured via `options.fetch`. Takes the same approach as PR [#8603](https://togithub.com/apollographql/apollo-client/pull/8603) which fixed the same issue in `HttpLink`.
- [#11852](https://togithub.com/apollographql/apollo-client/pull/11852) [`d502a69`](https://togithub.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a bug where calling the `useMutation` `reset` function would point the hook to an outdated `client` reference.
- [#11329](https://togithub.com/apollographql/apollo-client/pull/11329) [`3d164ea`](https://togithub.com/apollographql/apollo-client/commit/3d164ea16c17d271f6fa9e5ad8f013623eec23a0) Thanks [@PaLy](https://togithub.com/PaLy)! - Fix graphQLErrors in Error Link if networkError.result is an empty string
- [#11852](https://togithub.com/apollographql/apollo-client/pull/11852) [`d502a69`](https://togithub.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874) Thanks [@phryneas](https://togithub.com/phryneas)! - Prevent writing to a ref in render in `useMutation`.
As a result, you might encounter problems in the future if you call the mutation's `execute` function during render. Please note that this was never supported behavior, and we strongly recommend against it.
- [#11848](https://togithub.com/apollographql/apollo-client/pull/11848) [`ad63924`](https://togithub.com/apollographql/apollo-client/commit/ad6392424ddbeb6f91b165c806251490e1cdd69e) Thanks [@phryneas](https://togithub.com/phryneas)! - Ensure covariant behavior: `MockedResponse` should be assignable to `MockedResponse`
- [#11851](https://togithub.com/apollographql/apollo-client/pull/11851) [`45c47be`](https://togithub.com/apollographql/apollo-client/commit/45c47be26d4e020cfcff359a5af19ccfc39b930e) Thanks [@phryneas](https://togithub.com/phryneas)! - Avoid usage of useRef in useInternalState to prevent ref access in render.
- [#11877](https://togithub.com/apollographql/apollo-client/pull/11877) [`634d91a`](https://togithub.com/apollographql/apollo-client/commit/634d91aeb10ab308b05d5ffb918678806046af09) Thanks [@phryneas](https://togithub.com/phryneas)! - Add missing name to tuple member (fix TS5084)
- [#11851](https://togithub.com/apollographql/apollo-client/pull/11851) [`45c47be`](https://togithub.com/apollographql/apollo-client/commit/45c47be26d4e020cfcff359a5af19ccfc39b930e) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a bug where `useLazyQuery` would not pick up a client change.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.10.4
->^3.10.5
Release Notes
apollographql/apollo-client (@apollo/client)
### [`v3.10.5`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3105) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.10.4...v3.10.5) ##### Patch Changes - [#11888](https://togithub.com/apollographql/apollo-client/pull/11888) [`7fb7939`](https://togithub.com/apollographql/apollo-client/commit/7fb7939edb7ca8f4273b75554f96ea9936731458) Thanks [@phryneas](https://togithub.com/phryneas)! - switch `useRenderGuard` to an approach not accessing React's internals - [#11511](https://togithub.com/apollographql/apollo-client/pull/11511) [`6536369`](https://togithub.com/apollographql/apollo-client/commit/6536369cf213469d20d15b779c344268d70fecd5) Thanks [@phryneas](https://togithub.com/phryneas)! - `useLoadableQuery`: ensure that `loadQuery` is updated if the ApolloClient instance changes - [#11860](https://togithub.com/apollographql/apollo-client/pull/11860) [`8740f19`](https://togithub.com/apollographql/apollo-client/commit/8740f198805a99e01136617c4055d611b92cc231) Thanks [@alessbell](https://togithub.com/alessbell)! - Fixes [#11849](https://togithub.com/apollographql/apollo-client/issues/11849) by reevaluating `window.fetch` each time `BatchHttpLink` uses it, if not configured via `options.fetch`. Takes the same approach as PR [#8603](https://togithub.com/apollographql/apollo-client/pull/8603) which fixed the same issue in `HttpLink`. - [#11852](https://togithub.com/apollographql/apollo-client/pull/11852) [`d502a69`](https://togithub.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874) Thanks [@phryneas](https://togithub.com/phryneas)! - Fix a bug where calling the `useMutation` `reset` function would point the hook to an outdated `client` reference. - [#11329](https://togithub.com/apollographql/apollo-client/pull/11329) [`3d164ea`](https://togithub.com/apollographql/apollo-client/commit/3d164ea16c17d271f6fa9e5ad8f013623eec23a0) Thanks [@PaLy](https://togithub.com/PaLy)! - Fix graphQLErrors in Error Link if networkError.result is an empty string - [#11852](https://togithub.com/apollographql/apollo-client/pull/11852) [`d502a69`](https://togithub.com/apollographql/apollo-client/commit/d502a69654d8ffa31e09467da028304a934a9874) Thanks [@phryneas](https://togithub.com/phryneas)! - Prevent writing to a ref in render in `useMutation`. As a result, you might encounter problems in the future if you call the mutation's `execute` function during render. Please note that this was never supported behavior, and we strongly recommend against it. - [#11848](https://togithub.com/apollographql/apollo-client/pull/11848) [`ad63924`](https://togithub.com/apollographql/apollo-client/commit/ad6392424ddbeb6f91b165c806251490e1cdd69e) Thanks [@phryneas](https://togithub.com/phryneas)! - Ensure covariant behavior: `MockedResponseConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.