From e7085c0a7d5ba0186d02c8fd299f707f88f1603f Mon Sep 17 00:00:00 2001 From: Andrew Cherniavskii Date: Fri, 8 Dec 2023 15:10:12 +0100 Subject: [PATCH] v7.0.0-alpha.4 (#11350) --- CHANGELOG.md | 123 ++++++++++++++++++ package.json | 2 +- .../grid/x-data-grid-generator/package.json | 4 +- .../grid/x-data-grid-premium/package.json | 6 +- packages/grid/x-data-grid-pro/package.json | 4 +- packages/grid/x-data-grid/package.json | 2 +- packages/x-charts/package.json | 8 +- packages/x-date-pickers-pro/package.json | 4 +- packages/x-date-pickers/package.json | 2 +- 9 files changed, 139 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da91d5bc2a817..e0d427541a157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,89 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 7.0.0-alpha.4 + +_Dec 8, 2023_ + +We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨: + +- 🚀 The scatter charts now use voronoi to trigger items + + Users needed to hover the item to highlight the scatter item or show the tooltip. + Now they can interact with data by triggering the closest element. See the [docs page](https://next.mui.com/x/react-charts/scatter/#interaction) for more info. + +- 📚 Add [Pickers FAQ page](https://next.mui.com/x/react-date-pickers/faq/) +- 🎉 The Data Grid Header filters feature is now stable +- 🌍 Improve Danish (da-DK) locale on Data Grid +- 🐞 Bugfixes + +### Data Grid + +#### Breaking changes + +- The header filters feature is now stable. `unstable_` prefix is removed from prop `headerFilters` and related exports. + See [migration docs](https://next.mui.com/x/migration/migration-data-grid-v6/#filtering) for more details. + +- The `GridColDef['type']` has been narrowed down to only accept the built-in column types. + TypeScript users need to use the `GridColDef` interface when defining columns: + + ```tsx + // 🛑 `type` is inferred as `string` and is too wide + const columns = [{ type: 'number', field: 'id' }]; + ; + + // ✅ `type` is `'number'` + const columns: GridColDef[] = [{ type: 'number', field: 'id' }]; + ; + + // ✅ Alternalively, `as const` can be used to narrow down the type + const columns = [{ type: 'number' as const, field: 'id' }]; + ; + ``` + +#### `@mui/x-data-grid@7.0.0-alpha.4` + +- [DataGrid] Added a guard for reorder cells (#11159) @michelengelen +- [DataGrid] Narrow down `GridColDef['type']` (#11270) @cherniavskii +- [l10n] Improve Danish (da-DK) locale (#11304) @goibon + +#### `@mui/x-data-grid-pro@7.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-data-grid@7.0.0-alpha.4`, plus: + +- [DataGridPro] Make header filters feature stable (#11243) @MBilalShafi + +#### `@mui/x-data-grid-premium@7.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan') + +Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.4`. + +### Date Pickers + +#### `@mui/x-date-pickers@7.0.0-alpha.4` + +- [fields] Rework `PickersTextField` (#11258) @flaviendelangle +- [pickers] Fix `MultiSectionDigitalClock` issues (#11305) @LukasTy +- [pickers] Fix views height consistency (#11337) @LukasTy + +#### `@mui/x-date-pickers-pro@7.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-date-pickers@7.0.0-alpha.4`. + +### Charts / `@mui/x-charts@7.0.0-alpha.4` + +- [charts] Remove animation on sparkline (#11311) @oliviertassinari +- [charts] Use voronoi cells to trigger interaction with scatter items (#10981) @alexfauquette +- [charts] Add `@mui/utils` as a dependency (#11351) @michelengelen + +### Docs + +- [docs] Add FAQ page (#11271) @noraleonte +- [docs] Add a doc section on how to override the start of the week with each adapter (#11223) @flaviendelangle +- [docs] Added params to `onPaginationModelChange` docs (#10191) @JFBenzs +- [docs] Fix typo (#11324) @cadam11 +- [docs] Improve `DemoContainer` styling coverage (#11315) @LukasTy +- [docs] General revision of the Charts docs (#11249) @danilo-leal + ## 7.0.0-alpha.3 _Dec 4, 2023_ @@ -866,6 +949,46 @@ Here is an example of the renaming for the `` component. - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi - [license] Correctly throw errors (#10924) @oliviertassinari +## 6.18.4 + +_Dec 8, 2023_ + +We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨: + +- 📚 Add [Pickers FAQ page](https://mui.com/x/react-date-pickers/faq/) +- 🌍 Improve Danish (da-DK) locale on Data Grid +- 🐞 Bugfixes + +### Data Grid + +#### `@mui/x-data-grid@6.18.4` + +- [DataGrid] Fix cell slot style override (#11215) @oliviertassinari +- [l10n] Improve Danish (da-DK) locale (#11346) @goibon + +#### `@mui/x-data-grid-pro@6.18.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-data-grid@6.18.4`. + +#### `@mui/x-data-grid-premium@6.18.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan') + +Same changes as in `@mui/x-data-grid-pro@6.18.4`. + +### Date Pickers + +#### `@mui/x-date-pickers@6.18.4` + +- [pickers] Fix `MultiSectionDigitalClock` issues (#11308) @LukasTy + +#### `@mui/x-date-pickers-pro@6.18.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') + +Same changes as in `@mui/x-date-pickers@6.18.4`. + +### Docs + +- [docs] Fix typo (#11323) @cadam11 +- [docs] Add FAQ page (#11347) @noraleonte + ## 6.18.3 _Dec 4, 2023_ diff --git a/package.json b/package.json index 38c9f218144dc..b4bfcb6c13dc2 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "private": true, "scripts": { "start": "yarn && yarn docs:dev", diff --git a/packages/grid/x-data-grid-generator/package.json b/packages/grid/x-data-grid-generator/package.json index cbc6a69d706f4..1a7978e4361e2 100644 --- a/packages/grid/x-data-grid-generator/package.json +++ b/packages/grid/x-data-grid-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-generator", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "Generate fake data for demo purposes only.", "author": "MUI Team", "main": "src/index.ts", @@ -35,7 +35,7 @@ "dependencies": { "@babel/runtime": "^7.23.5", "@mui/base": "^5.0.0-beta.26", - "@mui/x-data-grid-premium": "7.0.0-alpha.3", + "@mui/x-data-grid-premium": "7.0.0-alpha.4", "chance": "^1.1.11", "clsx": "^2.0.0", "lru-cache": "^7.18.3" diff --git a/packages/grid/x-data-grid-premium/package.json b/packages/grid/x-data-grid-premium/package.json index 4d5fe21e58041..91172e0d4765e 100644 --- a/packages/grid/x-data-grid-premium/package.json +++ b/packages/grid/x-data-grid-premium/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-premium", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The Premium plan edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", @@ -46,8 +46,8 @@ "@babel/runtime": "^7.23.5", "@mui/system": "^5.14.20", "@mui/utils": "^5.14.20", - "@mui/x-data-grid": "7.0.0-alpha.3", - "@mui/x-data-grid-pro": "7.0.0-alpha.3", + "@mui/x-data-grid": "7.0.0-alpha.4", + "@mui/x-data-grid-pro": "7.0.0-alpha.4", "@mui/x-license-pro": "7.0.0-alpha.1", "@types/format-util": "^1.0.4", "clsx": "^2.0.0", diff --git a/packages/grid/x-data-grid-pro/package.json b/packages/grid/x-data-grid-pro/package.json index 9190e55c3d9f1..f36ff227e504e 100644 --- a/packages/grid/x-data-grid-pro/package.json +++ b/packages/grid/x-data-grid-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-pro", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The Pro plan edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", @@ -46,7 +46,7 @@ "@babel/runtime": "^7.23.5", "@mui/system": "^5.14.20", "@mui/utils": "^5.14.20", - "@mui/x-data-grid": "7.0.0-alpha.3", + "@mui/x-data-grid": "7.0.0-alpha.4", "@mui/x-license-pro": "7.0.0-alpha.1", "@types/format-util": "^1.0.4", "clsx": "^2.0.0", diff --git a/packages/grid/x-data-grid/package.json b/packages/grid/x-data-grid/package.json index bd96afe39b101..922b4c45c7dd8 100644 --- a/packages/grid/x-data-grid/package.json +++ b/packages/grid/x-data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The community edition of the data grid component (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json index 79dcb084188a1..9b9239c320d6f 100644 --- a/packages/x-charts/package.json +++ b/packages/x-charts/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The community edition of the charts components (MUI X).", "author": "MUI Team", "main": "./src/index.js", @@ -47,9 +47,9 @@ "@react-spring/web": "^9.7.3", "clsx": "^2.0.0", "d3-color": "^3.1.0", + "d3-delaunay": "^6.0.4", "d3-scale": "^4.0.2", "d3-shape": "^3.2.0", - "d3-delaunay": "^6.0.4", "prop-types": "^15.8.1" }, "peerDependencies": { @@ -69,9 +69,9 @@ }, "devDependencies": { "@types/d3-color": "^3.1.3", + "@types/d3-delaunay": "^6.0.4", "@types/d3-scale": "^4.0.8", - "@types/d3-shape": "^3.1.6", - "@types/d3-delaunay": "^6.0.4" + "@types/d3-shape": "^3.1.6" }, "exports": { ".": { diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index 21d00c577ed47..7c8e0638c217a 100644 --- a/packages/x-date-pickers-pro/package.json +++ b/packages/x-date-pickers-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers-pro", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The commercial edition of the date picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", @@ -46,7 +46,7 @@ "@mui/base": "^5.0.0-beta.26", "@mui/system": "^5.14.20", "@mui/utils": "^5.14.20", - "@mui/x-date-pickers": "7.0.0-alpha.3", + "@mui/x-date-pickers": "7.0.0-alpha.4", "@mui/x-license-pro": "7.0.0-alpha.1", "clsx": "^2.0.0", "prop-types": "^15.8.1", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index 58de2230086ed..93284776d1a69 100644 --- a/packages/x-date-pickers/package.json +++ b/packages/x-date-pickers/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers", - "version": "7.0.0-alpha.3", + "version": "7.0.0-alpha.4", "description": "The community edition of the date picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts",