react-apollo v2.1.11 Release Notes

Release Date: 2018-08-09 // over 5 years ago
    • 🛠 Fixed an issue in getDataFromTree where 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 and graphql HOC to accept a new awaitRefetchQueries prop (boolean). When set to true, queries specified in refetchQueries will be completed before the mutation itself is completed. awaitRefetchQueries is false by default, which means refetchQueries are usually completed after the mutation has resolved. Relates to Apollo Client. PR #3169. @hwillson in #2214
    • ⚡️ Typings adjustment: pass TData along into MutationUpdaterFn when using MutationOpts, to ensure that the updater function is properly typed. @danilobuerger in #2227
    • Check if queryManager is set before accessing it. @danilobuerger in #2165