@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
3.14.1 is the newest release of 3.x.
In short
1 new9 fixed
Release note
Patch Changes
Switch
useRenderGuardto an approach not accessing React's internalsuseLoadableQuery: ensure thatloadQueryis updated if the ApolloClient instance changesFixes #11849 by reevaluating
window.fetcheach timeBatchHttpLinkuses it, if not configured viaoptions.fetch. Takes the same approach as PR #8603 which fixed the same issue inHttpLink.Fix a bug where calling the
useMutationresetfunction would point the hook to an outdatedclientreference.Fix graphQLErrors in Error Link if networkError.result is an empty string
Prevent writing to a ref in render in
useMutation.
As a result, you might encounter problems in the future if you call the mutation'sexecutefunction during render. Please note that this was never supported behavior, and we strongly recommend against it.Ensure covariant behavior:
MockedResponse<X,Y>should be assignable toMockedResponseAvoid usage of useRef in useInternalState to prevent ref access in render.
Add missing name to tuple member (fix TS5084)
Fix a bug where
useLazyQuerywould not pick up a client change.