Packages

@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

Other targets from 3.8.1Newest 3.x3.14.1Latest4.3.5
0
changes to make
0
advisories fixed
1
new
6
fixes

Release by release

  1. 3.8.2

    1 Sep 20231 new · 6 fixes
    • 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 errorPolicy set in client.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 data returned 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 the VariablesA before the response for VariablesB is returned. Previously this would result in the data for VariablesB to be displayed while VariablesA was active. The data is for VariablesA is now properly returned.

    • fixed

      Fix typo in error message: "occured" -> "occurred"

    • fixed

      Fixes an issue where refetching from useBackgroundQuery via refetch with an error after an error was already fetched would get stuck in a loading state.