@apollo/client breaking changes
Updated December 4, 2026
On this page
Latest version 4.3.9, released December 3, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.14.0 to 4.3.6: 605 breaking changes in 64 versions.
- From 3.12.5 to 4.3.6: 642 breaking changes in 74 versions.
@apollo/client 4.3.6 breaking changes
- Behavior changed
Mutations using no-cache now return coerced scalar values, which may differ from the raw values previously returned. github.com - Behavior changed
preloadQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Behavior changed
refetchQueries
refetchQueries, updateQueries and update callbacks now receive coerced scalars, so code relying on the raw values may see different data. github.com - Behavior changed
update
refetchQueries, updateQueries and update callbacks now receive coerced scalars, so code relying on the raw values may see different data. github.com - Behavior changed
updateQueries
refetchQueries, updateQueries and update callbacks now receive coerced scalars, so code relying on the raw values may see different data. github.com - Behavior changed
useBackgroundQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Behavior changed
useLazyQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Behavior changed
useLoadableQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Behavior changed
useQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Behavior changed
useSuspenseQuery
With fetchPolicy set to no-cache, dataState no longer includes "partial", so code checking for that value will not match. github.com - Signature changed
react:PreloadQueryFunction.ResultForOptions.States
Was type States<TOptions, TDefaultOptions extends DefaultOptions = DefaultOptions> = "complete" | "streaming" | (OptionWithFallback<TOptions, TDefaultOptions, "errorPolicy"> extends ("none") ? never : "empty") |... npmjs.com - Signature changed
react:useBackgroundQuery.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TOptions extends Record<string, never> | Base.Options | SkipToken> = [queryRef: TOptions extends any ? TOptions extends SkipToken ? undefined : QueryRef<TData... npmjs.com - Signature changed
react:useLazyQuery.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TOptions extends Record<string, never> | Options<TData, TVariables>> = ResultTuple<TData, TVariables, "complete" | "streaming" | "empty" |... npmjs.com - Signature changed
react:useLoadableQuery.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TOptions extends Record<string, never> | Options> = Result<TData, TVariables, "complete" | "streaming" | (OptionWithFallback<TOptions, DefaultOptions, "errorPolicy">... npmjs.com - Signature changed
react:useQuery.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TOptions extends Record<string, never> | Base.Options<TData, TVariables> | SkipToken> = LazyType<Result<TData, TVariables, "complete" | "streaming" | "empty" |... npmjs.com - Signature changed
react:useSuspenseQuery.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TOptions extends Record<string, never> | Base.Options<TVariables> | SkipToken> = Result<TData, TVariables, "complete" | "streaming" | (TOptions extends any ? TOptions... npmjs.com
@apollo/client 4.3.5 breaking changes
- Behavior changed
useFragment
Calls to useFragment on a fragment with required variables must now pass the variables option, matching useSuspenseFragment and the query hooks. Code that omits it must be updated. github.com - Signature changed
react:useFragment.DocumentationTypes.useFragment.Options
Was interface Options<TData = unknown, TVariables extends OperationVariables = OperationVariables> extends _self.Options<TData, TVariables>; now interface Options<TData = unknown, TVariables extends OperationVariables = OperationVariables>... npmjs.com - Signature changed
react:useFragment.DocumentationTypes.useFragment.Options.variables
Was variables?: NoInfer<TVariables>; now variables?: TVariables. npmjs.com - Signature changed
react:useFragment.Options
Was interface Options<TData, TVariables extends OperationVariables>; now type Options<TData, TVariables extends OperationVariables> = Base.Options<TData, TVariables> & VariablesOption<NoInfer<TVariables>>. npmjs.com
@apollo/client 4.3.4 breaking changes
- Signature changed
ApolloCache.write
Was abstract write<TData = unknown, TVariables extends OperationVariables = OperationVariables>(write: Cache.WriteOptions<TData, TVariables>): Reference | undefined; now abstract write<TData = unknown, TVariables extends OperationVariables... npmjs.com - Signature changed
Cache.Implementation.write
Was abstract write<TData = unknown, TVariables extends OperationVariables = OperationVariables>(write: Cache.WriteOptions<TData, TVariables>): Reference | undefined; now abstract write<TData = unknown, TVariables extends OperationVariables... npmjs.com - Signature changed
incremental:Defer20220824Handler.startRequest
Was startRequest<TData extends Record<string, unknown>>(_: Incremental.StartRequestOptions): DeferRequest<TData>; now startRequest<TData extends Record<string, unknown>>(opts: Incremental.StartRequestOptions): DeferRequest<TData>. npmjs.com - Signature changed
incremental:GraphQL17Alpha2Handler.startRequest
Was startRequest<TData extends Record<string, unknown>>(_: Incremental.StartRequestOptions): DeferRequest<TData>; now startRequest<TData extends Record<string, unknown>>(opts: Incremental.StartRequestOptions): DeferRequest<TData>. npmjs.com - Signature changed
incremental:GraphQL17Alpha9Handler.startRequest
Was startRequest<TData>(_: Incremental.StartRequestOptions): IncrementalRequest<TData>; now startRequest<TData>(opts: Incremental.StartRequestOptions): IncrementalRequest<TData>. npmjs.com - Signature changed
InMemoryCache.write
Was write<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: Cache.WriteOptions<TData, TVariables>): Reference | undefined; now write<TData = unknown, TVariables extends OperationVariables =... npmjs.com
@apollo/client 4.3.3 breaking changes
- Signature changed
utilities/internal:isDeferredFragment
Was const isDeferredFragment: (fragmentSelection: FragmentSpreadNode | InlineFragmentNode, variables: OperationVariables | undefined) => boolean; now function isDeferredFragment(fragmentSelection: InlineFragmentNode | FragmentSpreadNode... npmjs.com - Signature changed
utilities/internal:isStreamField
Was const isStreamField: (field: FieldNode, variables: OperationVariables | undefined) => boolean; now function isStreamField(field: FieldNode, variables: OperationVariables | undefined): boolean. npmjs.com
@apollo/client 4.3.0 breaking changes
- Removed
The minimum supported TypeScript version is now 5.9.x, so projects on older TypeScript must upgrade. github.com - Removed
NoInfer
The custom NoInfer type is removed in favor of the native TypeScript NoInfer introduced in TypeScript 5.4. github.com - Behavior changed
When a field policy sets the scalar option, its read and merge functions are ignored and a development warning is emitted. github.com - Behavior changed
Mutation and subscription results now have scalars correctly returned, which can change the values users receive. github.com - Behavior changed
Variables containing custom scalar values are serialized before cache reads, cache writes and network requests, so links receive serialized values instead of the original objects. github.com - Behavior changed
In cache feud scenarios, the client may now make one extra network request because results are always written to the cache before delivery. github.com - Behavior changed
Mutations reread from the cache after each execution that writes a result, not only when an update function is given. Missing union or interface fields may now show up if possibleTypes is not configured. github.com - Behavior changed
Undelivered @defer fragments and @stream items are pruned from cache results for cache-first and cache-and-network, so emitted results can differ from before. github.com - Behavior changed
dataState
Some results previously reported as streaming now report partial or complete. Code that checks dataState for in-flight requests should check networkStatus for NetworkStatus.streaming instead. github.com - Behavior changed
GraphQL17Alpha9Handler
When using GraphQL17Alpha9Handler, every outgoing @defer directive gets a label argument, which changes the request sent over the network. github.com
And 41 more in this version. Sign up to see every change
@apollo/client 4.3.0-rc.1 breaking changes
- Renamed
cache.getScalarForField
The abstract cache method is renamed and must now return the scalar type name as a string instead of a Scalar instance. Custom cache implementations must be updated. github.com - Behavior changed
typePolicies.fields.scalar
The field policy scalar option and inputObjects type strings now use GraphQL list syntax to mark a list of scalars. Fields that were previously given the bare scalar type for lists must be changed to list syntax such as "[DateTime]". github.com
Older versions
69 older versions, each with its first changes. Sign up to see every change
Show 69 older versions
@apollo/client 4.3.0-alpha.11 breaking changes
- Removed
NoInfer
The package's custom NoInfer type is gone. Use the native TypeScript NoInfer utility, available since TypeScript 5.4. github.com
@apollo/client 4.3.0-alpha.10 breaking changes
- Removed
Projects using an older TypeScript version must upgrade to 5.9.x or later. github.com
@apollo/client 4.3.0-alpha.8 breaking changes
- Behavior changed
Scalar fields returned by no-cache queries are now parsed, which can change the values users receive. github.com
@apollo/client 4.3.0-alpha.7 breaking changes
- Behavior changed
Network results are always cached before delivery, and queries stop auto-refetching after seeing the same incomplete result again. One extra network request may occur in cache-feud cases. github.com
@apollo/client 4.3.0-alpha.6 breaking changes
- Behavior changed
When a field policy configures the scalar option, its read and merge functions are ignored. Remove them or move their logic, since a development warning is emitted when both are provided. github.com
@apollo/client 4.3.0-alpha.5 breaking changes
- Behavior changed
Undelivered @defer fragments and @stream items are now pruned in more cases for cache-first and cache-and-network, so results follow what the network delivered. github.com - Behavior changed
When using GraphQL17Alpha9Handler, a label argument is added to every outgoing @defer directive, so servers or tooling that inspect requests may need to handle it. github.com
@apollo/client 4.2.11 breaking changes
- Signature changed
react:useBackgroundQuery.DocumentationTypes.useBackgroundQuery.Options
Was interface Options<TVariables extends OperationVariables = OperationVariables> extends Omit<Base.Options, "variables">, UtilityDocumentationTypes.VariableOptions<TVariables>; now interface Options<TVariables extends OperationVariables =... npmjs.com - Signature changed
react:useQuery.DocumentationTypes.useQuery.Options
Was interface Options<TData = unknown, TVariables extends OperationVariables = OperationVariables> extends Omit<Base.Options<TData, TVariables>, "variables">, UtilityDocumentationTypes.VariableOptions<TVariables>; now interface... npmjs.com
And 1 more in this version.
@apollo/client 4.2.10 breaking changes
- Signature changed
ApolloClient.mutate.ResultForOptions
Was type ResultForOptions<TData, TVariables extends OperationVariables, TCache extends ApolloCache, TOptions extends Record<string, unknown> | MutateOptions<any, TVariables, TCache>> = LazyType<MutateResult<MaybeMasked<TData>... npmjs.com - Signature changed
ApolloClient.mutate.Signatures.Modern.__call
Was <TData, TVariables extends OperationVariables, TCache extends ApolloCache, TOptions extends ApolloClient.MutateOptions<NoInfer<TData>, NoInfer<TVariables>, TCache> & VariablesOption<TVariables & {[K in Exclude<keyof... npmjs.com
And 44 more in this version.
@apollo/client 4.2.6 breaking changes
- Behavior changed
Fields that only contain @stream on a nested field are no longer treated as streamed. They now overwrite existing lists like regular fields instead of merging chunk-wise. github.com
@apollo/client 4.2.0 breaking changes
- Behavior changed
defaultOptions.watchQuery.refetchOn
When the default refetchOn is false or true, or a function, a per-query refetchOn object now merges with it instead of replacing it. Events the query does not set now follow the default, so some queries may refetch less or more than before. github.com - Configuration changed
ApolloClient.DeclareDefaultOptions
Apps that pass defaultOptions to ApolloClient must declare their option types in ApolloClient.DeclareDefaultOptions, or TypeScript reports an error. Declare the types in an apollo.d.ts file. github.com
And 35 more in this version.
@apollo/client 4.2.0-alpha.8 breaking changes
- Behavior changed
refetchOn
A per-query refetchOn object no longer replaces defaultOptions.watchQuery.refetchOn. Events the object does not set now follow the default, so code relying on them refetching may change. github.com
@apollo/client 4.2.0-alpha.3 breaking changes
- Behavior changed
useMutation.Result.error
When errorPolicy is "ignore", useMutation's error result is typed as undefined. Code that reads a typed error from that result may need to change. github.com
@apollo/client 4.2.0-alpha.2 breaking changes
- Configuration changed
defaultOptions
Method and hook return types now follow declared defaultOptions. Code that sets defaultOptions such as errorPolicy must register those types in DeclareDefaultOptions, or TypeScript reports an error. github.com
@apollo/client 4.1.5 breaking changes
- Behavior changed
client.query
client.query stops picking up options from defaultOptions.watchQuery. If your code relied on those defaults for one-off queries, set the options on the query call directly. github.com
@apollo/client 4.1.2 breaking changes
- Behavior changed
prioritizeCacheValues
prioritizeCacheValues no longer overrides fetchPolicy cache-only, no-cache or standby, or skip true or skipToken, when reading the initial value of an ObservableQuery. Code relying on it to change those results should be reviewed. github.com - Behavior changed
ssrForceFetchDelay
ssrForceFetchDelay no longer overrides fetchPolicy cache-only, no-cache or standby, or skip true or skipToken, when reading the initial value of an ObservableQuery. Code relying on it to change those results should be reviewed. github.com
And 1 more in this version.
@apollo/client 4.1.0 breaking changes
- Behavior changed
When all fields in a query are skipped, the result is now {} instead of null. Code that checks for null must be updated. github.com - Behavior changed
@client
A @client field with a read function is no longer set to null as a fallback; the read function is called with undefined instead. github.com
And 50 more in this version.
@apollo/client 4.1.0-rc.1 breaking changes
- Behavior changed
When all fields in a query are skipped, the returned value is now an empty object rather than null. github.com
@apollo/client 4.1.0-rc.0 breaking changes
- Behavior changed
merge functions are no longer called more than once for the same incremental chunk. github.com - Behavior changed
Defer20220824Handler
Using Defer20220824Handler no longer applies the default stream merge function and truncates the streamed array on the first chunk. github.com
@apollo/client 4.1.0-alpha.3 breaking changes
- Behavior changed
DeepPartial
DeepPartial<Array<TData>> now returns Array<DeepPartial<TData>> instead of including undefined in the element type. github.com
@apollo/client 4.1.0-alpha.2 breaking changes
- Behavior changed
useMutation
An error is thrown when @stream is detected and no incrementalDelivery handler is configured. github.com
@apollo/client 4.1.0-alpha.1 breaking changes
- Behavior changed
Using no-cache fetch policy without a local resolver now emits a warning. github.com - Behavior changed
ApolloCache.resolvesClientField
LocalState warns and sets null unless a local resolver exists or the cache's resolvesClientField returns true. github.com
@apollo/client 4.1.0-alpha.0 breaking changes
- Behavior changed
Deferred payloads with shorter arrays no longer keep leftover items from the cached array, and @stream arrays replace the cached arrays. github.com - Behavior changed
Defer20220824Handler
Users switching from the older incremental delivery format to the newer one may see some incremental results arrive at different times. github.com
@apollo/client 4.0.13 breaking changes
- Behavior changed
mergeOptions
The internal compact and mergeOptions utilities now preserve symbol keys; they are internal and not meant for application code. github.com
@apollo/client 4.0.12-beta.0 breaking changes
- Behavior changed
By default, @stream arrays are truncated only when the last chunk arrives. Code that relied on the previous truncation timing may see different array contents while streaming. github.com
@apollo/client 4.0.11 breaking changes
- Signature changed
ApolloClient.WatchQueryOptions
Was type WatchQueryOptions<TData = unknown, TVariables extends OperationVariables = OperationVariables> = {fetchPolicy?: WatchQueryFetchPolicy; nextFetchPolicy?: WatchQueryFetchPolicy | ((this: WatchQueryOptions<TData, TVariables>... npmjs.com
@apollo/client 4.0.7 breaking changes
- Behavior changed
GraphQLWsLink
GraphQLWsLink stops including operationType in the payload it sends. Code or servers that read operationType from that payload must no longer depend on it. github.com
@apollo/client 4.0.4 breaking changes
- Signature changed
ApolloClient.Options.devtools
Was devtools?: DevtoolsOptions; now devtools?: ApolloClient.DevtoolsOptions. npmjs.com - Signature changed
react:useQuery.Base.Result
Was interface Result<TData = unknown, TVariables extends OperationVariables = OperationVariables>; now interface Result<TData = unknown, TVariables extends OperationVariables = OperationVariables, TReturnVariables extends... npmjs.com
And 2 more in this version.
@apollo/client 4.0.3 breaking changes
- Signature changed
react:MutationHookOptions.variables
Was variables?: TConfiguredVariables; now variables?: Partial<TVariables> & TConfiguredVariables. npmjs.com - Signature changed
react:useMutation.Options.variables
Was variables?: TConfiguredVariables; now variables?: Partial<TVariables> & TConfiguredVariables. npmjs.com
And 1 more in this version.
@apollo/client 4.0.0 breaking changes
- Signature changed
ApolloCache.diff
Was abstract diff<T>(query: Cache.DiffOptions): Cache.DiffResult<T>; now abstract diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache.DiffOptions<TData, TVariables>): Cache.DiffResult<TData>. npmjs.com - Signature changed
ApolloCache.extract
Was abstract extract(optimistic?: boolean): TSerialized; now abstract extract(optimistic?: boolean): unknown. npmjs.com
And 142 more in this version.
@apollo/client 4.0.0-rc.13 breaking changes
- Configuration changed
The release introduces a versioning policy document with no direct code change. github.com
@apollo/client 4.0.0-rc.12 breaking changes
- Configuration changed
A new entrypoint includes removed values and types with migration docs; no existing code breaks from it. github.com
@apollo/client 4.0.0-rc.11 breaking changes
- Removed
DataMasking
Remove the DataMasking interface exported from @apollo/client and @apollo/client/masking. github.com - Behavior changed
ApolloLink.Result
If you use an incremental delivery handler, add the Defer20220824Handler TypeOverrides declaration to keep chunk types on ApolloLink.Result. github.com
@apollo/client 4.0.0-rc.10 breaking changes
- Removed
Masked
The types mode and the Masked and MaskedDocumentNode types are removed; remove the mode key from DataMasking declarations. github.com - Removed
MaskedDocumentNode
The MaskedDocumentNode type is removed. github.com
@apollo/client 4.0.0-rc.9 breaking changes
- Behavior changed
invariant.error
invariant.error logs in production builds as well as dev builds. github.com
@apollo/client 4.0.0-rc.8 breaking changes
- Removed
ClientParseError
JSON serialize errors are now thrown directly instead of as ClientParseError. github.com - Removed
OperationBatcher
OperationBatcher is an internal detail of BatchLink and should not be used directly. github.com
And 4 more in this version.
@apollo/client 4.0.0-rc.7 breaking changes
- Removed
concat
Wrap plain request handler functions with new ApolloLink before passing them to concat, from or split. github.com - Removed
transformOperation
Remove calls to transformOperation and validateOperation from @apollo/client/link/utils and pass the request directly to createOperation. github.com
And 5 more in this version.
@apollo/client 4.0.0-rc.3 breaking changes
- Behavior changed
@apollo.client.react
A React-Compiler compiled version of the hooks is available at @apollo/client/react/compiled as a drop-in option. github.com
@apollo/client 4.0.0-alpha.23 breaking changes
- Removed
ExecutionPatchIncrementalResult
ExecutionPatchIncrementalResult, ExecutionPatchInitialResult, ExecutionPatchResult, IncrementalPayload and Path types are removed. github.com - Removed
ExecutionPatchInitialResult
Removed as part of the incremental-format type cleanup. github.com
And 11 more in this version.
@apollo/client 4.0.0-alpha.22 breaking changes
- Renamed
ApolloClient.name
The name and version constructor options moved onto a clientAwareness key. github.com - Behavior changed
__ac_
Aliasing a field to an alias beginning with __ac_ is now forbidden because the namespace is reserved for internal use. github.com
And 3 more in this version.
@apollo/client 4.0.0-alpha.21 breaking changes
- Removed
cache.fragmentMatches
The check and warning for cache.fragmentMatches are removed because data masking requires that API and may crash without it. github.com - Removed
useLazyQuery.context
The context option is removed from useLazyQuery hook options; it must now be passed to the execute function, and resets to {} if not provided. github.com
And 1 more in this version.
@apollo/client 4.0.0-alpha.20 breaking changes
- Removed
ObservableQuery.queryId
ObservableQuery no longer has a queryId property. github.com - Removed
queryRef.toPromise
queryRefs created by preloadQuery no longer have a toPromise function; use preloadQuery.toPromise(queryRef) instead. github.com
And 3 more in this version.
@apollo/client 4.0.0-alpha.19 breaking changes
- Behavior changed
client.subscribe
Unsubscribing from an ObservableQuery before a value is emitted removes it from the tracked queries and it is no longer eligible for query deduplication. github.com - Behavior changed
useSubscription.restart
Deduplication now stays active while a subscription connection is open, and calling restart from useSubscription restarts the connection on deduplicated subscriptions. github.com
@apollo/client 4.0.0-alpha.17 breaking changes
- Removed
QueryReference
The deprecated QueryReference type is removed. Use QueryRef instead. github.com - Behavior changed
useLazyQuery.execute
Calling execute rejects previously started queries from the same useLazyQuery usage with an AbortError unless .retain() is called on their promises. For a series of network calls, use ApolloClient.query. github.com
And 1 more in this version.
@apollo/client 4.0.0-alpha.16 breaking changes
- Behavior changed
Non-200 responses now throw ServerError for application/json and other content types; only application/graphql-response+json is parsed as a GraphQL response. Test mocks responding as application/json may behave differently from production. github.com - Behavior changed
HttpLink
HttpLink and BatchHttpLink no longer emit a next notification with the parsed response body when a ServerError is thrown. github.com
And 1 more in this version.
@apollo/client 4.0.0-alpha.13 breaking changes
- Removed
@apollo.client.testing.experimental
The @apollo/client/testing/experimental test utilities are removed. Use GraphQL Testing Library instead. github.com - Removed
@apollo.client.utilities
Most utilities previously exported from @apollo/client/utilities are now in @apollo/client/utilities/internal. github.com
@apollo/client 4.0.0-alpha.12 breaking changes
- Removed
Projects using graphql v15 must upgrade graphql to a supported version. github.com - Removed
credentials
Pass credentials to an HttpLink instance in the link option instead. github.com
And 6 more in this version.
@apollo/client 4.0.0-alpha.11 breaking changes
- Signature changed
ApolloLink.execute
ApolloLink.execute now requires a third argument with a client property. Add { client } to existing calls. npmjs.com - Signature changed
Operation.getContext
The cache and forceFetch properties are no longer on the context from operation.getContext(). Use operation.client.cache for the cache and queryDeduplication instead of forceFetch. npmjs.com
@apollo/client 4.0.0-alpha.10 breaking changes
- Removed
client.query
Passing standby as the fetchPolicy to client.query is no longer supported. Use a watched query for standby behavior. github.com - Removed
notifyOnNetworkStatusChange
client.query no longer supports notifyOnNetworkStatusChange and throws an error if the option is set. Remove it from client.query calls. github.com
And 14 more in this version.
@apollo/client 4.0.0-alpha.9 breaking changes
- Behavior changed
ObservableQuery
When notifyOnNetworkStatusChange is true, ObservableQuery now emits a loading state when subscribed. Code that expects the first emitted value to be a result must handle this. github.com - Default changed
notifyOnNetworkStatusChange
Loading states are now emitted or rendered by default on refetch, fetchMore and similar calls. To keep the v3 behavior, set notifyOnNetworkStatusChange to false in defaultOptions. github.com
@apollo/client 4.0.0-alpha.8 breaking changes
- Removed
ApolloLink.onError
ApolloLink no longer has an onError method. github.com - Removed
ApolloLink.setOnError
ApolloLink no longer has a setOnError method. github.com
And 5 more in this version.
@apollo/client 4.0.0-alpha.7 breaking changes
- Removed
@apollo.client.react.context
Import from @apollo/client/react instead. github.com - Removed
@apollo.client.react.hooks
Import from @apollo/client/react instead. github.com
And 1 more in this version.
@apollo/client 4.0.0-alpha.6 breaking changes
- Removed
client.query.loading
Promise results no longer include these properties. github.com - Removed
client.reFetchObservableQueries.loading
Promise results no longer include these properties. github.com
And 8 more in this version.
@apollo/client 4.0.0-alpha.5 breaking changes
- Removed
useSubscription.onSubscriptionComplete
Use onComplete instead. github.com - Removed
useSubscription.onSubscriptionData
Use onData instead. github.com
And 7 more in this version.
@apollo/client 4.0.0-alpha.4 breaking changes
- Removed
BaseMutationOptions
Use the hook option types instead. github.com - Removed
BaseQueryOptions
Use the hook option types instead. github.com
And 8 more in this version.
@apollo/client 4.0.0-alpha.3 breaking changes
- Removed
useQuery.called
Code reading called from the useQuery result will no longer work. github.com - Behavior changed
client.query
Promise APIs now resolve with the network error in the error property instead of rejecting when errorPolicy is ignore. github.com
@apollo/client 4.0.0-alpha.2 breaking changes
- Removed
canonizeResults
Results that were referentially equal with canonizeResults no longer keep the same object identity. github.com - Removed
InMemoryCache.gc.resetResultIdentities
The option is gone because object canonization was removed. github.com
And 5 more in this version.
@apollo/client 4.0.0-alpha.1 breaking changes
- Behavior changed
Response.body must now be a WhatWG ReadableStream; polyfills returning other stream types need replacing. github.com
@apollo/client 4.0.0-alpha.0 breaking changes
- Removed
Apollo Client 4 no longer supports React 16. github.com - Removed
The urql multipart subscriptions utilities were removed; use urql's native multipart subscriptions support. github.com
And 71 more in this version.
@apollo/client 3.14.0 breaking changes
- Signature changed
ApolloClient
Was class ApolloClient<TCacheShape> implements DataProxy; now class ApolloClient<TCacheShape = any> implements DataProxy. npmjs.com - Signature changed
ApolloClient.mutate
Was mutate<TData = any, TVariables extends OperationVariables = OperationVariables, TContext extends Record<string, any> = DefaultContext, TCache extends ApolloCache<any> = ApolloCache<any>>(options: MutationOptions<TData, TVariables... npmjs.com
And 14 more in this version.
@apollo/client 3.14.0-alpha.1 breaking changes
- Behavior changed
client.query
Using the standby fetch policy with client.query now logs a warning. Avoid standby with client.query. github.com
@apollo/client 3.14.0-alpha.0 breaking changes
- Behavior changed
cache.gc
cache.gc() now resets the addTypenameTransform and fragments caches only when resetResultCache is true. Code relying on the old reset behavior must pass resetResultCache: true. github.com
@apollo/client 3.13.7 breaking changes
- Removed
QueryListener
QueryListener was removed in @apollo/client 3.13.7 npmjs.com
@apollo/client 3.13.3 breaking changes
- Behavior changed
observableQuery.getCurrentResult
With errorPolicy set to all, getCurrentResult() now reports NetworkStatus.error instead of NetworkStatus.ready when the result contains errors. Code that checks networkStatus in components using useQuery or useLazyQuery may need to account... github.com
@apollo/client 3.13.1 breaking changes
- Behavior changed
ObervableQuery.refetch
Calling refetch on a query using cache-and-network now performs a network-only fetch instead. Code relying on the previous cache-and-network refetch behavior should review its fetch policy. github.com
@apollo/client 3.13.0 breaking changes
- Removed
UpdateQueryOptions.variables
UpdateQueryOptions.variables was removed in @apollo/client 3.13.0 npmjs.com - Behavior changed
For multipart responses such as @defer, query deduplication now continues until the final chunk arrives, which can change timing for duplicate queries. github.com
And 8 more in this version.
@apollo/client 3.12.9 breaking changes
- Signature changed
ApolloError.protocolErrors
Was protocolErrors: ReadonlyArray<{message: string; extensions?: GraphQLErrorExtensions[];}>; now protocolErrors: ReadonlyArray<GraphQLFormattedError>. npmjs.com
@apollo/client 3.12.7 breaking changes
- Behavior changed
ApolloPayloadResult.errors
The errors field type on ApolloPayloadResult now matches the GraphQL error format. Code that assumed a plain string or JavaScript error object there should be checked. github.com - Signature changed
ApolloPayloadResult.errors
Was errors?: ReadonlyArray<Error | string>; now errors?: ReadonlyArray<GraphQLFormattedError>. npmjs.com
And 1 more in this version.
@apollo/client 3.12.6 breaking changes
- Signature changed
MaybeMasked
Was type MaybeMasked<TData> = DataMasking extends {mode: "unmask";} ? TData extends any ? true extends IsAny<TData> ? TData : TData extends {__masked?: true;} ? Prettify<RemoveMaskedMarker<TData>> : true extends... npmjs.com - Signature changed
Unmasked
Was type Unmasked<TData> = true extends IsAny<TData> ? TData : TData extends object ? UnwrapFragmentRefs<RemoveMaskedMarker<RemoveFragmentName<TData>>> : TData; now type Unmasked<TData> = true extends IsAny<TData> ? TData : TData extends... npmjs.com
@apollo/client 3.12.5 breaking changes
- Default changed
MaybeMasked
The default behavior of MaybeMasked changed to preserve types unless otherwise specified. To keep the old unwrapping default, use the new mode option. github.com - Signature changed
MaybeMasked
Was type MaybeMasked<TData> = TData extends any ? true extends IsAny<TData> ? TData : TData extends {__masked?: true;} ? Prettify<RemoveMaskedMarker<TData>> : DataMasking extends {enabled: true;} ? TData : true extends... npmjs.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.