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.16
Release Notes
apollographql/apollo-client
v3.4.16
Compare Source
Improvements
Prevent webpack from misresolving the
graphql
package as the local@apollo/client/utilities/globals/graphql.js
module whenmodule.exports.resolve.preferRelative
is enabled inwebpack.config.js
.@benjamn in #8862
Avoid importing
isType
from thegraphql
package internally, to prevent bundlers from including as much as 3.4kB of unnecessary code.@benjamn in #8891
Make
client.resetStore
andclient.clearStore
pass appropriatediscardWatches
option tocache.reset
.@benjamn in #8873
v3.4.15
Compare Source
Bug Fixes
cache.reset({ discardWatches: true })
to makecache.reset
discardcache.watches
, restoring behavior broken in v3.4.14 by #8826.@benjamn in #8852
v3.4.14
Compare Source
Bug Fixes
Disable
InMemoryCache
result 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
InMemoryCache
watches
set 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.broadcastWatch
passes all relevantWatchOptions
tocache.diff
asDiffOptions
.@benjamn in #8832
v3.4.13
Compare Source
Bug Fixes
Fix
componentDidUpate
typo inwithSubscription
higher-order component.@YarBez in #7506
Fix internal
canUseSymbol
import within@apollo/client/utilities
to avoid breaking bundlers/builds.@benjamn in #8817
Tolerate unfreezable objects like
Uint8Array
andBuffer
inmaybeDeepFreeze
.@geekuillaume and @benjamn in #8813
v3.4.12
Compare Source
Bug Fixes
Improve handling of falsy
existing
and/orincoming
parameters inrelayStylePagination
field 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.11
Compare Source
Bug Fixes
checkDEV()
function (at least once) in the module that exports it,@apollo/client/utilities/globals/index.ts
.@benjamn in #8767
Improvements
PersistedQueryLink
namespace from@apollo/client/link/persisted-queries
.@vedrani in #8761
Documentation
@trevorblades in #8768
v3.4.10
Compare 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 cacheddata
with certain fetch policies.@brainkim in #8718
Prevent
ssrMode
/ssrForceFetchDelay
from causing queries to hang.@brainkim in #8709
Import
@apollo/client/utilities/globals
internally wherever__DEV__
is used, not just in@apollo/client/**/index.js
entry points.@benjamn in #8720
v3.4.9
Compare Source
Bug Fixes
Fix unhandled
Promise
rejection 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.8
Compare 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/[email protected]
) that causedresult.data
to be set to undefined in some cases afterObservableQuery#getCurrentResult
reads 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.