@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
Release by release
- new
Support
headerstransport for enhanced client awareness. - new
You can now provide a callback function as the
contextoption on themutatefunction returned byuseMutation. The callback function is called with the value of thecontextoption provided to theuseMutationhook. This is useful if you'd like to merge the context object provided to theuseMutationhook with a value provided to themutatefunction. - new
Add support for
from: nullinclient.watchFragmentandcache.watchFragment. Whenfromisnull, the emitted result is: - new
Support the newer incremental delivery format for the
@deferdirective implemented ingraphql@17.0.0-alpha.9. Import theGraphQL17Alpha9Handlerto use the newer incremental delivery format with@defer.
- new