Skip to content

Commit 2d18957

Browse files
committed
Update react peer dependency to >= v16.6.
The fixes in response to facebook/react#13829 break support for react < v16.6.
1 parent dafcccb commit 2d18957

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

changelog.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
## Next
44

5+
### Major
6+
7+
- Updated the `react` peer dependency to `^16.6.0`.
8+
- Fixed `preload` broken due to the [React v16.6.0](https://github.com/facebook/react/releases/tag/v16.6.0) [context API change](https://github.com/facebook/react/pull/13829), fixing [#11](https://github.com/jaydenseric/graphql-react/issues/11).
9+
510
### Patch
611

7-
- Updated dependencies.
8-
- Adapt `preload` for the React v16.6 context API changes, fixing [#11](https://github.com/jaydenseric/graphql-react/issues/11).
12+
- Updated dev dependencies.
913

1014
## 3.0.0
1115

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"browserslist": ">1%",
3636
"peerDependencies": {
37-
"react": "^16.3.1"
37+
"react": "^16.6.0"
3838
},
3939
"dependencies": {
4040
"@babel/runtime": "^7.1.2",

0 commit comments

Comments
 (0)