Change8
Symbol11 releases

useLazyQuery

Found in 1 package: apollo-client

apollo-client(11 releases)

@apollo/client@4.2.10
Aug 5, 2026

This patch release addresses several type-related bugs in Apollo Client, improving the accuracy of return types for mutations, queries with constant variable types, and options passed to various API functions. It also refines the return types for `refetch`, `fetchMore`, and `useLazyQuery` based on the provided `errorPolicy`.

@apollo/client@4.2.1
Jun 2, 2026

This patch release fixes a bug in useLazyQuery related to applying pollInterval changes between renders.

@apollo/client@4.0.11
Dec 16, 2025

Patch release fixing refetch behavior for standby queries and replacing `findLast` with compatible methods, plus a hidden option for framework integrations.

@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-alpha.21Breaking
Jun 10, 2025

Added streaming support for `@defer` queries with a new `NetworkStatus.streaming` value and changed loading semantics, removed the `context` option from `useLazyQuery`, and made `cache.fragmentMatches` mandatory.

@apollo/client@4.0.0-alpha.17Breaking
Jun 3, 2025

This release introduces a new `dataState` property and modifies the `TData` generic handling, removes the deprecated `QueryReference` type, and adds a `.retain()` method to result promises, requiring migration of type signatures and handling of lazy query execution.

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.

v4.0.0-alpha.9Breaking
Apr 11, 2025

This release introduces automatic loading state emission by default and adds initial loading support for ObservableQuery, while fixing several useLazyQuery and polling behaviors.

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 useLazyQuery changes.

Learn More