@apollo/client
4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @apollo/client from 3.8.1 to 3.8.2
1 release in betweenevery note read
Release by release
- new
Adds a new devtools registration mechanism and tweaks the mechanism behind the
- fixed
Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook.
- fixed
Ensures GraphQL errors returned in subscription payloads adhere to the
errorPolicyset inclient.subscribe(...)calls. - fixed
Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue.
- fixed
Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong
datareturned from the query. Specifically this occurs when a query is triggered with an initial set of variables (VariablesA), then triggers the same query with another set of variables (VariablesB) but switches back to theVariablesAbefore the response forVariablesBis returned. Previously this would result in the data forVariablesBto be displayed whileVariablesAwas active. The data is forVariablesAis now properly returned. - fixed
Fix typo in error message: "occured" -> "occurred"
- fixed
Fixes an issue where refetching from
useBackgroundQueryviarefetchwith an error after an error was already fetched would get stuck in a loading state.
- new