react-apollo-form
react-apollo-form copied to clipboard
fix(deps): update dependency react-apollo to v3
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| react-apollo | ^2.1.4 -> ^3.0.0 |
Release Notes
apollographql/react-apollo (react-apollo)
v3.1.5
v3.1.4
v3.1.3
- Revert the changes made in #3497, which have lead to problems with
onCompletedbeing called more often than necessary.
@hwillson in 0901f4a
v3.1.2
Bug Fixes
- Make sure SSR is fully disabled when using
ssr: falseandssrMode: true.
@maapteh in #3515 - Fixed
MockLink's brokennewDatafunction handling.
@pawelkleczek in #3539 - Fixed an issue that prevented
networkStatusfrom changingreadyat the end of pagination.
@mu29 in #3514
v3.1.1
Improvements
- Calling
startPollingorstopPollingafter a component has unmounted is now a no-op (instead of throwing an exception). Polling is automatically stopped when a component is unmounted, so it doesn't need to be called manually.
@hwillson in #3485 - Allow
ignoreResultsto be controlled throughgraphqlandwithMutationoptions.
@tim-stasse in #3431 - Be a bit more defensive when it comes to accessing the internal
ObservableQueryinstance, to avoid attempting to use it after a component has unmounted.
@jfrolich in #3490
Bug Fixes
- A fix has been applied to prevent an unchanging
loadingstate when an error occurs after a refetch, that is the same as the previous error.
@jet2jet in #3477 - Add back in the removed
ChildDataPropsandChildMutatePropstypes.
@hwillson in #3495 - Make sure
onCompletedis called each time auseLazyQuerybased query completes, after the execution function is called.
@hwillson in #3497
v3.1.0
Potentially Breaking Change
- Change the default query
datastate from{}toundefined. This change aligns all parts of the React Apollo query cycle so thatdatais alwaysundefinedif there is no data, instead ofdatabeing converted into an empty object. This change impacts the initial query response, initial SSR response,datavalue when errors occur,datavalue when skipping, etc. All of these areas are now aligned to only ever return a value fordataif there really is a value to return (instead of making it seem like there is one by converting to{}).
@hwillson in #3388
Bug Fixes
- Adds support for the
skipoption when usinguseSubscription.
@n1ru4l in #3356 - Makes sure
refetch,fetchMore,updateQuery,startPolling,stopPolling, andsubscribeToMoremaintain a stable identity when they're passed back alongside query results.
@hwillson in #3422 - Fixed problematic re-renders that were caused by using
fetchMore.updateQuerywithnotifyOnNetworkStatusChangeset to true. WhennotifyOnNetworkStatusChangeis true, re-renders will now wait untilupdateQueryhas completed, to make sure the updated data is used during the render.
@hwillson in #3433 - Add
clientto theuseMutationresult.
@joshalling in #3417 - Prevent inline
onErrorandonCompletedcallbacks from being part of the internal memoization that's used to decide when certain after render units of functionality are run, when usinguseQuery. This fixes issues related to un-necessary component cleanup, likeerrordisappearing from results when it should be present.
@dylanwulf in #3419 useLazyQuery's execution function can now be called multiple times in a row, and will properly submit network requests each time called, when using a fetch policy ofnetwork-only.
@hwillson in #3453- SSR enhancements to support
network-onlyandcache-and-networkfetch policies, along with changes to ensure disabled SSR queries are not fired.
@mikebm in #3435 - Remove
voidfrom theMutationFunction's returned Promise types.
@hwillson in #3458 - Prevent duplicate
onCompletedcalls during the same query execution cycle.
@hwillson in #3461 - Make sure polling is stopped when a component is unmounted.
@dqunbp in #3273 - Documentation fixes.
@SeanRoberts in #3380
v3.0.1
Improvements
- Documentation updates.
@joshalling in #3324
Bug Fixes
- Dedupe
onErrorcallback calls and ensurerefetchsetsloadingstate properly.
@hwillson in #3339 - Add missing
useLazyQueryexport to thereact-apollo(all) package.
@hwillson in #3320 - Remove
voidfrom being one of theMutationTuplemutate function possible generics. This will make it easier to properly destructure results returned by the mutate function Promise.
@hwillson in #3334 - Export
MockedProviderPropsandMockedProviderStatefrom@apollo/react-testing.
@hwillson in #3337 - Add
@types/reactas a peer dep, to address potential TS compilation errors when usingApolloProvider.
@zkochan in #3278 - Make sure
error's are maintained after re-renders, when they should be.
@hwillson in #3362
v3.0.0
Overview
This major release includes a large refactoring of the existing React Apollo codebase, to introduce new improvements, changes, features and bug fixes. The biggest new features are:
- Provides new
useQuery,useLazyQuery,useMutation,useSubscription, anduseApolloClienthooks, following React's Hooks API. - Maintains support for React Apollo's
graphqlHOC and render proper components. - Introduces a new monorepo structure, with separately published packages, making it easier to use just the parts of React Apollo you're interested in:
@apollo/react-common@apollo/react-hooks@apollo/react-components@apollo/react-hoc@apollo/react-ssr@apollo/react-testing
- Thorough codebase pruning and cleaning to reduce the overall React Apollo bundle size.
- And more!
Consult the Hooks migration guide for more details around upgrading. For more information regarding how to use the new hooks, please consult the updated React Apollo docs (all docs have been updated to be hooks first).
Breaking Changes
-
The minimum supported React version is now 16.8.
-
The
react-apollo@3package preserves most of the functionality ofreact-apollo@2by re-exporting existing components and functions from@apollo/react-componentsand@apollo/react-hoc. If you want to use Hooks, Components, or HOC directly, import the new@apollo/react-hooks,@apollo/react-components, and/or@apollo/react-hocpackages instead. -
React Apollo testing utilities are no longer available as part of the
react-apollopackage. They should now be imported from the new@apollo/react-testingpackage. -
The deprecated
walkTreefunction has been removed (9b24d756). -
The deprecated
GraphqlQueryControlsandMutationFunctypes have been removed (ade881f0). -
Preact is no longer supported (b742ae63).
-
Various Typescript type changes. Since we've introduced a third way of managing data with React (Hooks), we had to rework many of the existing exported types to better align with the Hooks way of doing things. Base types are used to hold common properties across Hooks, Components and the
graphqlHOC, and these types are then extended when needed to provide properties that are specific to a certain React paradigm (30edb1b0 and 3d138db3). -
catchAsyncError,wrap, andcomposeutilities have been removed (2c3a262, 7de864e, and e6089a7).Previously,
composewas imported then exported directly from lodash usingflowRight. To keep usingcompose, install thelodash.flowrightpackage, then update yourcomposeimports as:import compose from 'lodash.flowright'; -
Render prop components (
Query,MutationandSubscription) can no longer be extended. In other words, this is no longer possible:class SomeQuery extends Query<SomeData, SomeVariables> {}All class based render prop components have been converted to functional components, so they could then just wrap their hook based equivalents (
useQuery,useMutation,useSubscription).While we recommend switching over to use the new hooks as soon as possible, if you're looking for a stop gap you can consider typing a
Querycomponent in a similar fashion, like:export const SomeQuery = () => ( <Query<SomeData, SomeVariables> query={SOME_QUERY} ...> {({ data }) => { return <div> ... things happen... </div>; }} </Query> );
v2.5.8
2.5.8 (2019-06-21)
Bug Fixes
- Makes the use of
apollo-client2.6.3'sObservableQuery.resetQueryStoreErrorsmethod optional, for people who can't update toreact-apollo's newapollo-clientpeer dep of 2.6.3. @hwillson in #3151
v2.5.7
Improvements
- Make sure
MockedProvideris using the proper CJS/ESM bundle, when referencingApolloProvider.
@jure in #3029. - Adjust the
ApolloContextdefinition to play a bit more nicely withReact.createContexttypes.
@JoviDeCroock in #3018 - The result of a mutation is now made available to the wrapped component,
when using the
graphqlHOC.
@andycarrell in #3008 - Check equality of stringified variables in the
MockLinkto improve debugging experience used byMockedProvider.
@evans in #3078
Bug Fixes
- Removed leftover
apollo-client@betapeer dep.
@brentertz in #3064 - Stop setting optional input to
null, when using thegraphqlHOC.
@ZhengYuTay in #3056 - Fix typescript error caused by
querybeing mandatory in thefetchMoresignature.
@HsuTing in #3065 - Fixes an issue that caused the
Querycomponent to get stuck in an always loading state, caused by receiving an error (meaning subsequent valid responses couldn't be handled). TheQuerycomponent can now handle an error in a response, then continue to handle a valid response afterwards.
@hwillson in #3107 - Reorder
Subscriptioncomponent code to avoid setting state on unmounted component.
@jasonpaulos in #3139 - Fix component stuck in
loadingstate fornetwork-onlyfetch policy.
@jasonpaulos in #3126
v2.5.6
Improvements
-
Both the
Querycomponent andgraphqlHOC now accept areturnPartialDataprop. This is an important new feature, that should help address a lot of open Apollo Client / React Apollo issues, so we'll explain it here with an example. Before this release, if you run a query that looks like:const GET_MEMBER = gql` query GetMember($id: ID!) { member(id: $id) { id name } } `;in one component, the results are cached, then you run a superset query like the following in another component:
const GET_MEMBER_WITH_PLANS = gql` query GetMemberWithPlans($id: ID!) { member(id: $id) { id name plans { id title duration } } } `;Apollo Client will not re-use the partial data that was cached from the first query, when it preps and displays the second component. It can't find a cache hit for the full second query, so it fires the full query over the network.
With this release, if you set a
returnPartialDataprop totrueon the second component, thedataavailable to that component will be automatically pre-loaded with the parts of the query that can be found in the cache, before the full query is fired over the network. This means you can do things like showing partial data in your components, while the rest of the data is being loaded over the network.
v2.5.5
Improvements
v2.5.4
Bug Fixes
- Fixes
Could not find "client" in the context of ApolloConsumererrors when usingMockedProvider.
@hwillson in #2907 - Ensure
Querycomponents using afetchPolicyofno-cachehave their data preserved when the components tree is re-rendered.
@hwillson in #2914
Improvements
- Documentation updates.
@afenton90 in #2932
v2.5.3
Bug Fixes
- Fixed an infinite loop caused by using
setStatein theonError/onCompletedcallbacks of theQuerycomponent.
@chenesan in #2751 - Fixed an issue that prevented good results from showing up in a
Querycomponent, after an error was received, variables were adjusted, and then the good data was fetched.
@MerzDaniel in #2718 - Fixed an issue that prevented
Querycomponent updates from firing (under certain circumstances) due to the internallastResultvalue (that's used to help prevent unnecessary re-renders) not being updated.
@Glennrs in #2840
Improvements
-
MockedProvidernow accepts achildPropsprop that can be used to pass props down to a child component.
@miachenmtl in #2482 -
onCompletedcallbacks now use a destructuring-friendly type definition.
@jozanza in #2496 -
@connectiondirectives are now properly stripped fromMockedResponse's, when usingMockedProvider.
@ajmath in #2523 -
MockedProviderhas been updated to stop setting a defaultresolversvalue of{}, which means by default Apollo Client 2.5 local resolver functionality is not enabled when mocking withMockedProvider. This allows@clientfields 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
MockedProviderwith AC 2.5's new local resolver functionality, you can pass your local resolver map into theMockedProviderresolversprop.
@ajmath in #2524 -
Improvements to the
graphqlHOC generics forfetchMoreandrefetch.
@EricMcRay in #2525 -
The
ApolloProvider/ApolloConsumerimplementations have been refactored to use React 16.3's new context API.
@wzrdzl in #2540 -
All
dependenciesanddevDependencieshave been updated to their latest versions, and related Typescript changes have been applied.
@hwillson in #2873
v2.5.2
Bug Fixes
- Export
Contexttype fromtypes.tsinstead ofwalkTree.ts, to reenableimport { Context } from 'react-apollo'(which has been broken since 2.4.0).
@benjamn in #2825
Improvements
-
Add
examples/rollupto enable application-level bundle measurement and demonstrate Rollup configuration best practices.
@benjamn in #2839 -
Bundle size reductions inspired by
examples/rollupapp.
@benjamn in #2842
v2.5.1
Bug Fixes
- Make sure
MockedProviderenables Apollo Client 2.5's local state handling, and allow custom / mocked resolvers to be passed in as props, and used with the created testApolloClientinstance.
@hwillson in #2825
v2.5.0
Improvements
- Ready to be used with Apollo Client 2.5 and its new local state management
features, as well as many overall code improvements to help reduce the React
Apollo bundle size.
#2758 - A function can now be set as a
MockedResponseresultwhen usingMockedProvider, such that every time the mocked result is returned, the function is run to calculate the result. This opens up new testing possibilities, like being able to verify if a mocked result was actually requested and received by a test.
@hwillson in #2788
v2.4.1
Improvements
-
Adds a
onSubscriptionCompleteprop to theSubscriptioncomponent, that can be passed a callback to be called when the subscription observable is completed.
@sujeetsr in #2716 -
During server-side rendering,
ObservableQueryobjects created in previous rendering passes will now be preserved in later passes (within the samegetDataFromTreeorgetMarkupFromTreecall), so that errors can be handled properly when using theerrorPolicy: "all"option.
PR #2753
v2.4.0
Bug Fixes
- Invoke
onCompleted/onErroreven ifMutationunmounts.
PR #2710
Improvements
- The
walkTreefunction has been deprecated, since there's no way to make its behavior consistent with the latest versions of React. To save bundle size,walkTreeis no longer exported fromreact-apollo, though you can still access it as follows:import { walkTree } from 'react-apollo/walkTree';
v2.3.3
Bug Fixes
- Add
react-domas a peer dependency (since it's used bygetDataFromTreeandrenderToStringWithData).
@hwillson in #2660
Improvements
- Drop
react14.x support, since the 14.x release line is 2 years old now, andreact-apollois no longer tested against it.
@hwillson in #2660
v2.3.2
Improvements
Bug Fixes
- This package no longer imports
react-dom/serverunconditionally at the top level, makingreact-apollosafer to use in environments like React Native that are neither browser-like nor Node-like, and thus struggle to importreact-dom/serverand its dependencies. Additionally, the React Native bundler has been instructed to ignore allreact-dom/serverdependencies withinreact-apollo, soreact-domwill not be bundled in React Native apps simply because they importreact-apollo. PR #2627
v2.3.1
Improvements
-
Restore original
getDataFromTree(tree, context)API, and introduce a new alternative calledgetMarkupFromTreeto enable custom rendering functions:export default function getDataFromTree( tree: React.ReactNode, context: { [key: string]: any } = {}, ) { return getMarkupFromTree({ tree, context, renderFunction: renderToStaticMarkup, }); } export type GetMarkupFromTreeOptions = { tree: React.ReactNode; context?: { [key: string]: any }; renderFunction?: typeof renderToStaticMarkup; }; export function getMarkupFromTree({ tree, context = {}, renderFunction = renderToStaticMarkup, }: GetMarkupFromTreeOptions): Promise<string> {...}
Bug Fixes
- Version 2.3.0 was published incorrectly, breaking nested
react-apollo/...imports. This problem was fixed in version 2.3.1 by runningnpm publishfrom thelib/directory, as intended. Issue #2591
v2.3.0
Bug Fixes
- Fix
networkStatusto reflect the loading state correctly for partial refetching.
@steelbrain in #2493
Improvements
- Reimplement
getDataFromTreeusingReactDOM.renderToStaticMarkupto make asynchronous server-side rendering compatible with React hooks. Although the rendering function used bygetDataFromTreedefaults torenderToStaticMarkup, any suitable rendering function can be passed as the optional second argument togetDataFromTree, which now returns aPromise<string>that resolves to The HTML rendered in the final pass, which means callingrenderToStringaftergetDataFromTreemay not be necessary anymore. PR #2533
v2.2.4
Bug Fixes
lodash.isequalwas improperly set as a dev dependency forMockLink/MockedProvider. It is now a dependency.
@danilobuerger in #2449
Improvements
- The
Subscriptioncomponent now accepts afetchPolicyprop.
@MatthieuLemoine in #2298
Typescript
- Make sure the
TVariablesgeneric is passed toObservableQuery.
@tgriesser in #2311
v2.2.3
Bug Fixes
- Mutation errors are now properly returned as a render prop, when using
a default
errorPolicyofall.
@amacleay in #2374 <Mutation />refetchQueriestriggered by name (string) will now use the correct variables.
@fracmal in #2422
Improvements
- Replace the
lodashdependency withlodash.flowright(since that's the only non-devlodashfunction we're dependent on). Devlodashdependencies have also been updated to use their individual module equivalent.
@hwillson in #2435 - Removed
rollup-plugin-babel-minifyas it's no longer being used.
@hwillson in #2436 - Small
getDataFromTree.tslogic adjustment to avoid unnecessary calls when a falsyelementis encountered.
@HOUCe in #2429 graphql14 updates.
@hwillson in #2437- All example apps (included in the repo) have been updated to work with the
latest version of React Apollo.
@hwillson in #2439
Typescript
- Fix
lodashtypings.
@williamboman in #2430 - Typings: added
contexttoMutationOptions.
@danilobuerger in #2354 - Typings: more
MutationOptionschanges/fixes.
@danilobuerger in #2340 - Remove
allowSyntheticDefaultImportsuse. Typescript'sallowSyntheticDefaultImportscompiler option is something we'd like to start using, but we jumped the gun a bit by introducing it in https://github.com/apollographql/react-apollo/commit/9a96519d390783dfd9a431dc2dbaa476a24f7b80. Including it means that anyone who wants to use Typescript with React Apollo would have to also include it in their own localtsconfig.json, to be able to handle default imports properly. This is because we're also using Typescript'ses2015moduleoption, which meansallowSyntheticDefaultImportshas to be enabled explicitly. We've switched back to using a combination ofimport * as Xandrequiresyntax, to work with default imports. We'll re-introduceallowSyntheticDefaultImportsuse in React Apollo 3.
@hwillson in #2438
v2.2.2
- When using
React.createContextand SSR, we now make sure the context provider value is reset to the previous value it had after its children are walked.
@mitchellhamilton in #2304 - Revert:
When a query failed on the first result, the query resultdatawas being returned asundefined. This behavior has been changed so thatdatais returned as an empty object. This makes checking for data (e.g. instead ofdata && data.useryou can just checkdata.user) and destructring (e.g.{ data: { user } }) easier. Note: this could potentially hurt applications that are relying on a falsey check ofdatato see if any query errors have occurred. A better (and supported) way to check for errors is to use the resulterrorsproperty.
#1983
v2.2.1
- Revert: "Typescript: use
Partial<TData>instead ofTData | {}, for theQueryResultdataproperty."
v2.2.0
- Improved TypeScript Typings:
Deprecated
MutationFuncin favor ofMutationFn. Added missingonCompletedandonErrorcallbacks toMutationOpts.
@danilobuerger in #2322 - Added an example app that shows how to test mutations.
@excitement-engineer in #1998 - The
<Subscription />component now allows the registration of a callback function, that will be triggered each time the component receives data. The callbackoptionsobject param consists of the current Apollo Client instance inclient, and the received subscription data insubscriptionData.
@jedwards1211 in #1966 - The
graphqloptionsobject is no longer mutated, when calculating variables from props. This now prevents an issue where components created withgraphqlwere not having their query variables updated properly, when props changed.
@ksmth in #1968 - When a query failed on the first result, the query result
datawas being returned asundefined. This behavior has been changed so thatdatais returned as an empty object. This makes checking for data (e.g. instead ofdata && data.useryou can just checkdata.user) and destructring (e.g.{ data: { user } }) easier. Note: this could potentially hurt applications that are relying on a falsey check ofdatato see if any query errors have occurred. A better (and supported) way to check for errors is to use the resulterrorsproperty.
@TLadd in #1983 - Allow a custom
cacheobject to be passed into the test-utilsMockedProvider.
@palmfjord in #2254 - Make the
MockedProvidermocksprop read only.
@amacleay in #2284 - Remove duplicate
FetchMoreOptionsandFetchMoreQueryOptionstypes, and instead import them from Apollo Client.
@skovy in #2281 - Type changes for the
graphqlHOCoptions.skipproperty.
@jameslaneconkling in #2208 - Avoid importing
lodashdirectly.
@shahyar in #2045 - When the
Queryskipprop is set totrue, make sure the render proploadingparam is set tofalse, since we're not actually loading anything.
@edorivai in #1916 - No longer building against Node 9
@hwillson in #2404 - Make sure
<Subscription />,<Query />&<Mutation />all support using an Apollo Client instance configured in thecontextor via props.
@quentin- in #1956 - Typescript: use
Partial<TData>instead ofTData | {}, for theQueryResultdataproperty.
@tgriesser in #2313 - Adjust
<Query />onCompletedandonErrorcallbacks to be triggered via thecomponentDidUpdatelifecycle method. This ensures these callbacks can 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 - Import
lodash/flowRightusing ES import to allow for treeshaking.
@Pajn in #2332 - Fixed a regression where
variablespassed ingraphqlHOCoptionswere not merged with mutationvariables.
@samginn in #2216 - Added a new
partialRefetchprop (falseby default). When aQuerycomponent is mounted, and a mutation is executed that returns the same ID as the mountedQuery, but has less fields in its result, Apollo Client'sQueryManagerreturns the data 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 originalQuerycomponent are expecting certain data values to exist, and they're all of a sudden stripped away. The recommended way to handle this is to use the mutationsupdateprop to reconcile the mutation result 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 thepartialRefetchprop can be used to automaticallyrefetchthe original query and update the cache.
@steelbrain in #2003
v2.1.11
- Fixed an issue in
getDataFromTreewhere queries that threw more than one error had error messages swallowed, and returned an invalid error object with circular references. Multiple errors are now preserved.
@anand-sundaram-zocdoc in #2133 - Update both the
<Mutation />component andgraphqlHOC to accept a newawaitRefetchQueriesprop (boolean). When set totrue, queries specified inrefetchQuerieswill be completed before the mutation itself is completed.awaitRefetchQueriesisfalseby default, which meansrefetchQueriesare usually completed after the mutation has resolved. Relates to Apollo Client.
PR #3169.
@hwillson in #2214 - Typings adjustment: pass
TDataalong intoMutationUpdaterFnwhen usingMutationOpts, to ensure that the updater function is properly typed.
@danilobuerger in #2227 - Check if queryManager is set before accessing it.
@danilobuerger in #2165
v2.1.9
- Added
onCompletedandonErrorprops to theQuerycomponent, than can be used to register callback functions that are to be executed after a query successfully completes, or an error occurs. @jeshep in #1922 - Add
UNSAFE_componentWillMountSSR support. @leops in #2152 - Clear out scheduler on MockedProvider unmount. @danilobuerger in #2151
v2.1.8
- Addressed deployment issue.
v2.1.7
- The
ApolloProviderchildrenprop type has been changed fromelementtonode, to allow multiple children. @quentin- in #1955 - Properly support the new
getDerivedStateFromPropslifecycle method. @amannn in #2076 lodashis no longer pinned to version 4.17.10. @cherewaty in #1951- README updates to replace
apollo-client-presetwithapollo-boost. @JamesTheHacker in #1925 - README updates to fix broken links. @DennisKo in #1935
- Project README has been updated to show a
<Query />example. @petetnt in #2102
v2.1.6
- Adjust
getDataFromTreeto properly traverse React 16.3's context API provider/consumer approach. @marnusw in #1978 - An
ApolloClientinstance can now be passed into aMutationcomponent via a prop namedclient. This prop will override anApolloClientinstance set viacontext, by theApolloProvidercomponent. @amneacsu in #1890 - The
ApolloClientinstance used by a Mutation is now available in that Mutation's result. PR #1945 @cooperka in #1945
v2.1.5
- Dependency updates to align with typescript changes made in
apollo-client2.3.3 PR #2105
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
:warning: Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
:recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you check the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! Cannot read property 'match' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2020-05-03T15_00_51_542Z-debug.log
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/graphql
npm ERR! peer graphql@"^0.13.2" from [email protected]
npm ERR! node_modules/apollo-storybook-react
npm ERR! dev apollo-storybook-react@"^0.1.3" from the root project
npm ERR! peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm ERR! node_modules/apollo-cache-inmemory
npm ERR! dev apollo-cache-inmemory@"^1.2.2" from the root project
npm ERR! peer apollo-cache-inmemory@"^1.2.2" from [email protected]
npm ERR! node_modules/apollo-storybook-react
npm ERR! dev apollo-storybook-react@"^0.1.3" from the root project
npm ERR! 4 more (apollo-client, apollo-link, graphql-tag, graphql-tools)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^14.3.1" from [email protected]
npm ERR! node_modules/react-apollo
npm ERR! react-apollo@"^3.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2022-11-20T19_10_20_836Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2022-11-20T19_10_20_836Z-debug-0.log