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

Removed redux from peer dependencies for v2 #1224

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### vNext

- Removed `redux` from peer dependencies. [Issue #1223](https://github.com/apollographql/react-apollo/issues/1223) [PR #1224](https://github.com/apollographql/react-apollo/pull/1224)

### 2.0.0-beta.0
- upgrade to Apollo Client 2.0
- remove direct dependencies on Apollo Client, graphql-tag
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
"license": "MIT",
"peerDependencies": {
"apollo-client": "^2.0.0-beta.3",
"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0",
"redux": "^2.0.0 || ^3.0.0"
"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any difference between 15.* and ^15.0.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No difference, it looks redundant.

I think:

"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0"

Can be simplified to:

"react": "0.14 - 16"

},
"devDependencies": {
"@types/enzyme": "2.8.9",
Expand Down