diff --git a/CHANGELOG.md b/CHANGELOG.md index 62c83f81b4bf9..5a38f29e9f91e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,105 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 7.8.0 + +_Jun 28, 2024_ + +We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨: + +- 🛰 Introduce server-side data source for improved server integration in the Data Grid. + + Supports server-side pagination, sorting and filtering on plain and tree data, and automatic caching. + + To enable, provide a `getRows` function to the `unstable_dataSource` prop on the Data Grid component. + + ```tsx + const dataSource = { + getRows: async (params: GridServerGetRowsParams) => { + const data = await fetch( + `https://api.example.com/data?${new URLSearchParams({ + page: params.page, + pageSize: params.pageSize, + sortModel: JSON.stringify(params.sortModel), + filterModel: JSON.stringify(params.filterModel), + }).toString()}`, + ); + return { + rows: data.rows, + totalRows: data.totalRows, + }; + }, + } + + ``` + + See [server-side data documentation](https://mui.com/x/react-data-grid/server-side-data/) for more details. + +- 📈 Support Date data on the BarChart component +- ↕️ Support custom column sort icons on the Data Grid +- 🖱️ Support modifying the expansion trigger on the Tree View components + + + +### Data Grid + +#### `@mui/x-data-grid@7.8.0` + +- [DataGrid] Add `columnHeaderSortIcon` slot (#13563) @arminmeh +- [DataGrid] Fix dimensions lag issue after autosize (#13587) @MBilalShafi +- [DataGrid] Fix print export failure when `hideFooter` option is set (#13034) @tarunrajput + +#### `@mui/x-data-grid-pro@7.8.0` [![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.8.0`, plus: + +- [DataGridPro] Fix multi-sorting indicator being cut off (#13625) @KenanYusuf +- [DataGridPro] Server-side tree data support (#12317) @MBilalShafi + +#### `@mui/x-data-grid-premium@7.8.0` [![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.8.0`. + +### Date and Time Pickers + +#### `@mui/x-date-pickers@7.8.0` + +- [fields] Fix section clearing behavior on Android (#13652) @LukasTy + +#### `@mui/x-date-pickers-pro@7.8.0` [![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.8.0`. + +### Charts + +#### `@mui/x-charts@7.8.0` + +- [charts] Fix line chart props not passing correct event handlers (#13609) @JCQuintas +- [charts] Support BarChart with `Date` data (#13471) @alexfauquette +- [charts] Support RTL for y-axis (#13614) @alexfauquette +- [charts] Use default values instead of non-null assertion to prevent error being thrown (#13637) @JCQuintas + +### Tree View + +#### `@mui/x-tree-view@7.8.0` + +- [TreeView] Add `expansionTrigger` prop (#13533) @noraleonte +- [TreeView] Support experimental features from plugin's dependencies (#13632) @flaviendelangle + +### Docs + +- [docs] Add callout for `Luxon` `throwOnInvalid` support (#13621) @LukasTy +- [docs] Add "Overlays" section to the Data Grid documentation (#13624) @KenanYusuf + +### Core + +- [core] Add eslint rule to restrict import from `../internals` root (#13633) @JCQuintas +- [docs-infra] Sync `\_app` folder with monorepo (#13582) @Janpot +- [license] Allow usage of charts and tree view pro package for old premium licenses (#13619) @flaviendelangle + ## 7.7.1 _Jun 21, 2024_ @@ -44,7 +143,7 @@ Same changes as in `@mui/x-data-grid-pro@7.7.1`. - [pickers] Always use the same timezone in the field, the view and the layout components (#13481) @flaviendelangle - [pickers] Fix `AdapterDateFnsV3` generated method types (#13464) @alexey-kozlenkov - [pickers] Fix controlled `view` behavior (#13552) @LukasTy -- [TimePicker] Improves RTL verification for the time pickers default views (#13447) @arthurbalduini +- [TimePicker] Improves RTL verification for the time pickers default views (#13447) @arthurbalduini #### `@mui/x-date-pickers-pro@7.7.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan') diff --git a/package.json b/package.json index 4d22395d3ea51..6d04a6f20673e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "7.7.1", + "version": "7.8.0", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json index 0b132be7d86bf..41ecfdc472f93 100644 --- a/packages/x-charts/package.json +++ b/packages/x-charts/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts", - "version": "7.7.1", + "version": "7.8.0", "description": "The community edition of the Charts components (MUI X).", "author": "MUI Team", "main": "./src/index.js", diff --git a/packages/x-codemod/package.json b/packages/x-codemod/package.json index e7168a6e62ff1..fe54d4c923b81 100644 --- a/packages/x-codemod/package.json +++ b/packages/x-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-codemod", - "version": "7.7.0", + "version": "7.8.0", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/x-data-grid-generator/package.json b/packages/x-data-grid-generator/package.json index ce85b0dcf6da8..bce7f1208ce74 100644 --- a/packages/x-data-grid-generator/package.json +++ b/packages/x-data-grid-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-generator", - "version": "7.7.1", + "version": "7.8.0", "description": "Generate fake data for demo purposes only.", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-premium/package.json b/packages/x-data-grid-premium/package.json index 1be31f0424517..9ff5984bf6435 100644 --- a/packages/x-data-grid-premium/package.json +++ b/packages/x-data-grid-premium/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-premium", - "version": "7.7.1", + "version": "7.8.0", "description": "The Premium plan edition of the Data Grid Components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-pro/package.json b/packages/x-data-grid-pro/package.json index 3e981f60590ce..c69cd8ae0ad41 100644 --- a/packages/x-data-grid-pro/package.json +++ b/packages/x-data-grid-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-pro", - "version": "7.7.1", + "version": "7.8.0", "description": "The Pro plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid/package.json b/packages/x-data-grid/package.json index b5ae53475da2b..dea5d0de80173 100644 --- a/packages/x-data-grid/package.json +++ b/packages/x-data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid", - "version": "7.7.1", + "version": "7.8.0", "description": "The Community plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index e9679c0596fbe..2d7340f8d2773 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.7.1", + "version": "7.8.0", "description": "The Pro plan edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index e7f61bb57de5e..e0dd84ad389bc 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.7.1", + "version": "7.8.0", "description": "The community edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-license/package.json b/packages/x-license/package.json index 55cb637aa98cc..9b1dc7cb8c150 100644 --- a/packages/x-license/package.json +++ b/packages/x-license/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-license", - "version": "7.7.1", + "version": "7.8.0", "description": "MUI X License verification", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-tree-view/package.json b/packages/x-tree-view/package.json index 8a2ede2b95d75..eaba21bab23bd 100644 --- a/packages/x-tree-view/package.json +++ b/packages/x-tree-view/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-tree-view", - "version": "7.7.1", + "version": "7.8.0", "description": "The community edition of the Tree View components (MUI X).", "author": "MUI Team", "main": "src/index.ts",