@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
3.14.1 is the newest release of 3.x.
In short
2 deprecated8 new1 fixed
- deprecated
Add
@deprecatedtags to all properties returned from any query API (e.g.client.query,observableQuery.refetch, etc.),client.mutate, andclient.subscribethat are no longer available in Apollo Client 4.0. - deprecated
Add deprecations and deprecation warnings for
ApolloClientoptions and methods.
Release note
Minor Changes
Add deprecations and warnings to remaining APIs changed in Apollo Client 4.0.
Add warnings and deprecations for options and methods for all React APIs.
- deprecated
Add
@deprecatedtags to all properties returned from any query API (e.g.client.query,observableQuery.refetch, etc.),client.mutate, andclient.subscribethat are no longer available in Apollo Client 4.0. Add
preloadQuery.toPromise(queryRef)as a replacement forqueryRef.toPromise().queryRef.toPromise()has been removed in Apollo Client 4.0 in favor ofpreloadQuery.toPromiseand is now considered deprecated.- deprecated
Add deprecations and deprecation warnings for
ApolloClientoptions and methods. Version bump only to release latest as
rc.Reset
addTypenameTransformandfragmentscaches when callingcache.gc()only whenresetResultCacheistrue.Add deprecations and warnings for
addTypenameinInMemoryCacheandMockedProvider.Add deprecations and warnings for
canonizeResults.Warn when using a
standbyfetch policy withclient.query.
Patch Changes
Prevent field policies from overwriting/merging into supertype field policies.