Skip to content
Open
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
4 changes: 2 additions & 2 deletions examples/using-medium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"author": "Robert Vogt <[email protected]>",
"license": "MIT",
"dependencies": {
"gatsby": "^2.0.0",
"gatsby-source-medium": "^2.0.0",
"gatsby": "^5.14.0",
"gatsby-source-medium": "^5.14.0",
Comment on lines +10 to +11

Choose a reason for hiding this comment

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

critical

This major version upgrade for gatsby from v2 to v5 requires an update to its peer dependencies. Gatsby v5 requires React 18, but the react and react-dom dependencies in this project are still on version 16. This will break the application. You will need to update react and react-dom to a compatible version (e.g., ^18.2.0).

Additionally, this large version jump for both gatsby and gatsby-source-medium likely includes breaking API changes. The existing code, such as gatsby-config.js and GraphQL queries, will probably need to be migrated to work with the new versions.

"react": "^16.4.0",
"react-dom": "^16.4.0"
},
Expand Down