# apollo-client/release
Apollo Client @apollo/client@4.4.0-alpha.1
importance: highbreakingmigrationfeatureprerelease
Fragment APIs now obtain fragment arguments and operation variables from the object passed to `from`, so callers can read fragments with the correct values without separately providing variables. `CombinedGraphQLErrors` and `CombinedProtocolErrors` now extend the standard `AggregateError`, requiring an ES2021 library target in TypeScript configuration.
affected
Users of the fragment APIs gain automatic argument and variable resolution, while TypeScript users of the error classes need ES2021 library declarations.
action
If using TypeScript, ensure the configured `lib` includes `es2021` or `es2021.promise`.
release_signals
-`CombinedGraphQLErrors` and `CombinedProtocolErrors` now extend `AggregateError`; TypeScript projects must include `es2021` or `es2021.promise` in their `lib` configuration.
+Fragment APIs read fragment arguments and operation variables from the object passed to `from`; this applies to `useFragment`, `useSuspenseFragment`, `watchFragment`, `readFragment`, `writeFragment`, and `updateFragment.
migration_steps1 steps
- 01Set TypeScript `compilerOptions.lib` to include `es2021` or `es2021.promise`.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.