Skip to content

Releases: apollographql/apollo-client

@apollo/client@4.1.7

08 Apr 16:26
be4280a

Choose a tag to compare

Patch Changes

v3.14.1

12 Mar 21:02
ff90828

Choose a tag to compare

Patch Changes

  • #13168 6b84ec0 Thanks @jerelmiller! - Fix issue where muting a deprecation from one entrypoint would not mute the warning when checked in a different entrypoint. This caused some rogue deprecation warnings to appear in the console even though the warnings should have been muted.

  • #12970 f91fab5 Thanks @acemir! - Add a deprecation message for the variableMatcher option in MockLink.

  • #13168 6b84ec0 Thanks @jerelmiller! - Ensure deprecation warnings are properly silenced in React hooks when globally disabled.

@apollo/client@4.2.0-alpha.1

05 Mar 00:01
67bce6f

Choose a tag to compare

Pre-release

Patch Changes

@apollo/client@4.1.6

23 Feb 18:28
1f6decb

Choose a tag to compare

Patch Changes

  • #13128 6c0b8e4 Thanks @pavelivanov! - Fix useQuery hydration mismatch when ssr: false and skip: true are used together

    When both options were combined, the server would return loading: false (because useSSRQuery checks skip first), but the client's getServerSnapshot was returning ssrDisabledResult with loading: true, causing a hydration mismatch.

@apollo/client@4.1.5

19 Feb 17:14
32f92e5

Choose a tag to compare

Patch Changes

  • #13155 3ba1583 Thanks @jerelmiller! - Fix an issue where useQuery would poll with pollInterval when skip was initialized to true.

  • #13135 fd42142 Thanks @jerelmiller! - Fix issue where client.query would apply options from defaultOptions.watchQuery.

@apollo/client@4.2.0-alpha.0

13 Feb 17:41
001df18

Choose a tag to compare

Pre-release

Minor Changes

  • #13130 dd12231 Thanks @jerelmiller! - Improve the accuracy of client.query return type to better detect the current errorPolicy. The data property is no longer nullable when the errorPolicy is none. This makes it possible to remove the undefined checks or optional chaining in most cases.

@apollo/client@4.1.4

05 Feb 18:18
1afb5c1

Choose a tag to compare

Patch Changes

  • #13124 578081f Thanks @Re-cool! - Ensure PersistedQueryLink merges http and fetchOptions context values instead of overwriting them.

@apollo/client@4.1.3

28 Jan 18:21
125862d

Choose a tag to compare

Patch Changes

  • #13111 bf46fe0 Thanks @RogerHYang! - Fix createFetchMultipartSubscription to support cancellation via AbortController

    Previously, calling dispose() or unsubscribe() on a subscription created by createFetchMultipartSubscription had no effect - the underlying fetch request would continue running until completion. This was because no AbortController was created or passed to fetch(), and no cleanup function was returned from the Observable.

@apollo/client@4.1.2

21 Jan 09:31
6bce77d

Choose a tag to compare

Patch Changes

  • #13105 8b62263 Thanks @phryneas! - ssrMode, ssrForceFetchDelay or prioritizeCacheValues should not override fetchPolicy: 'cache-only', fetchPolicy: 'no-cache', fetchPolicy: 'standby', skip: true, or skipToken when reading the initial value of an ObservableQuery.

  • #13105 8b62263 Thanks @phryneas! - Fix skipToken in useQuery with prerenderStatic and related SSR functions.

  • #13105 8b62263 Thanks @phryneas! - Avoid fetches with fetchPolicy: no-cache in useQuery with prerenderStatic and related SSR functions.

@apollo/client@4.1.1

20 Jan 17:46
c605345

Choose a tag to compare

Patch Changes

  • #13103 dee7dcf Thanks @jerelmiller! - Ensure @client fields that are children of aliased server fields are resolved correctly.