@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @apollo/client from 3.5.8 to 3.14.1
98 releases in betweennotes for 97
Reading releases, release notes and advisories…
- 46+
- changes to make
- 0
- advisories fixed
- 139+
- new
- 221+
- fixes
Counted from 97 of 98 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking3.11.0
- breaking3.11.0
- breaking3.11.0
- breaking3.10.0
- breaking3.10.0
- breaking3.8.5
- breaking3.8.0
- breaking3.8.0
- breaking3.8.0
- breaking3.8.0
Release by release
3.14.1no release note
- new
Add deprecations and warnings to remaining APIs changed in Apollo Client 4.0.
- new
Add warnings and deprecations for options and methods for all React APIs.
- new
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. - new
Version bump only to release latest as
rc.
- new
- fixed
Fix a possible race condition on queries that were reobserved before they were subscribed to the first time.
- fixed
- fixed
Fix in-flight multipart urql subscription cancellation
- fixed
- fixed
Refactored cache emit logic for ObservableQuery. This should be an invisible change.
- fixed
- fixed
Keep ObservableQuery created by useQuery non-active before it is first subscribed
- fixed
- fixed
Fix an issue where a
cache-firstquery would return the result for previous variables when a cache update is issued after simultaneously changing variables and skipping the query.
- fixed
- fixed
Use import star from
rehacktto prevent issues with importing named exports from external CJS modules.
- fixed
6 other lines we could not sort, mostly version bumps
- 3.8.0
@wry/contextto^0.7.3 - 3.8.0
@wry/equalityto^0.5.6 - 3.8.0
@wry/trieto^0.4.3 - 3.8.0
optimismto^0.17.4 - 3.6.0
Reimplement
useQueryanduseLazyQueryto use the proposeduseSyncExternalStoreAPI from React 18. @brainkim and @benjamn in #8785 and #9596 - 3.6.0
The internal use of
options.fetchBlockingPromisebyuseQueryanduseLazyQuerymay slightly delay the delivery of network results, compared to previous versions of Apollo Client. Since network results are already delivered asynchronously, these timing differences should not be disruptive in most cases. Nevertheless, please open an issue if the timing differences are a problem for you (and you have no easy workaround). @benjamn
5 internal lines (docs, tests, tooling) left out.