|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +> For full v7 changelog, please refer to the [v.7x branch](https://github.com/mui/mui-x/blob/v7.x/CHANGELOG.md). |
| 4 | +
|
3 | 5 | All notable changes to this project will be documented in this file.
|
4 | 6 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 | 7 |
|
| 8 | +## 8.0.0-alpha.0 |
| 9 | + |
| 10 | +<img width="100%" alt="MUI X v8 Alpha is live" src="https://github.com/user-attachments/assets/114cf615-b617-435f-8499-76ac3c26c57b"> |
| 11 | + |
| 12 | +_Nov 14, 2024_ |
| 13 | + |
| 14 | +We'd like to offer a big thanks to the 22 contributors who made this release possible. Here are some highlights ✨: |
| 15 | + |
| 16 | +- 🔁 Support [automatic parents and children selection](https://next.mui.com/x/react-tree-view/rich-tree-view/selection/#automatic-parents-and-children-selection) for the Rich Tree View components. |
| 17 | +- 🌍 Improve Greek (el-GR) locale on the Date and Time Pickers components |
| 18 | +- 🌍 Improve Polish (pl-PL) locale on the Data Grid component |
| 19 | +- 🐞 Bugfixes |
| 20 | +- 📚 Documentation improvements |
| 21 | + |
| 22 | + Special thanks go out to the community contributors who have helped make this release possible: |
| 23 | + @belkocik, @GeorgiosDrivas, @k-rajat19, @kalyan90, @DungTiger, @fxnoob, @GuillaumeMeheut |
| 24 | + Following are all team members who have contributed to this release: |
| 25 | + @alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @samuelsycamore, @joserodolfofreitas. |
| 26 | + |
| 27 | +<!--/ HIGHLIGHT_ABOVE_SEPARATOR /--> |
| 28 | + |
| 29 | +### Data Grid |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +- [DataGrid] Fix grid overlay aligment with scroll for rtl (#15072) @kalyan90 |
| 34 | +- [DataGrid] Fix resizing right pinned column (#15107) @KenanYusuf |
| 35 | +- [DataGrid] Pass the reason to the `onPaginationModelChange` callback (#13959) @DungTiger |
| 36 | +- [DataGrid] Set default overlay height in flex parent layout (#15202) @cherniavskii |
| 37 | +- [DataGrid] Refactor `baseMenuList` and `baseMenuItem` (#15049) @romgrk |
| 38 | +- [DataGrid] Remove more material imports (#15063) @romgrk |
| 39 | +- [l10n] Improve Polish (pl-PL) locale (#15227) @belkocik |
| 40 | + |
| 41 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 42 | + |
| 43 | +Same changes as in `@mui/[email protected]`, plus: |
| 44 | + |
| 45 | +- [DataGridPro] Fix column pinning layout (#14966) @cherniavskii |
| 46 | + |
| 47 | +#### `@mui/[email protected]` [](https://mui.com/r/x-premium-svg-link 'Premium plan') |
| 48 | + |
| 49 | +Same changes as in `@mui/[email protected]`, plus: |
| 50 | + |
| 51 | +- [DataGridPremium] Server-side data source with row grouping (#13826) @MBilalShafi |
| 52 | + |
| 53 | +### Date and Time Pickers |
| 54 | + |
| 55 | +#### Breaking changes |
| 56 | + |
| 57 | +- The default DOM structure of the field has changed [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field). |
| 58 | + |
| 59 | + - Before version `v8.x`, the fields' DOM structure consisted of an `<input />`, which held the whole value for the component, but unfortunately presents a few limitations in terms of accessibility when managing multiple section values. |
| 60 | + - Starting with version `v8.x`, all the field and picker components come with a new DOM structure that allows the field component to set aria attributes on individual sections, providing a far better experience with screen readers. |
| 61 | + |
| 62 | +- Some translation keys no longer require `utils` and the date object as parameters, but only the formatted value as a string. The keys affected by this changes are: `clockLabelText`, `openDatePickerDialogue` and `openTimePickerDialogue` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-passing-utils-and-the-date-object-to-some-translation-keys). |
| 63 | + |
| 64 | +- The following types are no longer exported by `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#removed-types). |
| 65 | + |
| 66 | + - `UseDateFieldComponentProps` |
| 67 | + - `UseTimeFieldComponentProps` |
| 68 | + - `UseDateTimeFieldComponentProps` |
| 69 | + - `BaseSingleInputFieldProps` |
| 70 | + - `BaseMultiInputFieldProps` |
| 71 | + - `BasePickersTextFieldProps` |
| 72 | + |
| 73 | +- The `TDate` generic has been removed from all the types, interfaces, and variables of the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#remove-tdate-generic). |
| 74 | + |
| 75 | +- Renamed `usePickersTranslations` and `usePickersContext` hooks to have a coherent `Picker` prefix instead of `Pickers` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables). |
| 76 | + |
| 77 | +- The `LicenseInfo` object is no longer exported from the `@mui/x-date-pickers-pro` package — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-using-licenseinfo-from-mui-x-date-pickers-pro). |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | +- [fields] Enable the new field DOM structure by default (#14651) @flaviendelangle |
| 82 | +- [fields] Remove `UseDateFieldComponentProps` and equivalent interfaces (#15053) @flaviendelangle |
| 83 | +- [fields] Remove clear button from the tab sequence (#14616) @k-rajat19 |
| 84 | +- [l10n] Improve Greek (el-GR) locale (#15250) @GeorgiosDrivas |
| 85 | +- [pickers] Clean definition of validation props (#15198) @flaviendelangle |
| 86 | +- [pickers] Clean the new `ownerState` object (#15056) @flaviendelangle |
| 87 | +- [pickers] Correctly type the `ownerState` of the `field` and `actionBar` slots when resolved in a picker component (#15162) @flaviendelangle |
| 88 | +- [pickers] Fix `DateCalendar` timezone management (#12321) @LukasTy |
| 89 | +- [pickers] Fix `DateTimeRangePicker` error when using format without time (#14917) @fxnoob |
| 90 | +- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#10793) @LukasTy |
| 91 | +- [pickers] Remove `TDate` generics in favor of `PickerValidDate` direct usage (#15001) @flaviendelangle |
| 92 | +- [pickers] Remove `utils` and `value` params from translations (#14986) @arthurbalduini |
| 93 | +- [pickers] Remove plural in "Pickers" on recently introduced APIs (#15297) @flaviendelangle |
| 94 | +- [pickers] Remove the re-export from `@mui/x-license` (#14487) @k-rajat19 |
| 95 | +- [pickers] Strictly type the props a picker passes to its field, and migrate all the custom field demos accordingly (#15197) @flaviendelangle |
| 96 | +- [pickers] Unify JSDoc for all the `disabled` and `readOnly` props (#15304) @flaviendelangle |
| 97 | +- [pickers] Use the new `ownerState` in `DateCalendar`, `DateRangeCalendar`, `MonthCalendar` and `YearCalendar` (#15171) @flaviendelangle |
| 98 | +- [pickers] Use the new `ownerState` in `usePickersLayout` and `useXXXPicker` (#14994) @flaviendelangle |
| 99 | + |
| 100 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 101 | + |
| 102 | +Same changes as in `@mui/[email protected]`. |
| 103 | + |
| 104 | +### Charts |
| 105 | + |
| 106 | +#### Breaking changes |
| 107 | + |
| 108 | +- The `legend` prop got removed. To pass props to the legend, use `slotProps={{ legend: { ... } }}` instead. This can be automatically done with the codemod as long as the `legend` prop does not come from a destructured object — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#legend-props-propagation-✅). |
| 109 | + |
| 110 | +- The `slots.legend` does not receive the `drawingArea` prop. You can still access your custom legend with the `useDrawingArea()` hook if your custom legend needs it. |
| 111 | + |
| 112 | +- Removed or renamed multiple props from Series — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#series-properties-renaming). |
| 113 | + |
| 114 | + - The `highlighted` and `faded` properties of highlightScope were deprecated in favor of `highlight` and `fade`. |
| 115 | + The deprecated ones are now removed. |
| 116 | + - The `xAxisKey`, `yAxisKey`, and `zAxisKey` properties got deprecated in favor of `xAxisId`, `yAxisId`, and `zAxisId`. |
| 117 | + |
| 118 | +- The Pie Chart lost all props and renderer linked to axes because pie chart does not need cartesian axes. If you used it, you can still add them back with composition. Please consider opening an issue to share your use case with us — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#remove-pie-chart-axes). |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +- [charts] Introduce `hideLegend` prop (#15277) @alexfauquette |
| 123 | +- [charts] Filter items outside the drawing area for performance (#14281) @alexfauquette |
| 124 | +- [charts] Fix log scale with `null` data (#15337) @alexfauquette |
| 125 | +- [charts] Fix tooltip follow mouse (#15189) @alexfauquette |
| 126 | +- [charts] Remove `xAxisKey`, `yAxisKey`, and `zAxisKey` series keys (#15192) @alexfauquette |
| 127 | +- [charts] Remove axis from the pie chart (#15187) @alexfauquette |
| 128 | +- [charts] Remove deprecated `legend` props (#15081) @alexfauquette |
| 129 | +- [charts] Remove deprecated highlight properties (#15191) @alexfauquette |
| 130 | +- [charts] Update Popper position outside of React (#15003) @alexfauquette |
| 131 | +- [charts] Improve the performance of the `getSymbol` method (#15233) @romgrk |
| 132 | + |
| 133 | +#### `@mui/[email protected]` [](https://mui.com/r/x-pro-svg-link 'Pro plan') |
| 134 | + |
| 135 | +Same changes as in `@mui/[email protected]`. |
| 136 | + |
| 137 | +### Tree View |
| 138 | + |
| 139 | +#### Breaking changes |
| 140 | + |
| 141 | +- The `ContentComponent` or `ContentProps` props of the `<TreeItem />` component have been removed in favor of the new `slots`, `slotProps` props and of the `useTreeItem` hook — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#new-api-to-customize-the-tree-item). |
| 142 | + |
| 143 | +- The `onClick` and `onMouseDown` callbacks of the Tree Item component are now passed to the root element instead of the content — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#behavior-change-on-the-onclick-and-onmousedown-props-of-treeitem). |
| 144 | + |
| 145 | +- Rename the `<TreeItem2 />` component (and related utils) — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-rename-the-treeitem2-and-related-utils). |
| 146 | + |
| 147 | +- The `<TreeView />` component has been renamed `<SimpleTreeView />` which has exactly the same API — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-use-simple-tree-view-instead-of-tree-view). |
| 148 | + |
| 149 | +- The indentation of nested Tree Items is now applied on the content of the element — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#apply-the-indentation-on-the-item-content-instead-of-its-parents-group). |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | +- [TreeView] Always apply the indentation on the item content instead of its parent's group (#15089) @flaviendelangle |
| 154 | +- [TreeView] Automatic parents and children selection (#14899) @flaviendelangle |
| 155 | +- [TreeView] Remove deprecated `TreeView` component (#15093) @flaviendelangle |
| 156 | +- [TreeView] Replace `<TreeItem />` with `<TreeItem2 />` and migrate all the components and utils (#14913) @flaviendelangle |
| 157 | + |
| 158 | +### Docs |
| 159 | + |
| 160 | +- [docs] Add docs for rounded symbol (#15324) @GuillaumeMeheut |
| 161 | +- [docs] Add migration guide for the removal of `LicenseInfo` from `@mui/x-date-pickers-pro` (#15321) @flaviendelangle |
| 162 | +- [docs] Add migration guide for the first breaking changes of charts (#15276) @alexfauquette |
| 163 | +- [docs] Add `PickersPopper` component to the Date Picker customization playground (#15305) @LukasTy |
| 164 | +- [docs] Add v8 to supported releases table (#15384) @joserodolfofreitas |
| 165 | +- [docs] Apply the new DX to the Button Field demos (#14860) @flaviendelangle |
| 166 | +- [docs] Apply the new DX to the `Autocomplete` Field demo (#15165) @flaviendelangle |
| 167 | +- [docs] Cleanup the pickers migration guide (#15310) @flaviendelangle |
| 168 | +- [docs] Copyedit the Charts Getting Started sequence (#14962) @samuelsycamore |
| 169 | +- [docs] Create Pickers masked field recipe (#13515) @flaviendelangle |
| 170 | +- [docs] Fix `applyDomain` docs for the charts (#15332) @JCQuintas |
| 171 | +- [docs] Fix link to private notion page (#15396) @michelengelen |
| 172 | +- [docs] Fix missing punctuation on descriptions (#15229) @oliviertassinari |
| 173 | +- [docs] Fix peer dependency range (#15281) @oliviertassinari |
| 174 | +- [docs] Fix small Tree View typo (#15390) @oliviertassinari |
| 175 | +- [docs] Fix the `AdapterMomentHijri` doc section (#15312) @flaviendelangle |
| 176 | +- [docs] Replace the Tree Item anatomy images (#15066) @noraleonte |
| 177 | +- [docs] Start v8 migration guides (#15096) @MBilalShafi |
| 178 | +- [docs] Subdivide and reorganize navigation bar (#15014) @samuelsycamore |
| 179 | +- [docs] Use `PickersTextField` in the customization playground (#15288) @LukasTy |
| 180 | +- [docs] Use `next` instead of `^8.0.0` in the migration guides (#15091) @flaviendelangle |
| 181 | + |
| 182 | +### Core |
| 183 | + |
| 184 | +- [core] Adjust the `cherry-pick` GitHub actions (#15099) @LukasTy |
| 185 | +- [core] Add `()` at the name of function name in the doc (#15075) @oliviertassinari |
| 186 | +- [core] Clarify release version bump strategy (#15219) @cherniavskii |
| 187 | +- [core] Fix CodeSandbox and StackBlitz for next doc-infra sync @oliviertassinari |
| 188 | +- [core] Fix Vale error on `master` @oliviertassinari |
| 189 | +- [core] Fix changelog reference to VoiceOver @oliviertassinari |
| 190 | +- [core] Fix `tools-public.mui.com` redirection @oliviertassinari |
| 191 | +- [core] Fix webpack capitalization (#15353) @oliviertassinari |
| 192 | +- [core] Move `helpers` to `@mui/x-internals` package (#15188) @LukasTy |
| 193 | +- [code-infra] Set renovate to automerge devDependencies (#13463) @JCQuintas |
| 194 | +- [infra] Reintroduce the cherry pick workflow (#15293) @michelengelen |
| 195 | +- [core] Remove duplicate title header (#15389) @oliviertassinari |
| 196 | +- [release] v8 preparation (#15054) @michelengelen |
| 197 | +- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf |
| 198 | + |
6 | 199 | ## 7.21.0
|
7 | 200 |
|
8 | 201 | _Oct 17, 2024_
|
|
0 commit comments