Skip to content
Open
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
4 changes: 2 additions & 2 deletions sample/sample-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@docusaurus/core": "3.9.0",
"@docusaurus/preset-classic": "3.9.0",
Comment on lines +14 to +15

Choose a reason for hiding this comment

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

critical

Upgrading @docusaurus/core and @docusaurus/preset-classic to version 3.9.0 is a major version update to Docusaurus v3. This version has breaking changes, including:

  • A peer dependency on React 18 ("react": "^18.0.0"). The project is currently using React 16 ("react": "^16.8.4").
  • An upgrade to MDX v3, which requires @mdx-js/react@^3.0.0. The project is currently using ^1.6.22.

These outdated dependencies will likely cause build failures. Please upgrade react, react-dom, and @mdx-js/react to their compatible versions. For a full migration, you should follow the Docusaurus v3 migration guide.

Here is an example of what your dependencies should look like:

"dependencies": {
  "@docusaurus/core": "3.9.0",
  "@docusaurus/preset-classic": "3.9.0",
  "@mdx-js/react": "^3.0.0",
  "clsx": "^2.0.0",
  "react": "^18.0.0",
  "react-dom": "^18.0.0"
}


"@mdx-js/react": "^1.6.22",

Expand Down
Loading
Loading