Update apollo-client in / from 2.0.3 to 2.4.0 #162
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.
Dependencies.io has updated
apollo-client
(a npm dependency in/
) from "2.0.3" to "2.4.0".2.4.0
error
handler on your subscription observer, it will now be called when an error
comes back in a result, and the
next
handler will be skipped (similar tohow we're handling errors with mutations). Previously, the error was
just passed in the result to the
next
handler. If you don't have anerror
handler defined, the previous functionality is maintained, meaningthe error is passed in the result, giving the next handler a chance to deal
with it. This should help address backwards compatibility (and is the reason
for the minor version bumo in this release).
clayne11 in #3800
optimistic
param to be passed intoApolloClient.readQuery
andApolloClient.readFragment
, that when set totrue
, will allowoptimistic results to be returned. Is
false
by default.jay1337 in #2429
joshribakoff in #3713
.npmignore
, so they're taken intoconsideration when publishing via lerna.
hwillson in #3828
toolness in #3804
pungggi in #3798
lorensr in #3748
joshribakoff in #3730
yalamber in #3819
pschreibs85 in #3812
msreekm in #3808
kamaltmo in #3806
lorensr in #3739
brainkim in #3680
Apollo Cache In-Memory (1.2.8)
console.warn
regarding fragment matching error message.combizs in #3701
Apollo Boost (0.1.14)
Apollo Cache (1.1.15)
Apollo Utilities (1.0.19)
Apollo GraphQL Anywhere (4.1.17)