ngcc-validation
ngcc-validation copied to clipboard
build(deps): update dependency @apollo/client to v3.7.3 (latest)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @apollo/client (source) | dependencies | minor | 3.6.9 -> 3.7.3 |
Release Notes
apollographql/apollo-client
v3.7.3
Patch Changes
-
#10334
7d923939dThanks @jerelmiller! - Better handle deferred queries that have cached or partial cached data for them -
#10368
46b58e976Thanks @alessbell! - Fix: unblocks support for defer in mutationsIf the
@deferdirective is present in the document passed tomutate, the Promise will resolve with the final merged data after the last multipart chunk has arrived in the response.
v3.7.2
Patch Changes
-
Only show dev tools suggestion in the console when
connectToDevToolsistrue.
@chris110408 in #10258 -
Pass
TCachegeneric toMutationHookOptionsfor better type support inuseMutation.
@igrlk in #10223 -
Add
nameproperty toApolloErrorto ensure better type safety and help error reporting tools better identify the error.
@aaronadamsCA in #9323 -
Export a
ModifierDetailstype for thedetailsparameter of aModifierfunction.
@KeithGillette in #7133 -
Revert use of
cloneDeepto clone options when fetching queries.
@MrDoomBringer in #10215
v3.7.1
Patch Changes
-
Fix issue where
loadingremainstrueafterobserver.refetchis called repeatedly with different variables when the same data are returned.
@alessbell in #10143 -
Fix race condition where
useFragment_experimentalcould receive cache updates before initially callingcache.watchinuseEffect.
@benjamn in #10212
v3.7.0
Minor Changes
-
Implement preview support for the
@deferdirective.
@alessbell and @benjamn in #10018 -
Implement
useFragment_experimentalhook, which represents a lightweight live binding into theApolloCache, and never triggers network requests of its own.
@benjamn in #8782 -
Allow registering named fragments with
InMemoryCacheto support using...NamedFragmentin queries without redeclaringNamedFragmentrepeatedly in every query that uses it.
@benjamn in #9764 -
Support
onErrorcallback foruseSubscriptionhook.
@jeroenvisser101 in #9495 -
Implement
preserveHeaderCaseoption forhttpcontext object, enabling preserved header capitalization for non-http-spec-compliant servers.
@mrdoombringer in #9891
Patch Changes
-
Delay calling
onCompletedandonErrorcallbacks passed touseQueryusingPromise.resolve().then(() => ...)to fix issue #9794.
@dylanwulf in #9823 -
Replace
concast.cleanupmethod with simplerconcast.beforeNextAPI, which promises to call the given callback function just before the next result/error is delivered. In addition,concast.removeObserverno longer takes aquietly?: booleanparameter, since that parameter was partly responsible for cleanup callbacks sometimes not getting called.
@benjamn in #9718 -
Allow preserving header name capitalization when creating an
HttpLinkwithcreateHttpLink({ uri, preserveHeaderCase: true }). Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs.
@MrDoomBringer in #9891 -
Make queries with a
pollIntervalrespect theno-cachefetch policy, instead of writing polled results into the cache.
@MrDoomBringer in #10020 -
Deprecate the
onSubscriptionDatacallback in favor of a newonDatacallback for theuseSubscriptionhook. Deprecate theonSubscriptionCompletecallback in favor of a newonCompletecallback for theuseSubscriptionhook.
@jerelmiller in #10134
Potentially disruptive
- The optional
subscribeAndCounttesting utility exported from@apollo/client/testing/corenow takes a single genericTResulttype parameter, instead ofTData. This type will typically be inferred from theobservableargument type, but if you have any explicit calls tosubscribeAndCount<TData>(...)in your own codebase, you may need to adjust those calls accordingly.
@benjamn in #9718
v3.6.10
Improvements
- The client options (
variables,context, etc.) used formutationcalls are now available as the second argument to theonCompletedandonErrorcallback functions.
@MrDoomBringer in #10052
Configuration
📅 Schedule: Branch creation - "before 7am every weekday,after 6pm every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.