|
1 | 1 | # Change log
|
2 | 2 |
|
3 |
| -## vNext |
| 3 | +## 2.2.3 (September 30, 2018) |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +- Mutation errors are now properly returned as a render prop, when using |
| 8 | + a default `errorPolicy` of `all`. <br/> |
| 9 | + [@amacleay](https://github.com/amacleay) in [#2374](https://github.com/apollographql/react-apollo/pull/2374) |
| 10 | +- `<Mutation />` `refetchQueries` triggered by name (string) will now use the correct variables. <br/> |
| 11 | + [@fracmal](https://github.com/fracmak) in [#2422](https://github.com/apollographql/react-apollo/pull/2422) |
| 12 | + |
| 13 | +### Improvements |
4 | 14 |
|
5 |
| -- Fix `lodash` typings. <br/> |
6 |
| - [@williamboman](https://github.com/williamboman) in [#2430](https://github.com/apollographql/react-apollo/pull/2430) |
7 | 15 | - Replace the `lodash` dependency with `lodash.flowright` (since that's the
|
8 | 16 | only non-dev `lodash` function we're dependent on). Dev `lodash`
|
9 | 17 | dependencies have also been updated to use their individual module
|
10 | 18 | equivalent. <br/>
|
11 | 19 | [@hwillson](https://github.com/hwillson) in [#2435](https://github.com/apollographql/react-apollo/pull/2435)
|
12 | 20 | - Removed `rollup-plugin-babel-minify` as it's no longer being used. <br/>
|
13 | 21 | [@hwillson](https://github.com/hwillson) in [#2436](https://github.com/apollographql/react-apollo/pull/2436)
|
14 |
| -- Typings: added `context` to `MutationOptions`. <br/> |
15 |
| - [@danilobuerger](https://github.com/danilobuerger) in [#2354](https://github.com/apollographql/react-apollo/pull/2354) |
16 |
| -- Typings: more `MutationOptions` changes/fixes. <br/> |
17 |
| - [@danilobuerger](https://github.com/danilobuerger) in [#2340](https://github.com/apollographql/react-apollo/pul/2340) |
18 | 22 | - Small `getDataFromTree.ts` logic adjustment to avoid unnecessary calls
|
19 | 23 | when a falsy `element` is encountered. <br/>
|
20 | 24 | [@HOUCe](https://github.com/HOUCe) in [#2429](https://github.com/apollographql/react-apollo/pull/2429)
|
21 | 25 | - `graphql` 14 updates. <br/>
|
22 | 26 | [@hwillson](https://github.com/hwillson) in [#2437](https://github.com/apollographql/react-apollo/pull/2437)
|
23 |
| -- Mutation errors are now properly returned as a render prop, when using |
24 |
| - a default `errorPolicy` of `all`. <br/> |
25 |
| - [@amacleay](https://github.com/amacleay) in [#2374](https://github.com/apollographql/react-apollo/pull/2374) |
26 |
| -- `<Mutation />` `refetchQueries` triggered by name (string) will now use the correct variables. <br/> |
27 |
| - [@fracmal](https://github.com/fracmak) in [#2422](https://github.com/apollographql/react-apollo/pull/2422) |
| 27 | +- All example apps (included in the repo) have been updated to work with the |
| 28 | + latest version of React Apollo. <br/> |
| 29 | + [@hwillson](https://github.com/hwillson) in [#2439](https://github.com/apollographql/react-apollo/pull/2439) |
| 30 | + |
| 31 | +### Typescript |
| 32 | + |
| 33 | +- Fix `lodash` typings. <br/> |
| 34 | + [@williamboman](https://github.com/williamboman) in [#2430](https://github.com/apollographql/react-apollo/pull/2430) |
| 35 | +- Typings: added `context` to `MutationOptions`. <br/> |
| 36 | + [@danilobuerger](https://github.com/danilobuerger) in [#2354](https://github.com/apollographql/react-apollo/pull/2354) |
| 37 | +- Typings: more `MutationOptions` changes/fixes. <br/> |
| 38 | + [@danilobuerger](https://github.com/danilobuerger) in [#2340](https://github.com/apollographql/react-apollo/pul/2340) |
28 | 39 | - Remove `allowSyntheticDefaultImports` use. Typescript's
|
29 | 40 | `allowSyntheticDefaultImports` compiler option is something we'd like to
|
30 | 41 | start using, but we jumped the gun a bit by introducing it in
|
|
38 | 49 | syntax, to work with default imports. We'll re-introduce
|
39 | 50 | `allowSyntheticDefaultImports` use in React Apollo 3. <br/>
|
40 | 51 | [@hwillson](https://github.com/hwillson) in [#2438](https://github.com/apollographql/react-apollo/pull/2438)
|
41 |
| -- All example apps (included in the repo) have been updated to work with the |
42 |
| - latest version of React Apollo. <br/> |
43 |
| - [@hwillson](https://github.com/hwillson) in [#2439](https://github.com/apollographql/react-apollo/pull/2439) |
44 | 52 |
|
45 | 53 | ## 2.2.2 (September 28, 2018)
|
46 | 54 |
|
|
0 commit comments