Open greenkeeper[bot] opened 6 years ago
After pinning to 2.1.11 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
dependency
react-apollo was updated from 2.2.0
to 2.2.1
.Your tests are still failing with this version. Compare changes
dependency
react-apollo was updated from 2.2.1
to 2.2.2
.Your tests are still failing with this version. Compare changes
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 2.2.2
to 2.2.3
.Your tests are still failing with this version. Compare changes
dependency
react-apollo was updated from 2.2.3
to 2.2.4
.Your tests are still failing with this version. Compare changes
dependency
react-apollo was updated from 2.3.0
to 2.3.1
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.3.1
to 2.3.2
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.3.2
to 2.3.3
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.4.1
to 2.5.0
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.5.0
to 2.5.1
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.5.1
to 2.5.2
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.5.2
to 2.5.3
.Your tests are passing again with this update. Explicitly upgrade to this version π
setState
in theonError
/ onCompleted
callbacks of the Query
component.Query
Query
component updates from firing (underlastResult
value (that's usedMockedProvider
now accepts a childProps
prop that can be used to pass
props down to a child component.
@miachenmtl in #2482
onCompleted
callbacks now use a destructuring-friendly type definition.
@jozanza in #2496
@connection
directives are now properly stripped from MockedResponse
's,
when using MockedProvider
.
@ajmath in #2523
MockedProvider
has been updated to stop setting a default resolvers
value of {}
, which means by default Apollo Client 2.5 local resolver
functionality is not enabled when mocking with MockedProvider
. This allows
@client
fields to be passed through the mocked link chain, like people
were used to before AC 2.5. When using this default mode you will see a
dev only warning message about this like:
Found @client directives in query but no client resolvers were specified.
You can now pass apollo-link-state resolvers to the ApolloClient
constructor.
This message can be safely ignored. If you want to use MockedProvider
with AC 2.5's new local resolver functionality, you can pass your local
resolver map into the MockedProvider
resolvers
prop.
@ajmath in #2524
Improvements to the graphql
HOC generics for fetchMore
and refetch
.
@EricMcRay in #2525
The ApolloProvider
/ ApolloConsumer
implementations have been refactored
to use React 16.3's new context API.
@wzrdzl in #2540
All dependencies
and devDependencies
have been updated to their latest
versions, and related Typescript changes have been applied.
@hwillson in #2873
dependency
react-apollo was updated from 2.5.3
to 2.5.4
.Your tests are passing again with this update. Explicitly upgrade to this version π
Could not find "client" in the context of ApolloConsumer
errors whenMockedProvider
.Query
components using a fetchPolicy
of no-cache
have theirdependency
react-apollo was updated from 2.5.4
to 2.5.5
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.5.5
to 2.5.6
.Your tests are passing again with this update. Explicitly upgrade to this version π
dependency
react-apollo was updated from 2.5.6
to 2.5.7
.Your tests are passing again with this update. Explicitly upgrade to this version π
MockedProvider
is using the proper CJS/ESM bundle, whenApolloProvider
.ApolloContext
definition to play a bit more nicely withReact.createContext
types.graphql
HOC.MockLink
to improveMockedProvider
.apollo-client@beta
peer dep.null
, when using the graphql
HOC.query
being mandatory in the fetchMore
Query
component to get stuck in an alwaysQuery
component can now handle anSubscription
component code to avoid setting state on unmountedloading
state for network-only
fetch policy.dependency
react-apollo was updated from 2.5.7
to 2.5.8
.Your tests are passing again with this update. Explicitly upgrade to this version π
The dependency react-apollo was updated from
2.1.11
to2.2.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
react-apollo is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
Status Details
- β **continuous-integration/travis-ci/push:** The Travis CI build could not complete due to an error ([Details](https://travis-ci.org/Saeris/mini-movie-db/builds/433599529?utm_source=github_status&utm_medium=notification)).Release Notes for 2.2.0
2.2.0 (September 26, 2018)
New Functionality
<Subscription />
component now allows the registration of a callbackfunction, that will be triggered each time the component receives data. The
callback
options
object param consists of the current Apollo Clientinstance in
client
, and the received subscription data insubscriptionData
.@jedwards1211 in #1966
graphql
options
object is no longer mutated, when calculatingvariables from props. This now prevents an issue where components created
with
graphql
were not having their query variables updated properly, whenprops changed.
@ksmth in #1968
data
was beingreturned as
undefined
. This behavior has been changed so thatdata
isreturned as an empty object. This makes checking for data (e.g.
instead of
data && data.user
you can just checkdata.user
) anddestructring (e.g.
{ data: { user } }
) easier. Note: this couldpotentially hurt applications that are relying on a falsey check of
data
to see if any query errors have occurred. A better (and supported) way to
check for errors is to use the result
errors
property.@TLadd in #1983
lodash
directly.@shahyar in #2045
<Subscription />
,<Query />
&<Mutation />
all supportusing an Apollo Client instance configured in the
context
or viaprops.
@quentin- in #1956
<Query />
onCompleted
andonError
callbacks to be triggeredvia the
componentDidUpdate
lifecycle method. This ensures these callbackscan be used when data is fetched over the network, and when data is
fetched from the local store (previsouly these callbacks were only being
triggered when data was fetched over the network).
@olistic in #2190
lodash/flowRight
using ES import to allow for treeshaking.@Pajn in #2332
partialRefetch
prop (false
by default).When a
Query
component is mounted, and a mutation is executedthat returns the same ID as the mounted
Query
, but has lessfields in its result, Apollo Client's
QueryManager
returns thedata as an empty Object since a hit can't be found in the cache.
This can lead to application errors when the UI elements rendered by
the original
Query
component are expecting certain data values toexist, and they're all of a sudden stripped away. The recommended way to
handle this is to use the mutations
update
prop to reconcile the mutationresult with the data in the cache, getting everything into the expected
state. This can definitely be a cumbersome process however, so to help
address this the
partialRefetch
prop can be used to automaticallyrefetch
the original query and update the cache.@steelbrain in #2003
Bug Fixes
Query
skip
prop is set totrue
, make sure the render proploading
param is set tofalse
, since we're not actually loadinganything.
@edorivai in #1916
variables
passed ingraphql
HOCoptions
werenot merged with mutation
variables
.@samginn in #2216
Testing
@excitement-engineer in #1998
cache
object to be passed into the test-utilsMockedProvider
.@palmfjord in #2254
MockedProvider
mocks
prop read only.@amacleay in #2284
Typescript
Deprecated
MutationFunc
in favor ofMutationFn
.Added missing
onCompleted
andonError
callbacks toMutationOpts
.@danilobuerger in #2322
FetchMoreOptions
andFetchMoreQueryOptions
types, andinstead import them from Apollo Client.
@skovy in #2281
graphql
HOCoptions.skip
property.@jameslaneconkling in #2208
Partial<TData>
instead ofTData | {}
, for theQueryResult
data
property.@tgriesser in #2313
Infrastructure
@hwillson in #2404
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: