Update dependency apollo-client to v2.6.10 #57
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:
2.4.13
->2.6.10
Release Notes
apollographql/apollo-client
v2.6.10
Compare Source
v2.6.9
Compare Source
v2.6.8
Compare Source
Apollo Client (2.6.8)
Update the
fetchMore
type signature to acceptcontext
.@koenpunt in #5147
Fix type for
Resolver
and use it in the definition ofResolvers
.@peoplenarthax in #4943
Local state resolver functions now receive a
fragmentMap: FragmentMap
object, in addition to the
field: FieldNode
object, via theinfo
parameter.
@mjlyons in #5388
Documentation updates.
@tomquirk in #5645
@Sequoia in #5641
@phryneas in #5628
@AryanJ-NYC in #5560
GraphQL Anywhere (4.2.6)
filter
edge case involvingnull
.@lifeiscontent in #5110
Apollo Boost (0.4.7)
Replace
GlobalFetch
reference withWindowOrWorkerGlobalScope
.@abdonrd in #5373
Add
assumeImmutableResults
typing to apollo boostPresetConfig
interface.@bencoullie in #5571
v2.6.7
Compare Source
v2.6.6
Compare Source
v2.6.4
Compare Source
Apollo Client (2.6.4)
Modify
ObservableQuery
to allow queries withnotifyOnNetworkStatusChange
to be notified when loading after an error occurs.
@jasonpaulos in #4992
Add
graphql
as apeerDependency
ofapollo-cache
andgraphql-anywhere
.@ssalbdivad in #5081
Documentation updates.
@raibima in #5132
@hwillson in #5141
v2.6.3
Compare Source
Apollo Client (2.6.3)
ObservableQuery.resetQueryStoreErrors()
method is now available thatcan be used to clear out
ObservableQuery
query store errors.@hwillson in #4941
@michael-watson in #4940
@hwillson in #4969
v2.6.2
Compare Source
v2.6.1
Compare Source
Apollo Utilities 1.3.2
isEqual
without pulling in massivelodash.isequal
.@benjamn in #4924
v2.6.0
Compare Source
invariant(condition, message)
failures will now includea unique error code that can be used to trace the error back to the
point of failure.
@benjamn in #4521
Apollo Client 2.6.0
If you can be sure your application code does not modify cache result objects (see
freezeResults
note below), you can unlock substantial performance improvements by communicating this assumption viawhich allows the client to avoid taking defensive snapshots of past results using
cloneDeep
, as explained by @benjamn in #4543.Identical overlapping queries are now deduplicated internally by
apollo-client
, rather than using theapollo-link-dedup
package.@benjamn in commit 7cd8479f
The
FetchPolicy
type has been split into two types, so that passingcache-and-network
toApolloClient#query
is now forbidden at the type level, whereas previously it was forbidden by a runtimeinvariant
assertion:The exception thrown if you ignore the type error has also been improved to explain the motivation behind this restriction.
Issue #3130 (comment) and commit cf069bc7
Avoid updating (and later invalidating) cache watches when
fetchPolicy
is'no-cache'
.@bradleyayers in PR #4573, part of issue #3452
Remove temporary
queryId
afterfetchMore
completes.@doomsower in #4440
Call
clearStore
callbacks after clearing store.@ds8k in #4695
Perform all
DocumentNode
transforms once, and cache the results.@benjamn in #4601
Accommodate
@client @​export
variable changes inObservableQuery
.@hwillson in #4604
Support the
returnPartialData
option for watched queries again.@benjamn in #4743
Preserve
networkStatus
for incompletecache-and-network
queries.@benjamn in #4765
Preserve
cache-and-network
fetchPolicy
when refetching.@benjamn in #4840
Update the React Native docs to remove the request for external example apps that we can link to. We're no longer going to manage a list of external example apps.
@hwillson in #4531
Polling queries are no longer batched together, so their scheduling should be more predictable.
@benjamn in #4800
Apollo Cache In-Memory 1.6.0
Support
new InMemoryCache({ freezeResults: true })
to help enforce immutability.@benjamn in #4514
Allow
IntrospectionFragmentMatcher
to match fragments against the rootQuery
, asHeuristicFragmentMatcher
does.@rynobax in #4620
Rerential identity (
===
) of arrays in cache results will now be preserved for unchanged data.@benjamn in commit f3091d6a
Avoid adding
__typename
field to@client
selection sets that have been@export
ed as input variables.@benjamn in #4784
GraphQL Anywhere 4.2.2
graphql
function can now be configured to ignore@include
and@skip
directives (useful when walking a fragment to generate prop typesor filter result data).
@GreenGremlin in #4373
v2.5.1
Compare Source
apollo-client 2.5.1
A tuple type element list cannot be empty
issue.@benjamn in #4502
graphql-anywhere 4.2.1
graphql-anywhere/lib/async
entry point.@benjamn in #4503
v2.5.0
Compare Source
Apollo Client (2.5.0)
and local resolver /
@client
support) and many overall code improvements,to help reduce the Apollo Client bundle size.
#4361
@rosskevin in #4261
QueryManager
was accidentally returning cacheddata for
network-only
queries.@danilobuerger in #4352
.gitattributes
that was causing binary filesto have their line endings adjusted, and cleaned up corrupted documentation
imagehttps://github.com/apollographql/apollo-client/pull/4232ull/4232).
@rajington in #4438
PR #4337
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Mend Renovate. View repository job log here.