Packages

@apollo/client

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

Upgrading @apollo/client from 4.0.13 to 4.1.0

1 release in betweenevery note read

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

Release by release

  1. 4.1.0

    15 Jan 202615 new · 24 fixes
    • new

      Support headers transport for enhanced client awareness.

    • new

      You can now provide a callback function as the context option on the mutate function returned by useMutation. The callback function is called with the value of the context option provided to the useMutation hook. This is useful if you'd like to merge the context object provided to the useMutation hook with a value provided to the mutate function.

    • new

      Add support for from: null in client.watchFragment and cache.watchFragment. When from is null, the emitted result is:

    • new

      Support the newer incremental delivery format for the @defer directive implemented in graphql@17.0.0-alpha.9. Import the GraphQL17Alpha9Handler to use the newer incremental delivery format with @defer.