shopify-app-node-monorepo-express-vite
shopify-app-node-monorepo-express-vite copied to clipboard
fix(deps): bump @apollo/client from 3.6.9 to 3.7.0
Bumps @apollo/client from 3.6.9 to 3.7.0.
Release notes
Sourced from @apollo/client
's releases.
v3.7.0
New Features (from
CHANGELOG.md
)
Implement preview support for the
@defer
directive.@alessbell
and@benjamn
in #10018Implement
useFragment_experimental
hook, which represents a lightweight live binding into theApolloCache
, and never triggers network requests of its own.@benjamn
in #8782Allow registering named fragments with
InMemoryCache
to support using...NamedFragment
in queries without redeclaringNamedFragment
repeatedly in every query that uses it.@benjamn
in #9764Support
onError
callback foruseSubscription
hook.@jeroenvisser101
in #9495Improvements (from
CHANGELOG.md
)
Delay calling
onCompleted
andonError
callbacks passed touseQuery
usingPromise.resolve().then(() => ...)
to fix issue #9794.@dylanwulf
in #9823Replace
concast.cleanup
method with simplerconcast.beforeNext
API, which promises to call the given callback function just before the next result/error is delivered. In addition,concast.removeObserver
no longer takes aquietly?: boolean
parameter, since that parameter was partly responsible for cleanup callbacks sometimes not getting called.@benjamn
in #9718Allow preserving header name capitalization when creating an
HttpLink
withcreateHttpLink({ uri, preserveHeaderCase: true })
. Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs.@MrDoomBringer
in #9891Make queries with a
pollInterval
respect theno-cache
fetch policy, instead of writing polled results into the cache.@MrDoomBringer
in #10020Deprecate the
onSubscriptionData
callback in favor of a newonData
callback for theuseSubscription
hook. Deprecate theonSubscriptionComplete
callback in favor of a newonComplete
callback for theuseSubscription
hook.@jerelmiller
in #10134Potentially disruptive (from
CHANGELOG.md
)
- The optional
subscribeAndCount
testing utility exported from@apollo/client/testing/core
now takes a single genericTResult
type parameter, instead ofTData
. This type will typically be inferred from theobservable
argument type, but if you have any explicit calls tosubscribeAndCount<TData>(...)
in your own codebase, you may need to adjust those calls accordingly.@benjamn
in #9718What's Changed (auto-generated by GitHub)
- Replace
concast.cleanup
method with simplerconcast.beforeNext
API by@benjamn
in apollographql/apollo-client#9718- Implement minimal
useFragment
hook by@benjamn
in apollographql/apollo-client#8782- Fix
BatchHttpLink
regression that silently discarded some pending queries by@benjamn
in apollographql/apollo-client#9793- Delay execution of callback functions to fix React errors by
@dylanwulf
in apollographql/apollo-client#9801- Return most recent result diff from useFragment, update test by
@alessbell
in apollographql/apollo-client#10030- Supports "no-cache" fetchPolicy with pollInterval by
@MrDoomBringer
in apollographql/apollo-client#10020- (Release 3.7) Rename useFragment -> useFragment_experimental by
@MrDoomBringer
in apollographql/apollo-client#10075- Adds
@defer
support by@alessbell
in apollographql/apollo-client#10018- Improvements to the
hasDirectives
utility function by@benjamn
in apollographql/apollo-client#10082- chore: omit previousResult, lastCompleteResult from options/result by
@alessbell
in apollographql/apollo-client#10100- Support header name capitalization by
@MrDoomBringer
in apollographql/apollo-client#9891
... (truncated)
Changelog
Sourced from @apollo/client
's changelog.
Apollo Client 3.7.0 (2022-09-30)
New Features
Implement preview support for the
@defer
directive.@alessbell
and@benjamn
in #10018Implement
useFragment_experimental
hook, which represents a lightweight live binding into theApolloCache
, and never triggers network requests of its own.@benjamn
in #8782Allow registering named fragments with
InMemoryCache
to support using...NamedFragment
in queries without redeclaringNamedFragment
repeatedly in every query that uses it.@benjamn
in #9764Support
onError
callback foruseSubscription
hook.@jeroenvisser101
in #9495Improvements
Delay calling
onCompleted
andonError
callbacks passed touseQuery
usingPromise.resolve().then(() => ...)
to fix issue #9794.@dylanwulf
in #9823Replace
concast.cleanup
method with simplerconcast.beforeNext
API, which promises to call the given callback function just before the next result/error is delivered. In addition,concast.removeObserver
no longer takes aquietly?: boolean
parameter, since that parameter was partly responsible for cleanup callbacks sometimes not getting called.@benjamn
in #9718Allow preserving header name capitalization when creating an
HttpLink
withcreateHttpLink({ uri, preserveHeaderCase: true })
. Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs.@MrDoomBringer
in #9891Make queries with a
pollInterval
respect theno-cache
fetch policy, instead of writing polled results into the cache.@MrDoomBringer
in #10020Deprecate the
onSubscriptionData
callback in favor of a newonData
callback for theuseSubscription
hook. Deprecate theonSubscriptionComplete
callback in favor of a newonComplete
callback for theuseSubscription
hook.@jerelmiller
in #10134Potentially disruptive
- The optional
subscribeAndCount
testing utility exported from@apollo/client/testing/core
now takes a single genericTResult
type parameter, instead ofTData
. This type will typically be inferred from theobservable
argument type, but if you have any explicit calls tosubscribeAndCount<TData>(...)
in your own codebase, you may need to adjust those calls accordingly.@benjamn
in #9718Apollo Client 3.6.10 (2022-09-29)
Improvements
- The client options (
variables
,context
, etc.) used formutation
calls are now available as the second argument to theonCompleted
andonError
callback functions.@MrDoomBringer
in #10052
Commits
9134aaf
Merge pull request #9633 from apollographql/release-3.766ad413
Update@apollo/client
package-lock version167fd35
Bump@apollo/client
npm version to 3.7.02fc7642
CHANGELOG updates9d35906
Merge branch 'main' into release-3.799a2c4c
Merge branch 'main' into release-3.717cad71
Add changes from #10134 to CHANGELOG.md (#10148)fde2ab2
Update current version (3.6.10) in package-lock.json.5b29ea6
docs: Fix typo (#10128)2007427
Bump@apollo/client
npm version to 3.6.10- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)