Packages

@apollo/client

4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @apollo/client from 4.2.9 to 4.2.10

1 release in betweenevery note read

Other targets from 4.2.9Newest 4.x, Latest4.3.5
0
changes to make
0
advisories fixed
0
new
4
fixes

Release by release

  1. 4.2.10

    5 Aug 20264 fixes
    • fixed

      Fix accidental widening of the client.mutate return type when optimisticResponse was present.

    • fixed

      Fix result types widened when a query's variables had constant types (e.g. TypedDocumentNode<Data, { type: "main" }>). This caused options such as returnPartialData or errorPolicy to be reported as their widened types (e.g. boolean, ErrorPolicy) instead of the value that was passed which returned the wrong data and dataState types.

    • fixed

      Fix issue where unknown options were permitted by TypeScript when passed alongside a valid option to APIs with modern signatures.

    • fixed

      Update the return type of refetch, fetchMore and useLazyQuery's execute function on the provided errorPolicy. Previously these APIs all used the default type which typed data as TData | undefined and error as ErrorLike | undefined.