@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
3.14.1 is the newest release of 3.x.
In short
1 new6 fixed
Release note
Patch Changes
Improve WebSocket error handling for generic
Eventreceived on error. For more information see developer.mozilla.org/en-US/docs/Web/API/WebSoc….Simplify error message generation and make 'undefined' an impossible message string.
Adds support for multipart subscriptions in
HttpLink.Changes the behavior of
useLazyQueryintroduced in #10427 where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request.Other notable fixes:
Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution.
Re-rendering
useLazyQuerywith a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request.
Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users.
Fix a bug where an incoming cache update could prevent future updates from the active link.
useQuery: delay unsubscribe to fix race conditions