Releases: mui/mui-x
v4.0.0-alpha.19
Feb 5, 2021
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Add getRowId prop (#972) @dtassone
- 🚀 Add streaming delete row api (#980) @dtassone
- 💅 Fix autoHeight (#940) @oliviertassinari
- 🙌 Enable the data grid to work under strict mode (#933) @dtassone
- ⚡️ Add component slots for toolbar and preference panel (#971) @DanailH
- 🐛 Polish existing features, fix 9 issues.
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Add component slots for toolbar and preference panel (#971) @DanailH
- [DataGrid] Add getRowId prop (#972) @dtassone
- [DataGrid] Add streaming delete row api (#980) @dtassone
- [DataGrid] Fix autoHeight (#940) @oliviertassinari
- [DataGrid] Fix column reorder instability (#950) @dtassone
- [DataGrid] Fix footer visual regression (#932) @dtassone
- [DataGrid] Fix strict mode issue with apiRef (#933) @dtassone
- [DataGrid] Work on the accessibility of the column menu (#900) @zj9495
- [DataGrid] Fix timing guarentee (#981) @oliviertassinari
- [DataGrid] Fix unstable footer height (#937) @oliviertassinari
- [DataGrid] Fix usage of the prop-types API (#955) @oliviertassinari
- [DataGrid] Fix duplicate aria-label (#953) @oliviertassinari
Docs
- [docs] Add sorting page in datagrid docs (#931) @dtassone
- [docs] Api page update with component slots (#969) @dtassone
- [docs] Catch leaks ahread of time (#979) @oliviertassinari
- [docs] Fix immutability with filter operator demos (#975) @dtassone
- [docs] Improve docs of DataGrid about filter operators (#973) @SaskiaKeil
- [docs] Improve the docs for the filtering feature (#945) @dtassone
Core
- [core] Add 'Order id 💳' section in issues (#952) @oliviertassinari
- [core] Improve prop-types handling (#978) @oliviertassinari
- [core] Investigate bundle size (#954) @oliviertassinari
v4.0.0-alpha.18
Jan 26, 2021
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
-
🎁 Add support for Material-UI v5-alpha (#855) @DanailH.
The data grid supports Material-UI v4 and v5. We aim to retain the support for v4 as long as v5 hasn't reached the beta phase. If you using v5, use the documentation of the component for v4. -
💅 Update the customization API to be closer to Material-UI v5. (#890, #851, #879) @dtassone
The date grid accepts two props:components
andcomponentsProps
.
The first prop allows to swapping specific components used in slots the grid, like the checkboxes.
The second one allows providing extra props to each slot. It avoids the need for using the React context to access information from outside the data grid.See the RFC for more details.
-
🐛 Polish existing features, fix 3 issues.
@material-ui/[email protected] / @material-ui/[email protected]
Breaking changes
-
[DataGrid] Implement customization pattern of Material-UI v5 (#851, #879) @dtassone
- Capitalize the keys of the
components
prop. This change aims to bring consistency with the customization pattern of Material-UI v5:
<DataGrid components={{ - noRowsOverlay: CustomNoRowsOverlay, + NoRowOverlay: CustomNoRowsOverlay, }} />
- Move all the icon components overrides in the
components
prop. And added the suffix 'Icon' on each icon component. This change aims to bring consistency with the customization pattern of Material-UI v5:
<DataGrid - icons: {{ - ColumnSortedAscending: SortedAscending, - }}, + components={{ + ColumnSortedAscendingIcon: SortedAscending, + }} />
- Change the props provided to the component of the
components
prop. Expose the whole state instead of an arbitrary set of props:
-function CustomPagination(props: ComponentProps) { - const { pagination, api } = props; +function CustomPagination(props: BaseComponentProps) { + const { state, api } = props; return ( <Pagination - page={pagination.page} - count={pagination.pageCount} + page={state.pagination.page} + count={state.pagination.pageCount} // ... <DataGrid components={{ Pagination: CustomPagination }} />
- Capitalize the keys of the
Changes
- [DataGrid] Add customisation on panels (#890) @dtassone
- [DataGrid] Add support for Material-UI v5-alpha (#855) @DanailH
- [DataGrid] Fix footer count not shown on small screen (#899) @mnajdova
- [DataGrid] Fix column selector crash when hiding columns (#875) @DanailH
- [DataGrid] Fix Shift + Space keyboard regression to select row (#897) @dtassone
Docs
- [docs] Fix imports for x-grid-data-generator (#887) @DanailH
- [docs] Skip download of playwright for docs @oliviertassinari
- [CHANGELOG] Polish @oliviertassinari
Core
- [core] Automation for duplicate issues (#878) @oliviertassinari
- [core] Replace commander with yargs (#872) @dependabot-preview
- [core] Update monorepo (#884) @oliviertassinari
v4.0.0-alpha.17
Jan 14, 2021
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
-
🎛 Add support for Column selector (#837) @DanailH @dtassone.
The feature can be triggered from the toolbar or the column menu. Check the documentation. -
🐛 A focus on fixing regressions from previous releases refactoring and bugs.
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Fix
onPageChange
firing too often (#838) @dtassone - [DataGrid] Fix behavior of the
hideFooter
prop (#846) @dtassone - [DataGrid] Fix the display logic for "error messages" (#843) @dtassone
- [DataGrid] Fix wrong initial sort order (#841) @dtassone
- [DataGrid] Remove tslib dependency from packages (#832) @oliviertassinari
Docs
- [docs] Add docs for data grid column selector (#837) @DanailH
- [docs] Clarify feature split between pro and premium (#779) @oliviertassinari
Core
v4.0.0-alpha.15
Jan 7, 2021
Big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
- 🔗 Update peer dependencies for React 17 (#814) @DanailH
- 🐛 Fix keyboard event collisions inside DataGrid cells (#794) @DanailH
@material-ui/[email protected] / @material-ui/[email protected]
Docs
Core
- [core] Update peer dependencies for React 17 (#814) @DanailH
- [core] Batch small changes (#800) @oliviertassinari
- [CHANGELOG] Use the format of the main repository @oliviertassinari
v4.0.0-alpha.14
Dec 31, 2020
Big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
-
🌎 Add support for internationalization (#718) @DanailH
You can use the
localeText
prop to provide custom wordings in the data grid.
Check the documentation for a demo. -
📚 Start documenting the filtering feature 🧪 (#754) @dtassone
The work in progress filtering feature and documentation can be found following this link. Early feedback are welcome.
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Convert remaining text to use locale text API (#791) @DanailH
- [DataGrid] Fix column width calculation after data changes (#756) @DanailH
- [DataGrid] Setup internationalization (#718) @DanailH
- [DataGrid] getValueError in valueGetter if incorrect field is supplied (#755) @ZeeshanTamboli
- [XGrid] Fix support for custom class name generators (#793) @DanailH
Docs
- [docs] Polish docs (#778) @oliviertassinari
- [docs] Start documentation for the data grid filter features (#754) @dtassone
- [docs] Sync with docs to fix images (#776) @oliviertassinari
Core
- [test] We don't need to wait 100ms (#773) @oliviertassinari
- [core] Remove useless clone (#757) @oliviertassinari
v4.0.0-alpha.13
Big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
- 🐛 Fix bugs from recently released features.
- 🧪 Continue the iteration on the data grid filtering feature, soon to be released @dtassone.
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Fix density prop when toolbar is hidden (#717) @DanailH
- [DataGrid] Fix row cells leaking CSS 'text-align' from parent (#728) @ZeeshanTamboli
- [DataGrid] Add 'nonce' prop to allow inline style if user has CSP (#724) @ZeeshanTamboli
Docs
- [docs] Add missing props to DataGrid and XGrid api pages (#721) @DanailH
- [docs] Fix wrong link anchor @oliviertassinari
- [docs] Proxy production version @oliviertassinari
Core
- [security] Bump ini from 1.3.5 to 1.3.7 (#719) @dependabot-preview
- [core] Update monorepository (#725) @oliviertassinari
- [test] Polish refactor (#723) @oliviertassinari
- [test] Split data grid tests in multiple files (#722) @dtassone
- [test] Add tests for DataGrid filtering feature (#715) @dtassone
v4.0.0-alpha.12
Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
- 🔍 Add a new data grid density selector feature (#606) @DanailH.
- 💄 A first iteration on the data grid's toolbar.
- 🧪 Continue the iteration on the data grid filtering feature, soon to be released @dtassone.
@material-ui/[email protected] / @material-ui/[email protected]
Changes
- [DataGrid] Add Density selector (#606) @DanailH
- [DataGrid] Fix swallowing of keyboard events (#673) @DanailH
- [DataGrid] Fix collision with react-virtualized on detectElementResize (#678) @tifosiblack
- [DataGrid] Fix component name, rm context, refact gridComponent (#707) @dtassone
- [DataGrid] Fix infinite loop with multiple grid, and fix performance (#679) @dtassone
- [DataGrid] Fix keyboard navigation in column picker (#674) @oliviertassinari
- [DataGrid] Fix server-side sorting (#704) @akandels
- [DataGrid] Improve the DX of popups (#686) @oliviertassinari
- [DataGrid] Refactor cols (#682) @dtassone
- [DataGrid] Rename hideToolbar prop to showToolbar (#706) @DanailH
- [DataGrid] Prepare server filters (#649) @dtassone
- [DataGrid] Fix display of selected rows in footer (#676) @oliviertassinari
Docs
- [docs] Enable codesandbox preview in PRs (#613) @oliviertassinari
Core
- [core] Batch small changes (#683) @oliviertassinari
- [test] Add regression test (#705) @oliviertassinari
- [test] Allow running all the tests in strict mode (#684) @oliviertassinari
v4.0.0-alpha.11
Big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
- 🐛 Fix bugs from recently released features.
- 🧪 Iterate on the upcoming filtering feature under an undocumented prop.
@material-ui/[email protected] / @material-ui/[email protected]
Breaking changes
-
[XGrid] Rows refactoring, flatten RowModel, remove RowData (#668) @dtassone
These changes simplify the API and avoid confusion between
RowData
andRowModel
.
Now we only have RowModel which is a flat object containing an id and the row data. It is the same object as the items of therows
prop array.The API to change update the rows using apiRef has changed:
-apiRef.current.updateRowDate() +apiRef.current.updateRows()
-apiRef.current.setRowModels() +apiRef.current.setRows()
apiRef.current.updateRowModels
has been removed, please useapiRef.current.updateRows
.
Changes
- [DataGrid] Fix server-side pagination (#639) @dtassone
- [DataGrid] Fix flex columns not taking into account "checkboxSelection" prop @DanailH
- [DataGrid] First iteration on filtering, basic support (#411) @dtassone
- [DataGrid] Improve filters (#635) @dtassone
- [DataGrid] Fix filters on rendering new rows (#642) @dtassone
- [DataGrid] Fix filters flex-shrink (#664) @oliviertassinari
Docs
- [docs] Data Grid depends on side effects (#666) @oliviertassinari
- [docs] Clarify the purpose of x-grid-data-generator (#634) @Elius94
- [docs] Data Grid is in the lab (#612) @oliviertassinari
- [docs] Fix Demo app, downgrade webpack-cli, known issue in latest version (#647) @dtassone
- [docs] Fix typo in columns.md @stojy
- [docs] Reduce confusion on /export page (#646) @SerdarMustafa1
Core
- [core] Introduce a feature toggle (#637) @oliviertassinari
- [core] Remove gitHead (#669) @oliviertassinari
- [core] Remove react-select (#658) @dependabot-preview
- [core] Replace Storybook knobs for args (#601) @tooppaaa
- [core] Update to Material-UI v4.11.1 (#636) @oliviertassinari
v4.0.0-alpha.10 (Nov 20, 2020)
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Add fluid columns width support (#566) @DanailH
- [DataGrid] Default toolbar setup (#574) @DanailH
- [DataGrid] Fix autoHeight computation for custom headers and footers (#597) @DanailH
- [DataGrid] Fix type definitions (#596) @tooppaaa
- [DataGrid] Reset sortedRows state on prop change (#599) @dtassone
Docs
- [docs] Update feature comparison table for Column reorder @DanailH
Core
- [core] Prepare work for a future public state api (#533) @dtassone
- [core] Fix yarn prettier write @oliviertassinari
- [test] Share karma setup (#576) @oliviertassinari
v4.0.0-alpha.9 (Nov 9, 2020)
@material-ui/[email protected] / @material-ui/[email protected]
- [DataGrid] Fix keyboard with multiple grids (#562) @dtassone
- [DataGrid] Add touch support on column resize (#537) @DanailH
- [DataGrid] Refactor containerSizes in smaller state (#544) @dtassone
- [DataGrid] Fix display of row count and selected rows on mobile (#508) @oliviertassinari
- [DataGrid] Apply review from #412 (#515) @oliviertassinari
- [DataGrid] Avoid paint step (#531) @oliviertassinari
- [DataGrid] Refactor rendering, remove rafUpdate (#532) @dtassone
- [DataGrid] Add missing reselect dependency (#534) @dtassone
- [DataGrid] Raf Timer stored in apiRef (#506) @dtassone
- [DataGrid] Fix webpack v5 support (#449) @oliviertassinari
- [DataGrid] Rework columnReorder to work with the new state management (#505) @DanailH
- [DataGrid] Fix performance issues (#501) @dtassone
- [DataGrid] Refactor columns scrolling (#500) @dtassone
- [DataGrid] Replace require with import (#455) @oliviertassinari
- [DataGrid] Restore regression test (#503) @oliviertassinari
- [DataGrid] Refactor state (#412) @dtassone
Docs
- [docs] Fix links to GitHub (#538) @oliviertassinari
- [docs] Add more information to readme (#539) @An-prog-hub
- [docs] Fix the Netlify proxy for localization of X (#536) @oliviertassinari
- [docs] Add deploy script command @oliviertassinari
Core
- [core] Batch small changes (#546) @oliviertassinari
- [core] Improve types (#448) @olivertassinari
- [core] Run prettier (#482) @oliviertassinari
- [core] Disable generation of changelogs @oliviertassinari
- [test] Karma should fail if errors are thrown (#543) @oliviertassinari