github apollographql/apollo-client @apollo/client@4.3.6

4 hours ago

Patch Changes

  • #13484 9462324 Thanks @SunilRathod27! - Exclude "partial" from the dataState union returned from useQuery, useLazyQuery, useSuspenseQuery, useBackgroundQuery, useLoadableQuery, and preloadQuery (createQueryPreloader) when fetchPolicy is "no-cache". This means that dataState is never "partial" when fetchPolicy is "no-cache", regardless of whether returnPartialData is true or false.

  • #13486 165aa72 Thanks @phryneas! - Pass coerced scalars into refetchQueries, updateQueries and update mutation callback options

  • #13487 237a2a1 Thanks @phryneas! - Introduce a warning for missing possibleTypes that might lead to data loss.

  • #13486 165aa72 Thanks @phryneas! - Coerce scalars in no-cache mutations

Don't miss a new apollo-client release

NewReleases is sending notifications on new releases.