@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
3.14.1 is the newest release of 3.x.
In short
2 new2 fixed
Release note
Apollo Client 3.4.6
Improvements
Reevaluate
window.fetcheach timeHttpLinkuses it, if not configured usingoptions.fetch. This change enables a variety of strategies for instrumentingwindow.fetch, without requiring those strategies to run before@apollo/client/link/httpis first imported.
@benjamn in #8603Clarify mutation
fetchPolicyoptions ("network-only"or"no-cache") usingMutationFetchPolicyunion type.
@benjamn in #8602
Bug Fixes
Restore full
@apollo/client/apollo-client.cjs.jsCommonJS bundle for older bundlers.Note that Node.js and CommonJS bundlers typically use the bundles specified by
"main"fields in our generatedpackage.jsonfiles, which are all independent and non-overlapping CommonJS modules. However,apollo-client.cjs.jsis just one big bundle, so mixing imports ofapollo-client.cjs.jswith the other CommonJS bundles is discouraged, as it could trigger the dual package hazard. In other words, please don't start usingapollo-client.cjs.jsif you're not already.Log
MissingFieldErrors inObservableQuery#getCurrentResultusinginvariant.debug, rather than reporting them viaresult.error.
@benjamn in #8604