Hello Docusaurus v3!
Last week Docusaurus released version 3.0.0 and we managed to upgrade our blog without many issues.
At first, I was not sure how easy the upgrade process would be as we've been using a few 3rd party plugins and some own customizations. Luckily, neither has been an issue during the upgrade. We just had to fix a few of our older blog posts containing invalid syntax in some code samples. Looks like v3 has some stricter syntax checks compared to v2.
Overall, the upgrade took less than 1 hour, which I would consider a success!
Besides upgrading the nodejs version to 20.9.0, we had to upgrade the @docusaurus/core
, @docusaurus/preset-classic
, and @docusaurus/module-type-aliases
dependencies to version 3.0.0 and make sure to install the react
and react-dom
packages in version 18.0.0.