# apollo-client/release
Apollo Client @apollo/client@4.3.0-alpha.11
importance: mediumfeatureprerelease
This alpha release introduces type-safe subscription skipping with `skipToken` and replaces a custom type utility with TypeScript's native `NoInfer`.
affected
Developers using `useSubscription` with required variables will benefit from improved type safety.
action
Update usage of `useSubscription` to use `skipToken` for better type safety with required variables.
release_signals
+Added `skipToken` support for `useSubscription` to provide type-safe skipping of subscriptions with required variables.
+Replaced custom `NoInfer` type utility with TypeScript 5.4's native `NoInfer`.
code_snippet
import { skipToken, useSubscription } from "@apollo/client/react";
// Use `skipToken` in place of `skip: true` for better type safety
// for required variables
const { data } = useSubscription(
SUBSCRIPTION,
id ? { variables: { id } } : skipToken
);# 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.