|
4 | 4 |
|
5 | 5 | - Fixed an issue in `getDataFromTree` where queries that threw more than one
|
6 | 6 | error had error messages swallowed, and returned an invalid error object
|
7 |
| - with circular references. Multiple errors are now preserved. |
| 7 | + with circular references. Multiple errors are now preserved. <br/> |
8 | 8 | [@anand-sundaram-zocdoc](https://github.com/anand-sundaram-zocdoc) in [#2133](https://github.com/apollographql/react-apollo/pull/2133)
|
| 9 | +- Update both the `<Mutation />` component and `graphql` HOC to accept a new |
| 10 | + `awaitRefetchQueries` prop (boolean). When set to `true`, queries specified |
| 11 | + in `refetchQueries` will be completed before the mutation itself is |
| 12 | + completed. `awaitRefetchQueries` is `false` by default, which means |
| 13 | + `refetchQueries` are usually completed after the mutation has resolved. |
| 14 | + Relates to Apollo Client |
| 15 | + [PR #3169](https://github.com/apollographql/apollo-client/pull/3169). <br/> |
| 16 | + [@hwillson](https://github.com/hwillson) in [#2214](https://github.com/apollographql/react-apollo/pull/2214) |
9 | 17 |
|
10 | 18 | ## 2.1.9 (July 4, 2018)
|
11 | 19 |
|
|
23 | 31 | ## 2.1.7 (June 27, 2018)
|
24 | 32 |
|
25 | 33 | - The `ApolloProvider` `children` prop type has been changed from `element`
|
26 |
| - to `node`, to allow multiple children. |
| 34 | + to `node`, to allow multiple children. |
27 | 35 | [@quentin-](https://github.com/quentin-) in [#1955](https://github.com/apollographql/react-apollo/pull/1955)
|
28 |
| -- Properly support the new `getDerivedStateFromProps` lifecycle method. |
| 36 | +- Properly support the new `getDerivedStateFromProps` lifecycle method. |
29 | 37 | [@amannn](https://github.com/amannn) in [#2076](https://github.com/apollographql/react-apollo/pull/2076)
|
30 |
| -- `lodash` is no longer pinned to version 4.17.10. |
| 38 | +- `lodash` is no longer pinned to version 4.17.10. |
31 | 39 | [@cherewaty](https://github.com/cherewaty) in [#1951](https://github.com/apollographql/react-apollo/pull/1951)
|
32 |
| -- README updates to replace `apollo-client-preset` with `apollo-boost`. |
| 40 | +- README updates to replace `apollo-client-preset` with `apollo-boost`. |
33 | 41 | [@JamesTheHacker](https://github.com/JamesTheHacker) in [#1925](https://github.com/apollographql/react-apollo/pull/1925)
|
34 |
| -- README updates to fix broken links. |
| 42 | +- README updates to fix broken links. |
35 | 43 | [@DennisKo](https://github.com/DennisKo) in [#1935](https://github.com/apollographql/react-apollo/pull/1935)
|
36 |
| -- Project README has been updated to show a `<Query />` example. |
| 44 | +- Project README has been updated to show a `<Query />` example. |
37 | 45 | [@petetnt](https://github.com/petetnt) in [#2102](https://github.com/apollographql/react-apollo/pull/2102)
|
38 | 46 |
|
39 | 47 | ## 2.1.6 (June 19, 2018)
|
40 | 48 |
|
41 | 49 | - Adjust `getDataFromTree` to properly traverse React 16.3's context API
|
42 |
| - provider/consumer approach. |
| 50 | + provider/consumer approach. |
43 | 51 | [@marnusw](https://github.com/marnusw) in [#1978](https://github.com/apollographql/react-apollo/pull/1978)
|
44 | 52 | - An `ApolloClient` instance can now be passed into a `Mutation`
|
45 | 53 | component via a prop named `client`. This prop will override
|
46 | 54 | an `ApolloClient` instance set via `context`, by the `ApolloProvider`
|
47 |
| - component. |
| 55 | + component. |
48 | 56 | [@amneacsu](https://github.com/amneacsu) in [#1890](https://github.com/apollographql/react-apollo/pull/1890)
|
49 | 57 | - The `ApolloClient` instance used by a Mutation is now available in that
|
50 |
| - Mutation's result. |
| 58 | + Mutation's result. |
51 | 59 | [@cooperka](https://github.com/cooperka) in [#1945](https://github.com/apollographql/react-apollo/pull/1945)
|
52 | 60 |
|
53 | 61 | ## 2.1.5
|
|
0 commit comments