Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Drop support for react 14, and list react-dom as a peer dep (#2660)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwillson authored and benjamn committed Dec 13, 2018
1 parent 7042815 commit 205aadf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 31 deletions.
12 changes: 12 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## vNext

### Bug Fixes

- Add `react-dom` as a peer dependency (since it's used by `getDataFromTree`
and `renderToStringWithData`). <br/>
[@hwillson](https://github.com/hwillson) in [#2660](https://github.com/apollographql/react-apollo/pull/2660)

### Improvements

- Drop `react` 14.x support, since the 14.x release line is 2 years old now,
and `react-apollo` is no longer tested against it. <br/>
[@hwillson](https://github.com/hwillson) in [#2660](https://github.com/apollographql/react-apollo/pull/2660)

## 2.3.2

### Improvements
Expand Down
41 changes: 11 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
},
"peerDependencies": {
"apollo-client": "^2.3.8",
"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
},
"sideEffects": false,
Expand Down

0 comments on commit 205aadf

Please sign in to comment.