Change8
Symbol8 releases

useFragment

Found in 1 package: apollo-client

apollo-client(8 releases)

@apollo/client@4.1.0
Jan 15, 2026

This release introduces significant enhancements to cache interaction, including support for array watching via fragments, new options for context in `useMutation`, and expanded support for GraphQL incremental delivery specifications like `@defer` (v17 alpha 9) and `@stream`.

@apollo/client@4.1.0-alpha.9
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.1.0-alpha.3
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.0.0-rc.5Breaking
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@4.0.0-rc.4
Jul 8, 2025

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

v3.13.0Breaking
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.0
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.8
Jan 27, 2025

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

Track Symbol Changes

Use the Change8 MCP server or GitHub Action to get notified when useFragment changes.

Learn More