Change8
Symbol20 releases

useQuery

Found in 1 package: apollo-client

apollo-client(20 releases)

@apollo/client@4.3.0-rc.2
Sep 3, 2026

The `skip` option in `useQuery` and `useSubscription` has been deprecated in favor of `skipToken`.

@apollo/client@4.2.0-alpha.5
May 1, 2026

This patch release improves developer experience by ensuring proper IntelliSense suggestions for the options object in several core query hooks.

@apollo/client@4.2.0-alpha.4
Apr 29, 2026

This release introduces automatic event-based refetching capabilities through the new RefetchEventManager, allowing queries to automatically refresh on events like window focus or network reconnection. Event refetching is opt-in and highly configurable at both the client and query levels.

@apollo/client@4.1.6
Feb 23, 2026

This patch release addresses a specific hydration mismatch issue occurring in `useQuery` when server-side rendering is disabled alongside query skipping.

@apollo/client@4.1.5
Feb 19, 2026

This patch release addresses two specific bugs: one concerning unnecessary polling in useQuery when skipped, and another regarding incorrect option application in client.query.

@apollo/client@4.1.2
Jan 21, 2026

This patch release addresses several issues related to Server-Side Rendering (SSR) behavior, specifically ensuring correct handling of fetch policies and skip tokens during initial data reading.

@apollo/client@4.0.4Breaking
Sep 2, 2025

This patch release adds a type‑safe `skipToken` for query skipping, fixes unhandled promise rejections and invariant handling, and switches to a named `equal` export from `@wry/equality`, which requires import updates.

@apollo/client@4.0.0Breaking
Aug 21, 2025

Apollo Client 4.0 introduces a framework‑agnostic core, unified error handling, opt‑in local state, a new `dataState` property, and class‑based links, while removing `ApolloError` and several legacy APIs, requiring code migrations.

@apollo/client@4.0.0-rc.1Breaking
Jun 24, 2025

This release removes two deprecated configuration options, adds a new `operationType` field for easier operation checks, exports several types, and includes bug fixes around resolver warnings and query rerendering.

@apollo/client@4.0.0-alpha.23Breaking
Jun 18, 2025

This release introduces significant improvements to `cache-only` query behavior, making them more predictable by preventing unnecessary fetches and initial loading states. It also modernizes link creation by favoring classes over creator functions and refines option inheritance in `fetchMore`.

v4.0.0-alpha.15Breaking
May 23, 2025

This release moves unstable testing utilities to an internal namespace, removes several deprecated testing helpers, adds subtle `useQuery` and `ObservableQuery` behavior improvements, and deprecates old MockLink type exports.

v4.0.0-alpha.10Breaking
Apr 17, 2025

This 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.

v3.13.6
Apr 4, 2025

Patch release fixes ObservableQuery behavior in useQuery, keeping it inactive until the first subscription.

v4.0.0-alpha.5Breaking
Mar 31, 2025

The update replaces `FetchResult` with new `SubscribeResult` and `MutateResult` types, removes deprecated subscription callbacks, unifies error handling, and includes several bug fixes and SSR improvements.

v4.0.0-alpha.4Breaking
Mar 24, 2025

Apollo Client v4 introduces public `reobserve`, renames network fetch control to `prioritizeCacheValues`, removes several legacy hook types, and restructures React hook typings, requiring migration steps.

v4.0.0-alpha.3Breaking
Mar 20, 2025

Network errors now respect `errorPolicy` and the `called` property was removed from `useQuery`, requiring updates to error handling and query state checks.

v4.0.0-alpha.2Breaking
Mar 19, 2025

Apollo Client 4.0 removes several generic arguments and options, defaults data and variable types to `unknown`/`OperationVariables`, and fixes the CommonJS build, requiring code updates for TypeScript users.

v3.13.3
Mar 7, 2025

Patch release corrects networkStatus reporting for queries with errorPolicy "all", fixing observableQuery, useQuery, and useLazyQuery behavior.

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.

Track Symbol Changes

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

Learn More