@apollo/client@4.0.0-rc.11
Breaking Changes📦 apollo-client
⚠ 2 breaking🔧 3 symbols
Summary
This release introduces a breaking change requiring explicit type augmentation for incremental delivery handlers and removes the `DataMasking` interface, necessitating code updates.
⚠️ Breaking Changes
- Incremental delivery handlers now require explicit opt‑in to add chunk types to the `ApolloLink.Result` type; you must augment the module with `declare module "@apollo/client" { export interface TypeOverrides extends Defer20220824Handler.TypeOverrides {} }`.
- The `DataMasking` interface has been removed from `@apollo/client` and `@apollo/client/masking`; any imports or usage must be deleted or replaced.
Migration Steps
- Add a module augmentation for `@apollo/client` that extends `TypeOverrides` with `Defer20220824Handler.TypeOverrides` as shown in the release notes.
- Search for and remove any imports or references to `DataMasking` from your codebase.
🔧 Affected Symbols
ApolloLink.ResultDefer20220824Handler.TypeOverridesDataMasking