-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade dependencies #8261
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch" | ||
}, | ||
"dependencies": { | ||
"@docsearch/react": "^3.2.1", | ||
"@docsearch/react": "^3.3.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apparently, there are type-related breaking changes in this new version @shortcuts @Haroenv This upgrade leads to failures while type-checking our website: https://github.com/facebook/docusaurus/actions/runs/3343786713/jobs/5537374683
Seems related to algolia/autocomplete#1002 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for letting me know, the ts-ignore comments were removed :( Will fix! |
||
"@docusaurus/core": "^3.0.0-alpha.0", | ||
"@docusaurus/logger": "^3.0.0-alpha.0", | ||
"@docusaurus/plugin-content-docs": "^3.0.0-alpha.0", | ||
|
@@ -42,7 +42,7 @@ | |
"@docusaurus/utils": "^3.0.0-alpha.0", | ||
"@docusaurus/utils-validation": "^3.0.0-alpha.0", | ||
"algoliasearch": "^4.14.2", | ||
"algoliasearch-helper": "^3.11.0", | ||
"algoliasearch-helper": "^3.11.1", | ||
"clsx": "^1.2.1", | ||
"eta": "^1.12.3", | ||
"fs-extra": "^10.1.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,16 +33,16 @@ | |
"url": "https://github.com/facebook/docusaurus/issues" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.19.0", | ||
"@babel/generator": "^7.19.0", | ||
"@babel/core": "^7.19.6", | ||
"@babel/generator": "^7.20.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.18.10", | ||
"@babel/preset-env": "^7.19.0", | ||
"@babel/plugin-transform-runtime": "^7.19.6", | ||
"@babel/preset-env": "^7.19.4", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@babel/runtime": "^7.19.0", | ||
"@babel/runtime-corejs3": "^7.19.0", | ||
"@babel/traverse": "^7.19.0", | ||
"@babel/runtime": "^7.20.0", | ||
"@babel/runtime-corejs3": "^7.20.0", | ||
"@babel/traverse": "^7.20.0", | ||
"@docusaurus/cssnano-preset": "^3.0.0-alpha.0", | ||
"@docusaurus/logger": "^3.0.0-alpha.0", | ||
"@docusaurus/mdx-loader": "^3.0.0-alpha.0", | ||
|
@@ -51,9 +51,9 @@ | |
"@docusaurus/utils-common": "^3.0.0-alpha.0", | ||
"@docusaurus/utils-validation": "^3.0.0-alpha.0", | ||
"@slorber/static-site-generator-webpack-plugin": "^4.0.7", | ||
"@svgr/webpack": "^6.3.1", | ||
"autoprefixer": "^10.4.8", | ||
"babel-loader": "^8.2.5", | ||
"@svgr/webpack": "^6.5.0", | ||
"autoprefixer": "^10.4.12", | ||
"babel-loader": "^9.0.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
"babel-plugin-dynamic-import-node": "^2.3.3", | ||
"boxen": "^6.2.1", | ||
"chalk": "^4.1.2", | ||
|
@@ -63,24 +63,24 @@ | |
"combine-promises": "^1.1.0", | ||
"commander": "^5.1.0", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"core-js": "^3.25.1", | ||
"core-js": "^3.26.0", | ||
"css-loader": "^6.7.1", | ||
"css-minimizer-webpack-plugin": "^4.0.0", | ||
"css-minimizer-webpack-plugin": "^4.2.2", | ||
"cssnano": "^5.1.13", | ||
"del": "^6.1.1", | ||
"detect-port": "^1.3.0", | ||
"detect-port": "^1.5.1", | ||
"escape-html": "^1.0.3", | ||
"eta": "^1.12.3", | ||
"file-loader": "^6.2.0", | ||
"fs-extra": "^10.1.0", | ||
"html-minifier-terser": "^6.1.0", | ||
"html-minifier-terser": "^7.0.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same, what are the breaking changes of this new version? How does it affect us? Again I'd rather stick to 6.x particularly if I need to backport this PR => avoid risky changes for PRs to backport |
||
"html-tags": "^3.2.0", | ||
"html-webpack-plugin": "^5.5.0", | ||
"import-fresh": "^3.3.0", | ||
"leven": "^3.1.0", | ||
"lodash": "^4.17.21", | ||
"mini-css-extract-plugin": "^2.6.1", | ||
"postcss": "^8.4.16", | ||
"postcss": "^8.4.18", | ||
"postcss-loader": "^7.0.1", | ||
"prompts": "^2.4.2", | ||
"react-dev-utils": "^12.0.1", | ||
|
@@ -101,7 +101,7 @@ | |
"wait-on": "^6.0.1", | ||
"webpack": "^5.74.0", | ||
"webpack-bundle-analyzer": "^4.6.1", | ||
"webpack-dev-server": "^4.11.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-merge": "^5.8.0", | ||
"webpackbar": "^5.0.2" | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
major deps upgrades often have breaking changes that might lead ourselves to have breaking changes too.
https://github.com/babel/babel-loader/releases/tag/v9.0.0
In this case it doesn't seem to be a problem (even though we allow configuring babel plugins) but the 9.0 was released only 20h ago.
For safety, I'd prefer to stay on 8.x, and keep such upgrades for the next major versions.
IE: don't do any risky change just before a minor release. If a PR feels too risky I'd prefer to not backport it. Releasing a minor takes more time than before and I don't want to have to release a 2.2.1 if possible.
In general, I'd prefer to avoid having to backport a deps upgrade PR just before a release. Let's merge those PRs a bit upfront, see if there's any issue, and only then backport it.