Releases: mui/mui-x
v7.8.0
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 theunstable_dataSource
prop on the Data Grid component.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, }; }, } <DataGridPro unstable_dataSource={dataSource} {...otherProps} />
See server-side data documentation 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/[email protected]
- [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/[email protected]
Same changes as in @mui/[email protected]
, plus:
- [DataGridPro] Fix multi-sorting indicator being cut off (#13625) @KenanYusuf
- [DataGridPro] Server-side tree data support (#12317) @MBilalShafi
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Date and Time Pickers
@mui/[email protected]
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Charts
@mui/[email protected]
- [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/[email protected]
- [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
v6.20.3
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
Data Grid
@mui/[email protected]
- [DataGrid] Make
rowCount
part of the state (#12406) @MBilalShafi
@mui/[email protected]
Same changes as in @mui/[email protected]
.
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Core
v7.7.1
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Improve Portuguese (pt-PT) locale on the Data Grid
- 🌍 Improve Danish (da-DK) locale on the Date and Time Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Fix CSV export escaping for non-string values (#13560) @joeycumines-scw
- [l10n] Improve Portuguese (pt-PT) locale (#13348) @joaosreis
@mui/[email protected]
Same changes as in @mui/[email protected]
, plus:
- [DataGrid] Warn about
getTreeDataPath
reference (#13519) @cherniavskii
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Date and Time Pickers
@mui/[email protected]
- [fields] Prevent digit editing on the
Space
key down (#13510) @flaviendelangle - [l10n] Improve Danish (da-DK) locale (#13375) @jacrowland1
- [pickers] Add context to
onAccept
callback (#13511) @flaviendelangle - [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
@mui/[email protected]
Same changes as in @mui/[email protected]
, plus:
Charts
@mui/[email protected]
- [charts] Divide
CartesianProvider
to use logic in Pro package (#13531) @JCQuintas - [charts] Do not publish the pro package (#13539) @alexfauquette
- [charts] Export
Pro
versions of regular charts (#13547) @JCQuintas - [charts] Prepare
ChartContainerPro
for future Zoom changes (#13532) @JCQuintas - [charts] Remove unnecessary proptypes from internal component (#13518) @JCQuintas
Tree View
@mui/[email protected]
- [TreeView] Improve typing to support optional dependencies in plugins and in the item (#13523) @flaviendelangle
- [TreeView] Move
useTreeViewId
to the core plugins (#13566) @flaviendelangle - [TreeView] Remove unused state from
useTreeViewId
(#13579) @flaviendelangle - [TreeView] Support
itemId
with escaping characters when usingSimpleTreeView
(#13487) @oukunan
Docs
- [docs] Add section about the new uncovered product watermark (#13568) @michelengelen
- [docs] Clarify enabling Data Grid pagination (#13350) @oliviertassinari
- [docs] Document the
PickerValidDate
type override (#13476) @flaviendelangle - [docs] Fix typo (#13507) @anshtiwatne
- [docs] Remove "-" in heat-map and tree-map urls (#13569) @alexfauquette
- [docs] Use dedicated tab for weather dataset (#13513) @alexfauquette
Core
- [core] Fix failing CI test (#13574) @alexfauquette
- [infra] Remove explicit
@testing-library/react
dependency (#13478) @LukasTy - [license] license update proposal (#13459) @michelengelen
v6.20.2
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
Date Pickers
@mui/[email protected]
- [fields] Do not apply digit editing when pressing
Space
(#13516) @flaviendelangle - [pickers] Fix controlled
view
behavior (#13559) @LukasTy
v6.20.1
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
Data Grid
@mui/[email protected]
- [DataGridPremium] Fix clipboard paste not working when cell loses focus (#12737) @cherniavskii
Date Pickers
@mui/[email protected]
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Docs
Core
- [core] Stop publishing v6 under latest tag (#13269) @cherniavskii
v7.7.0
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Allow customization of the Pickers month and the year buttons
- 🌍 Improve Persian (fa-IR), Portuguese (pt-PT), and Russian (ru-RU) locales on the Data Grid
- 🌍 Improve Korean (ko-KR) and Persian (fa-IR) locales on the Date and Time Pickers
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Add
getFilterState
method (#13418) @cherniavskii - [DataGrid] Do not show resize separators for column groups (#13455) @cherniavskii
- [l10n] Improve Persian (fa-IR) locale (#13402) @fakhamatia
- [l10n] Improve Portuguese (pt-PT) locale (#13384) @olavocarvalho
- [l10n] Improve Russian (ru-RU) locale (#11210) @dastan-akhmetov-scity
@mui/[email protected]
Same changes as in @mui/[email protected]
, plus:
- [DataGridPro] Do not render detail panel if the focused cell is not visible (#13456) @cherniavskii
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Date and Time Pickers
@mui/[email protected]
- [l10n] Improve Korean (ko-KR) locale (#13452) @ryxxn
- [l10n] Improve Persian (fa-IR) locale (#13402) @fakhamatia
- [pickers] Allow to customize the month and the year buttons (#13321) @flaviendelangle
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Charts
@mui/[email protected]
- [charts] Add watermark on the pro
ResponsiveChartContainer
(#13398) @alexfauquette - [charts] Allow to specify y-axis configuration (#13438) @alexfauquette
- [charts] Fix eslint for react compiler (#13444) @alexfauquette
- [charts] Improve themeAugmentation typing (#13433) @noraleonte
- [charts] Move the
ZAxisContextProvider
by default in theChartContainer
(#13465) @alexfauquette - [charts] Use plugins to define series extremum and colors (#13397) @alexfauquette
Tree View
@mui/[email protected]
- [TreeView] Improve TypeScript for plugins (#13380) @flaviendelangle
- [TreeView] Improve the typing of the cancelable events (#13152) @flaviendelangle
- [TreeView] Prepare support for PigmentCSS (#13412) @flaviendelangle
- [TreeView] Refactor the tree view internals to prepare for headless API (#13311) @flaviendelangle
Docs
- [docs] Add
renderHeader
recipe to the Master Details docs (#13370) @michelengelen - [docs] Add lazy loading detail panel demo (#13453) @cherniavskii
- [docs] Add small edits to the Data Grid overview page (#13060) @danilo-leal
- [docs] Update a11y pages description (#13417) @danilo-leal
- [docs] improve the writing on the "Quick filter outside of the grid" example (#13155) @michelengelen
Core
- [core] Add
eslint-plugin-react-compiler
experimental version and rules (#13415) @JCQuintas - [core] Minor setup cleanup (#13467) @LukasTy
- [infra] Adjust CI setup (#13448) @LukasTy
- [test] Add tests for the custom slots of
TreeItem2
(#13314) @flaviendelangle
v7.6.2
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
- 📚 Adds Date and Time Pickers accessibility page
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Add the
areElementSizesEqual
utility to improve code readability (#13254) @layerok - [DataGrid] Clean up IE remnants from the codebase (#13390) @MBilalShafi
@mui/[email protected]
Same changes as in @mui/[email protected]
.
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Date and Time Pickers
@mui/[email protected]
- [fields] Fix
PageUp
andPageDown
editing on letter sections (#13310) @arthurbalduini - [pickers] Fix
AdapterDayjs
timezone behavior (#13362) @LukasTy - [pickers] Use
useRtl
instead ofuseTheme
to access direction (#13363) @flaviendelangle
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Charts
@mui/[email protected]
- [charts] Add
Initializable
type and behaviour to allow checking if a complex context has been initialized. (#13365) @JCQuintas - [charts] Fix some props not working in
xAxis
andyAxis
(#13372) @Valyok26 - [charts] Harmonize charts types (#13366) @alexfauquette
- [charts] Introduce plugins system (#13367) @alexfauquette
- [charts] Simplify plugin types (#13396) @JCQuintas
Docs
- [docs] Add badges like in Material UI @oliviertassinari
- [docs] Update twitter.com to x.com @oliviertassinari
- [docs] Fix the description of
tickInterval
(#13355) @alexfauquette - [docs] Adjust the code example for
quickFilterValues
(#12919) @michelengelen - [docs] Create Pickers accessibility page (#13274) @arthurbalduini
Core
- [core] Comment on
CSS.escape
for the future @oliviertassinari - [core] Fix
l10n
action setup (#13382) @LukasTy - [core] Fixes in preparation for React 18.3 (#13378) @LukasTy
- [core] Remove explicit
marked
dependency (#13383) @LukasTy - [core] Remove unused
@types/prettier
dependency (#13389) @LukasTy - [core] Add
docs/.env.local
to.gitignore
(#13377) @KenanYusuf
v7.6.1
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
🐞 Address the @mui/internal-test-utils
added as a direct dependency to @mui/x-data-grid
by mistake.
Data Grid
@mui/[email protected]
- [DataGrid] Fix column resize not working with special character (#13069) @oukunan
- [DataGrid] Move
@mui/internal-test-utils
to dev dependency (#13318) @LukasTy
@mui/[email protected]
Same changes as in @mui/[email protected]
.
@mui/[email protected]
Same changes as in @mui/[email protected]
.
v7.6.0
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
- 🎁 Allow to define and customize the indentation of nested items in the Tree View
- ✨ Allow charts highlights to be controlled
- 🌍 Improve Persian (fa-IR) locale on the Data Grid
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Avoid re-rendering all cells on column change (#12980) @romgrk
- [DataGrid] Export
GridColumnHeadersProps
(#13229) @cherniavskii - [DataGrid] Fix header filters' issue with custom filters (#13255) @MBilalShafi
- [DataGrid] Remove dead logic to support Safari < 13 (#13249) @oliviertassinari
- [l10n] Improve Persian (fa-IR) locale (#12994) @amiryxe
@mui/[email protected]
Same changes as in @mui/[email protected]
.
@mui/[email protected]
Same changes as in @mui/[email protected]
, plus:
Date and Time Pickers
@mui/[email protected]
- [pickers] Fix
DateBuilderReturnType
when the date isundefined
(#13244) @alexey-kozlenkov
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Charts
@mui/[email protected]
- [charts] Allow charts highlights to be controlled (#12828) @JCQuintas
- [charts] Refactor axis band scaleType check (#13295) @JCQuintas
- [charts] Refactor checkScaleErrors to improve readability and simplify axis message logic (#13305) @JCQuintas
Tree View
@mui/[email protected]
- [TreeView] Add JSDoc to every instance method (#13219) @flaviendelangle
- [TreeView] Allow to customize the indentation of nested items (#13225) @flaviendelangle
- [TreeView] Allow to define indentation at the item level (#13126) @flaviendelangle
Docs
- [docs] Add Bulk editing demo for the Community plan (#12800) @cherniavskii
- [docs] Add conditional label formatting on tooltip page and link to label page (#13235) @JCQuintas
- [docs] Add information about key combinations on a11y sections (#13234) @arthurbalduini
- [docs] Cleanup of the Tree View demos (#13237) @flaviendelangle
- [docs] Document how to customize a subsection of a line chart (#13210) @alexfauquette
- [docs] Fix Pickers FAQ callout (#13238) @LukasTy
- [docs] Fix Vale errors @oliviertassinari
- [docs] Fix a small typo in property comment (#13245) @Janpot
- [docs] Improve the Data Grid FAQ page (#13258) @MBilalShafi
- [docs] Removes unused lines in TreeItem2 styling (#13264) @arthurbalduini
- [docs] Small improvements on accessibility data grid doc (#13233) @arthurbalduini
- [docs] Update Pickers demo configurations (#13303) @LukasTy
Core
- [core] Add comment on why logic to sync column header (#13248) @oliviertassinari
- [core] Fix
l10n
script execution with arguments (#13297) @LukasTy - [core] Prevent "Add reviewers" workflow from triggering since it doesn't work (#13236) @JCQuintas
- [docs-infra] Fix
@mui/material
version used in sandboxes (#13260) @LukasTy - [test] Use
describeTreeView
for keyboard navigation tests on disabled items (#13184) @flaviendelangle - [test] Use
describeTreeView
for remaining items tests (#13262) @flaviendelangle - [test] Use test-utils from npm (#12880) @michaldudak
- [typescript] Remove duplicate
DateRangePosition
type in favor ofRangePosition
(#13288) @LukasTy
v6.20.0
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
Data Grid
@mui/[email protected]
- [DataGrid] Escape formulas in CSV and Excel export (#13190) @cherniavskii
@mui/[email protected]
Same changes as in @mui/[email protected]
.
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Date Pickers
@mui/[email protected]
@mui/[email protected]
Same changes as in @mui/[email protected]
.