useSubscription
Found in 3 packages: apollo-client, trpc, clerk
apollo-client(4 releases)
@apollo/client@4.3.0-alpha.11Introduced `skipToken` for `useSubscription` to enhance type safety when skipping subscriptions with required variables. Also, removed the custom `NoInfer` type utility in favor of the native TypeScript 5.4 version.
@apollo/client@4.0.0-alpha.19BreakingAdds subscription restart capability and full‑lifecycle deduplication, while changing early‑unsubscribe behavior for ObservableQuery.
v4.0.0-alpha.10BreakingThis release introduces stricter variable handling, new error utilities, and several breaking changes such as removal of `standby` fetchPolicy and deprecation of `never` as a TVariables type.
v4.0.0-alpha.5BreakingThe update replaces `FetchResult` with new `SubscribeResult` and `MutateResult` types, removes deprecated subscription callbacks, unifies error handling, and includes several bug fixes and SSR improvements.
trpc(2 releases)
v11.8.1This patch release focuses on bug fixes for subscription handling, TanStack React Query prop tracking, and Fastify type definitions.
v11.2.0This release introduces AWS Lambda response streaming and support for 402 HTTP status codes, alongside a fix for subscription connection state handling in the TanStack React Query integration.
clerk(13 releases)
@clerk/shared@3.35.0This release introduces dynamic loading for Clerk Protect and experimental support for modal sign-ups in signals. It also includes several improvements to React Query hooks regarding cache keys and revalidation behavior.
@clerk/chrome-extension@2.6.0This release removes the experimental `subscriptions` property from `useOrganization` in favor of the dedicated `useSubscription` hook and updates several internal dependencies.
@clerk/clerk-expo@2.15.0BreakingThis release removes the experimental `subscriptions` property from `useOrganization()` in favor of the dedicated `useSubscription()` hook and updates several internal dependencies.
@clerk/nextjs@6.32.0BreakingThis release removes the experimental 'subscriptions' property from 'useOrganization()' in favor of the dedicated 'useSubscription()' hook and introduces an option to control how pending sessions are treated by 'currentUser'.
@clerk/astro@2.13.0This release introduces experimental billing buttons and deprecates the experimental 'subscriptions' property from useOrganization(), directing users to the new useSubscription hook.
@clerk/clerk-react@5.47.0This release removes the experimental `subscriptions` property from `useOrganization()` in favor of the dedicated `useSubscription()` hook and updates internal dependencies.
@clerk/react-router@1.10.0BreakingThis release removes the experimental 'subscriptions' property from 'useOrganization()' in favor of the dedicated 'useSubscription()' hook and updates several internal dependencies.
@clerk/tanstack-react-start@0.24.0BreakingThis release removes the experimental `subscriptions` property from `useOrganization()` in favor of the dedicated `useSubscription()` hook and updates several internal Clerk dependencies.
@clerk/shared@3.25.0BreakingThis release removes the experimental `subscriptions` property from `useOrganization` in favor of the dedicated `useSubscription` hook and fixes an issue where billing hooks showed stale data after sign out.
@clerk/clerk-react@5.37.0This release exposes several commerce-related hooks and components under the experimental module and updates internal dependencies.
@clerk/nextjs@6.27.0This release introduces several new commerce-related hooks and components under the experimental module and updates various internal dependencies.
@clerk/clerk-js@5.76.0This release introduces top-level subscription support in the Billing Beta, updating related types and hooks, and deprecates the old `getSubscriptions` method.
@clerk/shared@3.15.0This minor release updates dependencies and introduces a change in the Billing Beta, replacing `useSubscriptionItems` with the new `useSubscription` hook.
Track Symbol Changes
Use the Change8 MCP server or GitHub Action to get notified when useSubscription changes.
Learn More