# What's New in Apollo Client 4.2

DevFeed: [What's New in Apollo Client 4.2](<https://devfeed.tech/articles/what-s-new-in-apollo-client-4-2-23586.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-4-2>)

Author: Jerel Miller

Published: 2026-05-27T11:33:11Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [event](<https://devfeed.tech/tags/event.md>), [focus](<https://devfeed.tech/tags/focus.md>), [type-safe](<https://devfeed.tech/tags/type-safe.md>)

## AI overview

Apollo Client 4.2 propagates declared default options through React hooks and core APIs so TypeScript types reflect runtime behavior. Opting in requires TypeScript module augmentation and a matching runtime option. Generic arguments to hooks and core APIs are deprecated; they remain usable but do not provide the new type safety, so the excerpt points readers to migration guidance. The release also introduces event-based refetching for events such as window focus and network reconnection, replacing the need to build this behavior with custom event handling or wrapper hooks. The excerpt ends while describing how to configure it.

## Source excerpt

Discover Apollo Client 4.2's type-safe default options and event-based refetching. Eliminate type mismatches and automatically refetch on window focus. Learn how.