chore(deps): update dependency @apollo/client to v3.4.16 #186
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.4.7->3.4.16Release Notes
apollographql/apollo-client
v3.4.16Compare Source
Improvements
Prevent webpack from misresolving the
graphqlpackage as the local@apollo/client/utilities/globals/graphql.jsmodule whenmodule.exports.resolve.preferRelativeis enabled inwebpack.config.js.@benjamn in #8862
Avoid importing
isTypefrom thegraphqlpackage internally, to prevent bundlers from including as much as 3.4kB of unnecessary code.@benjamn in #8891
Make
client.resetStoreandclient.clearStorepass appropriatediscardWatchesoption tocache.reset.@benjamn in #8873
v3.4.15Compare Source
Bug Fixes
cache.reset({ discardWatches: true })to makecache.resetdiscardcache.watches, restoring behavior broken in v3.4.14 by #8826.@benjamn in #8852
v3.4.14Compare Source
Bug Fixes
Disable
InMemoryCacheresult object canonization by default, to prevent unexpected memory growth and/or reuse of object references, with multiple ways to reenable it (per-cache, per-query, or a mixture of both).@benjamn in #8822
Clear
InMemoryCachewatchesset whencache.reset()called.@benjamn in #8826
Stop excluding observerless queries from
refetchQueries: [...]selection.@benjamn in #8825
Prevent optimistic cache evictions from evicting non-optimistic data.
@benjamn in #8829
Ensure
cache.broadcastWatchpasses all relevantWatchOptionstocache.diffasDiffOptions.@benjamn in #8832
v3.4.13Compare Source
Bug Fixes
Fix
componentDidUpatetypo inwithSubscriptionhigher-order component.@YarBez in #7506
Fix internal
canUseSymbolimport within@apollo/client/utilitiesto avoid breaking bundlers/builds.@benjamn in #8817
Tolerate unfreezable objects like
Uint8ArrayandBufferinmaybeDeepFreeze.@geekuillaume and @benjamn in #8813
v3.4.12Compare Source
Bug Fixes
Improve handling of falsy
existingand/orincomingparameters inrelayStylePaginationfield policy helper function.@bubba and @benjamn in #8733
Associate Apollo context with
React.createContext(instead of using a localWeakMap) again, so multiple copies of@apollo/client(uncommon) can share the same context.@benjamn in #8798
v3.4.11Compare Source
Bug Fixes
checkDEV()function (at least once) in the module that exports it,@apollo/client/utilities/globals/index.ts.@benjamn in #8767
Improvements
PersistedQueryLinknamespace from@apollo/client/link/persisted-queries.@vedrani in #8761
Documentation
@trevorblades in #8768
v3.4.10Compare Source
Improvements
refetch({ variables })instead ofrefetch(variables), except for queries that declare a variable named$variables(uncommon).@benjamn in #8702
Bug Fixes
Fix
ObservableQuery.getCurrentResult()returning cacheddatawith certain fetch policies.@brainkim in #8718
Prevent
ssrMode/ssrForceFetchDelayfrom causing queries to hang.@brainkim in #8709
Import
@apollo/client/utilities/globalsinternally wherever__DEV__is used, not just in@apollo/client/**/index.jsentry points.@benjamn in #8720
v3.4.9Compare Source
Bug Fixes
Fix unhandled
Promiserejection warnings/errors whose message isObservable cancelled prematurely.@benjamn in #8676
Enforce that
__DEV__is polyfilled by every@apollo/client/*entry point that uses it. This build step considers not only explicit__DEV__usage but also__DEV__references injected nearinvariant(...)andnew InvariantError(...)expressions.@benjamn in #8689
v3.4.8Compare Source
Bug Fixes
Fix error thrown by nested
keyFields: ["a", ["b", "c"], "d"]type policies when writing results into the cache where any of the key fields (.a,.a.b,.a.c, or.d) have been renamed by query field alias syntax.@benjamn in #8643
Fix regression from PR #8422 (first released in
@apollo/client@3.4.0-rc.15) that causedresult.datato be set to undefined in some cases afterObservableQuery#getCurrentResultreads an incomplete result from the cache.@benjamn in #8642
Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.