Packages

@apollo/client

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

Upgrading @apollo/client from 4.3.0 to 4.3.5

5 releases in betweenevery note read

0
changes to make
0
advisories fixed
0
new
11
fixes

Release by release

  1. 4.3.5

    19 Oct 20263 fixes
    • fixed

      Fix an issue where custom scalar values that are not JSON-serializable caused errors. These values are properly serialized when used as input for variables or when used as a key field value so that cache writes and calls to cache.identify succeed.

    • fixed

      Require the variables option in useFragment when the fragment has required variables. This matches the behavior of useSuspenseFragment and the query hooks.

    • fixed

      Parse custom scalar fields in subscription results when using the no-cache fetch policy.

  2. 4.3.4

    16 Oct 20265 fixes
    • fixed

      Fix an issue where a list field selected more than once with different selection sets lost the fields that only one of the selections included while a @defer boundary elsewhere in the query was still pending when using the GraphQL17Alpha9Handler. The results of all selections of the list field are now merged.

    • fixed

      Fixed a bug where streamFieldInfo might not have been passed into custom merge functions for

    • fixed

      Fix Missing field errors being logged when writing @defer results where a parent field is selected both inside and outside of a deferred fragment. Fields whose @defer boundary has not been delivered from the network are no longer reported as missing.

    • fixed

      Unregister the watch when an immediate cache.watch broadcast throws. Previously the watch was added to the cache before its first read, and a read that threw left the watch registered while the caller never received the unsubscribe function, so it could not be removed and every later broadcast ran into the same failing read.

    • fixed

      Defer20220824Handler: fix a situation where dataState would show up as completed with incremental errors instead of staying streaming.

  3. 4.3.3

    8 Oct 20261 fix
    • fixed

      Fix a memory leak in isDeferredFragment/isStreamField

  4. 4.3.2

    5 Oct 20261 fix
    • fixed

      Fix an unhandled AbortError promise rejection that occurred when unsubscribing from a multipart HTTP subscription.

  5. 4.3.1

    18 Sep 20261 fix
    • fixed

      Fix an issue where useLazyQuery did not rerender with new variables until the network request had completed when calling execute with new variables while a request was already in-flight.