Skip to content
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

[core] Update minimum supported version of Node.js to 14.0.0 #6966

Merged
merged 2 commits into from
Nov 23, 2022
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
24 changes: 19 additions & 5 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ last 1 safari version
node 14

# Default/Fallback

# `npx browserslist --mobile-to-desktop "> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"` when the last major is released.

# Manually downgrading to ios_saf 12.4 for iPhone 6 and webpack 4 support.

# On update, sync references where "#stable-snapshot" is mentioned in the codebase.

[stable]
and_chr 91
and_ff 89
Expand All @@ -19,8 +23,11 @@ baidu 7.12
chrome 90
edge 91
firefox 78

# 12.4 but 12.2-12.5 are treated equally in caniuse-lite.

# Though caniuse-lite does not supporting finding an exact version in a range which is why `12.4` would result in "Unknown version 12.4 of ios_saf"

ios_saf 12.2
kaios 2.5
op_mini all
Expand All @@ -30,6 +37,7 @@ safari 14
samsung 13.0

# Same as `stable` but with IE 11

[legacy]
ie 11
and_chr 91
Expand All @@ -50,22 +58,28 @@ safari 14
samsung 13.0

# snapshot of `npx browserslist "maintained node versions"`

# On update check all #stable-snapshot markers

[node]
node 12.0
node 14.0

# same as `node`

[coverage]
node 12.0
node 14.0

# same as `node`

[development]
node 12.0
node 14.0

# same as `node`

[test]
node 12.0
node 14.0

# same as `node`

[benchmark]
node 12.0
node 14.0
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Since v6 is a major release, it contains some changes that affect the public API
These changes were done for consistency, improve stability and make room for new features.
Below are described the steps you need to make to migrate from v5 to v6.

:::warning
The minimum supported Node.js version has been changed from 12.0.0 to 14.0.0, since [12.x.x has reached end-of-life this year](https://nodejs.org/es/blog/release/v12.22.12/).
:::

### Renamed props

- To avoid confusion with the props that will be added for the cell selection feature, some props related to row selection were renamed to have "row" in their name. The renamed props are the following:
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/x-codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"access": "public"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/x-license-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"<rootDir>/src/setupTests.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}