Change8

@apollo/client@4.3.0-alpha.10

Breaking Changes
📦 apollo-clientView on GitHub →
1 breaking1 features🔧 6 symbols

Summary

Updated the minimum supported TypeScript version to 5.9.x and introduced the ability to override the `from` input for fragment APIs with stricter policies.

⚠️ Breaking Changes

  • The minimum supported TypeScript version is now 5.9.x. Ensure your project uses TypeScript 5.9 or later.

✨ New Features

  • Allow overriding the `from` input of `useFragment`, `useSuspenseFragment`, `readFragment`, `writeFragment` and related fragment APIs via a new `FromOptionValue` key on the `TypeOverrides` interface. This allows for stricter policies when specifying the `from` input.

Affected Symbols