Bump apollo-client from 2.6.8 to 2.6.10 in /backend
Created by: dependabot[bot]
Bumps apollo-client from 2.6.8 to 2.6.10.
Changelog
Sourced from apollo-client's changelog.
Apollo Client 3.7.1
Bug fixes
- Fix issue where
loadingremainstrueafterobserver.refetchis called repeatedly with different variables when the same data are returned.@alessbellin #10143Apollo Client 3.7.0 (2022-09-30)
New Features
Implement preview support for the
@deferdirective.@alessbelland@benjamnin #10018Implement
useFragment_experimentalhook, which represents a lightweight live binding into theApolloCache, and never triggers network requests of its own.@benjamnin #8782Allow registering named fragments with
InMemoryCacheto support using...NamedFragmentin queries without redeclaringNamedFragmentrepeatedly in every query that uses it.@benjamnin #9764Support
onErrorcallback foruseSubscriptionhook.@jeroenvisser101in #9495Improvements
Delay calling
onCompletedandonErrorcallbacks passed touseQueryusingPromise.resolve().then(() => ...)to fix issue #9794.@dylanwulfin #9823Replace
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.@benjamnin #9718Allow preserving header name capitalization when creating an
HttpLinkwithcreateHttpLink({ uri, preserveHeaderCase: true }). Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs.@MrDoomBringerin #9891Make queries with a
pollIntervalrespect theno-cachefetch policy, instead of writing polled results into the cache.@MrDoomBringerin #10020Deprecate the
onSubscriptionDatacallback in favor of a newonDatacallback for theuseSubscriptionhook. Deprecate theonSubscriptionCompletecallback in favor of a newonCompletecallback for theuseSubscriptionhook.@jerelmillerin #10134Potentially 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.@benjamnin #9718Apollo Client 3.6.10 (2022-09-29)
Improvements
- The client options (
variables,context, etc.) used formutationcalls are now available as the second argument to theonCompletedandonErrorcallback functions.
... (truncated)
Commits
-
64cda6achore: Publish -
48718caAdd "private: true" to apollo-client/package.json to fix lerna -
d22394cchore: Publish -
747ed10Merge pull request #6258 from apollographql/graphql15-update -
753cb60Changes to accommodate graphql@15.0.0 -
854b1c4chore(deps): update dependency gatsby-theme-apollo-docs to v3.1.12 -
49fbacfchore(deps): update dependency typedoc to v0.15.6 -
d488038chore(deps): update dependency rollup to v1.27.14 -
258f598Use 'npx rollup' instead of relative path in bundle scripts. -
1deb021Update fsevents to latest version so jest-haste-map won't install it. - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)