Closed greenkeeper[bot] closed 5 years ago
dependency
react-apollo was updated from 1.4.16
to 2.2.0
.Update to this version instead ๐
<Subscription />
component now allows the registration of a callbackoptions
object param consists of the current Apollo Clientclient
, and the received subscription data insubscriptionData
.graphql
options
object is no longer mutated, when calculatinggraphql
were not having their query variables updated properly, whendata
was beingundefined
. This behavior has been changed so that data
isdata && data.user
you can just check data.user
) and{ data: { user } }
) easier. Note: this coulddata
errors
property.lodash
directly.<Subscription />
, <Query />
& <Mutation />
all supportcontext
or via<Query />
onCompleted
and onError
callbacks to be triggeredcomponentDidUpdate
lifecycle method. This ensures these callbackslodash/flowRight
using ES import to allow for treeshaking.partialRefetch
prop (false
by default).Query
component is mounted, and a mutation is executedQuery
, but has lessQueryManager
returns theQuery
component are expecting certain data values toupdate
prop to reconcile the mutationpartialRefetch
prop can be used to automaticallyrefetch
the original query and update the cache.Query
skip
prop is set to true
, make sure the render proploading
param is set to false
, since we're not actually loadingvariables
passed in graphql
HOC options
werevariables
.cache
object to be passed into the test-utilsMockedProvider
.MockedProvider
mocks
prop read only.MutationFunc
in favor of MutationFn
.onCompleted
and onError
callbacks to MutationOpts
.FetchMoreOptions
and FetchMoreQueryOptions
types, andgraphql
HOC options.skip
property.Partial<TData>
instead of TData | {}
, for theQueryResult
data
property.dependency
react-apollo was updated from 1.4.16
to 2.2.1
.dependency
react-apollo was updated from 1.4.16
to 2.2.2
.Update to this version instead ๐
React.createContext
and SSR, we now make sure the contextdata
was beingundefined
. This behavior has been changed so that data
isdata && data.user
you can just check data.user
) and{ data: { user } }
) easier. Note: this coulddata
errors
property.dependency
react-apollo was updated from 1.4.16
to 2.2.3
.dependency
react-apollo was updated from 1.4.16
to 2.2.4
.
Version 2.1.9 of react-apollo was just published.
The version 2.1.9 is not covered by your current version range.
If you donโt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of react-apollo.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donโt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: