Change8

Apollo Client

Backend & Infra

The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development.

Latest: @apollo/client@4.1.0-rc.195 releases46 breaking changesView on GitHub →

Release History

@apollo/client@4.1.0-rc.1
Jan 9, 2026
@apollo/client@4.1.0-rc.0Breaking1 fix2 features
Jan 7, 2026

Added stream‑info handling improvements, exposed a new type for cache extensions, and fixed redundant merge calls, with a breaking change affecting the legacy `Defer20220824Handler`.

@apollo/client@4.0.12-beta.01 fix1 feature
Dec 23, 2025

This patch release adds automatic cleanup of PreloadedQueryRef instances and changes @stream array truncation to occur only on the final chunk.

@apollo/client@4.1.0-alpha.91 fix2 features
Dec 18, 2025

This release adds new cache behavior for undefined array items, introduces an \`extensions\` option to cache write methods, and improves fragment hooks with memoized observable mapping.

@apollo/client@4.0.112 fixes1 feature
Dec 16, 2025

Patch release fixing refetch behavior for standby queries and replacing `findLast` with compatible methods, plus a hidden option for framework integrations.

@apollo/client@4.0.101 fix
Dec 10, 2025

Patch release addressing a memory leak in Apollo Client.

@apollo/client@4.1.0-alpha.81 feature
Dec 5, 2025

Added support for a `headers` transport, improving client awareness.

@apollo/client@4.1.0-alpha.71 feature
Dec 3, 2025

Introduces a new `from` option for readFragment, watchFragment, and updateFragment.

@apollo/client@4.1.0-alpha.61 feature
Dec 1, 2025

Performance improvement: `watchFragment` now reuses existing observables, reducing overhead during repeated cache watches.

@apollo/client@4.1.0-alpha.53 fixes
Nov 19, 2025

Patch release fixing incremental chunk error handling in `ErrorLink` and improving `@stream` processing with `Defer20220824Handler` to prevent runtime errors.

@apollo/client-graphql-codegen@2.0.0Breaking
Nov 17, 2025

The release upgrades all upstream dependencies to their next major versions, potentially introducing breaking changes.

@apollo/client@4.1.0-alpha.42 features
Nov 17, 2025

This patch adds flexibility to FragmentType generics and introduces a new QueryRef.ForQuery helper type.

@apollo/client@4.1.0-alpha.21 fix1 feature
Nov 17, 2025

This release adds a callback‑based `context` option for `useMutation` and introduces a validation error for `@stream` without an `incrementalDelivery` handler.

@apollo/client@4.1.0-alpha.34 fixes4 features
Nov 17, 2025

This release adds null and array support to fragment watching APIs, introduces a `getCurrentResult` helper, deduplicates duplicate watches for better performance, and includes several bug fixes and incremental delivery updates.

@apollo/client@4.1.0-alpha.12 fixes3 features
Nov 17, 2025

This release introduces an abstract `resolvesClientField` API, adds experimental feature support, and refines `@client` field handling, including warnings for `no-cache` queries.

@apollo/client@4.1.0-alpha.03 fixes2 features
Nov 17, 2025

This release adds support for the newer incremental delivery format for `@defer` and introduces `@stream` handling across handlers, while fixing several bugs related to deferred payloads and fetchMore rendering.

@apollo/client@4.0.91 fix
Oct 31, 2025

Patch release fixes a regression in `useSuspenseQuery` and `useBackgroundQuery` where changing to `skipToken` unintentionally created a new ObservableQuery and caused refetches without variables.

@apollo/client@4.0.81 fix
Oct 27, 2025

Patch release fixing cache.modify() handling of readonly arrays.

@apollo/client@4.0.7Breaking1 fix
Sep 30, 2025

Patch release removes the `operationType` field from `GraphQLWsLink` payloads, fixing related bugs but may require server adjustments.

@apollo/client@4.0.61 fix
Sep 25, 2025

Patch release fixing fetchMore loading state reset issue.

@apollo/client@4.0.51 fix
Sep 12, 2025

Patch release that fixes an invariance type error in the MockedResponse type.

@apollo/client@4.0.4Breaking2 fixes1 feature
Sep 2, 2025

This patch release adds a type‑safe `skipToken` for query skipping, fixes unhandled promise rejections and invariant handling, and switches to a named `equal` export from `@wry/equality`, which requires import updates.

@apollo/client@4.0.31 fix1 feature
Aug 29, 2025

Patch release that fixes a deep re-export issue in the React internals and enhances IntelliSense for `useMutation` variables.

@apollo/client@4.0.21 fix
Aug 27, 2025

The patch restores access to `getMemoryInternals` in development builds.

@apollo/client-codemod-migrate-3-to-4@1.0.21 fix
Aug 27, 2025

Patch release fixing the misplaced `networkStatus` implementation.

@apollo/client@4.0.11 fix2 features
Aug 25, 2025

This patch fixes the CJS build for `invariantErrorCodes` and introduces the new utility `isNetworkStatusInFlight` while adding the deprecated `isNetworkStatusSettled` to Apollo Client utilities.

@apollo/client-codemod-migrate-3-to-4@1.0.12 features
Aug 25, 2025

This patch adds and re-exports network status utilities, introducing `isNetworkStatusInFlight` and deprecating `isNetworkStatusSettled`.

@apollo/client-graphql-codegen@1.0.01 feature
Aug 21, 2025

This release adds a new GraphQL Codegen plugin for generating LocalState resolver types and bumps the codegen package version to a release candidate.

@apollo/client@4.0.0Breaking9 features
Aug 21, 2025

Apollo Client 4.0 introduces a framework‑agnostic core, unified error handling, opt‑in local state, a new `dataState` property, and class‑based links, while removing `ApolloError` and several legacy APIs, requiring code migrations.

@apollo/client-codemod-migrate-3-to-4@1.0.0Breaking5 features
Aug 21, 2025

Apollo Client 4.x introduces extensive migration tooling, renames import entry points, and overhauls client setup options, requiring developers to run codemods and adjust configuration.

v3.14.0Breaking1 fix1 feature
Aug 21, 2025

This minor release adds extensive deprecation warnings for APIs removed in Apollo Client 4.0 and introduces `preloadQuery.toPromise` as the new way to await preloaded queries, along with a fix for field‑policy merging.

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.3Breaking2 features
Aug 20, 2025

Apollo Client introduces a `clientSetup` codemod to restructure client configuration and a `legacyEntryPoints` transformation to update import paths, requiring updates to option names, removed settings, and import statements.

@apollo/client@4.0.0-rc.131 feature
Aug 20, 2025

Introduces a versioning policy for Apollo Client.

@apollo/client@4.0.0-rc.12Breaking1 feature
Aug 15, 2025

Introduced a @apollo/client/v4-migration entrypoint that surfaces removed values and types with migration guidance, addressing breaking changes from their removal.

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.21 feature
Aug 15, 2025

This minor release extends the `imports` codemod and adds new `links` and `removals` codemods.

@apollo/client@4.0.0-rc.11Breaking
Aug 14, 2025

This release introduces a breaking change requiring explicit type augmentation for incremental delivery handlers and removes the `DataMasking` interface, necessitating code updates.

@apollo/client@4.0.0-rc.10Breaking1 feature
Aug 13, 2025

This release makes data‑masking types opt‑in only, removes the `mode` option and the `Masked`/`MaskedDocumentNode` types, and requires migration steps to adjust type declarations.

@apollo/client@4.0.0-rc.91 fix2 features
Aug 7, 2025

This release adds production logging for invariant.error, extends HttpLink and BatchHttpLink context options with client awareness settings, and fixes AbortSignal handling.

@apollo/client@4.0.0-rc.8Breaking2 fixes7 features
Aug 5, 2025

This release removes exported helpers, tightens type definitions, moves link types into a namespace, and updates RetryLink behavior, introducing breaking changes that require code adjustments.

@apollo/client@4.0.0-rc.7Breaking1 fix5 features
Aug 1, 2025

This release introduces several breaking TypeScript API changes—including read-only operation contexts, removal of certain request fields, and stricter link handler requirements—while adding features like multi-link concatenation and improved type safety.

v3.13.91 fix
Jul 29, 2025

Patch release fixing a race condition when queries are reobserved before their initial subscription.

@apollo/client@4.0.0-rc.6Breaking
Jul 28, 2025

The update removes the `DataProxy` namespace, flips generic type orders, disallows the `mutation` option in `useMutation`, deprecates old type exports, and removes `ApolloConsumer`, requiring code adjustments.

@apollo/client@4.0.0-rc.5Breaking3 features
Jul 18, 2025

This release adds improved handling of masked fragments, introduces dataState in watchFragment, normalizes empty argument storage, and updates cache read behavior, while deprecating old readFragment/readQuery signatures and removing gql from the react entrypoint.

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.1Breaking
Jul 18, 2025

The `gql` export was removed from `@apollo/client/react`; import it from `@apollo/client` instead.

@apollo/client@4.0.0-rc.42 features
Jul 8, 2025

Introduces `dataState` and customizable `DataValue` types for `useFragment` and `useSuspenseFragment`.

v3.14.0-rc.0
Jul 7, 2025

Minor release that bumps the version to the latest release candidate.

@apollo/client@4.0.0-rc.31 feature
Jul 1, 2025

Apollo Client now ships a React-Compiler compiled version of its React hooks via a new @apollo/client/react/compiled entry point, and the client.reFetchObservableQueries method has been renamed to client.refetchObservableQueries (deprecated alias retained).

v3.14.0-alpha.11 feature
Jul 1, 2025

This minor release adds @deprecated tags to removed query‑related properties and introduces a warning when `standby` fetch policy is used with `client.query`.

v3.14.0-alpha.0Breaking1 fix1 feature
Jun 27, 2025

Apollo Client 4.0 introduces the new `preloadQuery.toPromise` API and removes the old `queryRef.toPromise`, while adding numerous deprecation warnings across React APIs, ApolloClient options, and cache settings. A bug fix prevents field policies from incorrectly merging into supertype policies.

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.0Breaking1 feature
Jun 27, 2025

Apollo Client 4.x introduces a migration codemod to update old 3.x import paths to the new 4.x entrypoints.

@apollo/client@4.0.0-rc.2Breaking2 fixes1 feature
Jun 27, 2025

This release introduces a breaking change to `SetContextLink` callback parameters and operation type, adds overridable `DataValue` types for response states, and includes bug fixes for `operationType` propagation and `subscribeToMore` error typing.

@apollo/client@4.0.0-rc.1Breaking3 fixes5 features
Jun 24, 2025

This release removes two deprecated configuration options, adds a new `operationType` field for easier operation checks, exports several types, and includes bug fixes around resolver warnings and query rerendering.

@apollo/client-graphql-codegen@1.0.0-rc.0
Jun 19, 2025

Version bump for codegen to release as a release candidate (rc).

@apollo/client@4.0.0-rc.0
Jun 18, 2025

This release only bumps the version to publish the latest code as a release candidate.

@apollo/client@4.0.0-alpha.23Breaking2 fixes6 features
Jun 18, 2025

This release introduces significant improvements to `cache-only` query behavior, making them more predictable by preventing unnecessary fetches and initial loading states. It also modernizes link creation by favoring classes over creator functions and refines option inheritance in `fetchMore`.

@apollo/client@4.0.0-alpha.22Breaking1 fix4 features
Jun 13, 2025

This release introduces enhanced client awareness, changes default behaviors for extensions and multipart Accept headers, adds new link utilities, and enforces stricter alias rules, along with a bug fix for persisted queries.

@apollo/client@4.0.0-alpha.21Breaking2 features
Jun 10, 2025

Added streaming support for `@defer` queries with a new `NetworkStatus.streaming` value and changed loading semantics, removed the `context` option from `useLazyQuery`, and made `cache.fragmentMatches` mandatory.

@apollo/client@4.0.0-alpha.20Breaking4 features
Jun 6, 2025

Apollo Client 8 introduces breaking API changes: ObservableQuery loses its queryId, getObservableQueries now returns a Set, and preloadQuery’s toPromise API changes, while adding a new ObservableQuery.stop method and more aggressive client cleanup.

@apollo/client@4.0.0-alpha.19Breaking3 features
Jun 5, 2025

Adds subscription restart capability and full‑lifecycle deduplication, while changing early‑unsubscribe behavior for ObservableQuery.

@apollo/client@4.0.0-alpha.181 feature
Jun 5, 2025

Introduces an optional override mechanism for Apollo Client’s DataMasking types, allowing custom implementations while preserving default behavior.

@apollo/client@4.0.0-alpha.17Breaking3 features
Jun 3, 2025

This release introduces a new `dataState` property and modifies the `TData` generic handling, removes the deprecated `QueryReference` type, and adds a `.retain()` method to result promises, requiring migration of type signatures and handling of lazy query execution.

@apollo/client@4.0.0-alpha.16Breaking3 features
May 28, 2025

This release aligns Apollo Client with the GraphQL over HTTP spec by adding `application/graphql-response+json` support, changing error handling, and updating the default `Accept` header, while introducing breaking changes to `ServerError` and link notifications.

@apollo/client-graphql-codegen@1.0.0-alpha.01 feature
May 28, 2025

A new GraphQL Codegen plugin '@apollo/client-graphql-codegen/local-state' adds generated resolver types for LocalState, enabling type‑safe local resolvers.

v4.0.0-alpha.15Breaking2 fixes2 features
May 23, 2025

This release moves unstable testing utilities to an internal namespace, removes several deprecated testing helpers, adds subtle `useQuery` and `ObservableQuery` behavior improvements, and deprecates old MockLink type exports.

v4.0.0-alpha.14Breaking9 features
May 21, 2025

Apollo Client introduces a new `LocalState` system, removes several legacy APIs, and changes resolver context handling, requiring migration steps for existing applications.

v4.0.0-alpha.13Breaking
May 14, 2025

Apollo Client introduces a restructuring of utility modules and removal of experimental testing utilities, requiring import path updates and migration to the GraphQL Testing Library.

v4.0.0-alpha.12Breaking
Apr 29, 2025

Apollo Client 4.x introduces breaking changes: removal of `typeDefs`, `TContext`, and support for `graphql` v15, a mandatory `link` option, and a renamed link entrypoint, requiring migration steps for existing code.

v4.0.0-alpha.11Breaking1 fix5 features
Apr 23, 2025

Apollo Client vX introduces major API changes: context no longer provides `cache`/`forceFetch`, `ApolloLink.execute` now requires a client argument, and `useMutation` typings are stricter, alongside new features like custom context typing and a re‑exported `gql`.

v4.0.0-alpha.10Breaking2 fixes9 features
Apr 17, 2025

This release introduces stricter variable handling, new error utilities, and several breaking changes such as removal of `standby` fetchPolicy and deprecation of `never` as a TVariables type.

v3.13.81 fix
Apr 17, 2025

Patch release fixing an issue where in‑flight multipart urql subscriptions could be incorrectly cancelled.

v4.0.0-alpha.9Breaking4 fixes2 features
Apr 11, 2025

This release introduces automatic loading state emission by default and adds initial loading support for ObservableQuery, while fixing several useLazyQuery and polling behaviors.

v4.0.0-alpha.8Breaking1 fix6 features
Apr 10, 2025

This release adds a unified error handling API for `onError`, enhances `MockLink` with variable callbacks, realistic delay helpers, and default delay configuration, while removing deprecated methods and options that require migration.

v3.13.7
Apr 10, 2025

This patch refactors notification scheduling and cache emit logic by moving code from QueryInfo to ObservableQuery, with no functional changes.

v3.13.61 fix
Apr 4, 2025

Patch release fixes ObservableQuery behavior in useQuery, keeping it inactive until the first subscription.

v4.0.0-alpha.7Breaking
Apr 3, 2025

Removed several React entry points and the parser cache, requiring import updates to `@apollo/client/react` and removal of parser usage.

v4.0.0-alpha.6Breaking3 features
Apr 1, 2025

This release introduces stricter error handling for empty link chains, removes obsolete loading‑state properties from promise‑based query APIs, adds partial data to combined GraphQL errors, and provides a new `prerenderStatic` SSR method while deprecating older SSR helpers.

v4.0.0-alpha.5Breaking2 fixes5 features
Mar 31, 2025

The update replaces `FetchResult` with new `SubscribeResult` and `MutateResult` types, removes deprecated subscription callbacks, unifies error handling, and includes several bug fixes and SSR improvements.

v4.0.0-alpha.4Breaking3 features
Mar 24, 2025

Apollo Client v4 introduces public `reobserve`, renames network fetch control to `prioritizeCacheValues`, removes several legacy hook types, and restructures React hook typings, requiring migration steps.

v4.0.0-alpha.3Breaking1 feature
Mar 20, 2025

Network errors now respect `errorPolicy` and the `called` property was removed from `useQuery`, requiring updates to error handling and query state checks.

v3.13.51 fix
Mar 20, 2025

Patch release resolves a cache-first query bug that caused stale data to be returned under certain variable and skip conditions.

v4.0.0-alpha.2Breaking1 fix3 features
Mar 19, 2025

Apollo Client 4.0 removes several generic arguments and options, defaults data and variable types to `unknown`/`OperationVariables`, and fixes the CommonJS build, requiring code updates for TypeScript users.

v4.0.0-alpha.1Breaking2 features
Mar 14, 2025

Apollo Client removes legacy streaming workarounds and several polyfills, adds a react-server entry point, and drops the rehackt dependency, resulting in a smaller bundle but requiring updated fetch implementations and React Native versions.

v4.0.0-alpha.0Breaking6 features
Mar 13, 2025

Apollo Client introduces major breaking changes by removing several legacy utilities, dropping React 16 support, and replacing the `ApolloError` wrapper with new error classes, while adding `CombinedGraphQLErrors`, `CombinedProtocolErrors`, and updated query behaviors.

v3.13.41 fix
Mar 10, 2025

Patch release resolves import problems with external CJS modules by switching to a star import from `rehackt`.

v3.13.31 fix
Mar 7, 2025

Patch release corrects networkStatus reporting for queries with errorPolicy "all", fixing observableQuery, useQuery, and useLazyQuery behavior.

v3.13.23 fixes
Mar 6, 2025

Patch release fixing symbol duplication, DeepOmit typing, and MockLink debug output.

v3.13.1Breaking1 feature
Feb 14, 2025

Patch release introduces a breaking change to ObservableQuery.refetch behavior and adds a new exported type UseSuspenseFragmentOptions.

v3.13.0Breaking5 fixes1 feature
Feb 13, 2025

Apollo Client 3.13.0 adds the `useSuspenseFragment` hook, improves TypeScript typings, and fixes several bugs, while deprecating several callbacks and options.

v3.13.0-rc.05 fixes3 features
Feb 7, 2025

This release introduces the useSuspenseFragment hook, improves type safety for updateQuery, adds multipart query deduplication, deprecates several callbacks and options, and includes several bug fixes and type corrections.

v3.12.112 fixes
Feb 7, 2025

Patch release fixing observableQuery status handling for fetchMore with no-cache policy and adding the missing main.d.cts file.

v3.12.101 fix
Feb 6, 2025

Patch release fixing a React 19 hook order warning and adding `graphql-ws` ^6.0.3 as a supported peer dependency.

v3.12.9Breaking1 fix1 feature
Feb 3, 2025

Patch release fixes the `extensions` type in `ApolloError` and adds retry support for multipart subscription transport errors via `RetryLink`.

v3.12.81 fix
Jan 27, 2025

Patch release fixing a crash in watchFragment/useFragment with @includes and removing the unused response-iterator dependency.

v3.12.71 fix1 feature
Jan 22, 2025

Patch release adds a `protocolErrors` property to surface fatal transport‑level errors in multipart subscriptions and fixes the `errors` field type on `ApolloPayloadResult`.

v3.12.62 fixes
Jan 14, 2025

Patch release fixing type preservation and scalar handling for `Unmasked` usage.