Apollo Client 4.0 is Here!

:high_voltage: Apollo Client 4.0 is Live

Apollo Client 4.0 is here, a leaner, cleaner GraphQL client built for modern JavaScript and TypeScript. This release makes apps faster, bundles smaller, and the developer experience smoother than ever.

Here’s what’s new:
20–30% smaller bundles thanks to opt-in architecture and modern build targets
Smarter TypeScript with required variables, discoverable types, and the new dataState property
More intuitive error handling with clear, type-safe error classes
Built for modern JavaScript — ESM-first packaging, RxJS support, and optimized tree-shaking
Smooth migration path with codemods and a comprehensive guide

:open_book: Read the launch blog
:books: Check out the migration guide
:wrench: Explore the GitHub repo
:clipboard: Changelog

:warning: Heads up:
Apollo Client 4.0 introduces some intentional breaking changes (error handling, link APIs, local state opt-in). Most of the upgrade is handled automatically via codemods, but check the migration guide for details.

We’d love to hear your feedback as you start upgrading. Let us know what’s working well and where we can improve.

5 Likes