|
1 | 1 | # [Versions](https://mui.com/versions/)
|
2 | 2 |
|
| 3 | +## 6.0.0-rc.0 |
| 4 | + |
| 5 | +<!-- generated comparing v6.0.0-beta.6..next --> |
| 6 | + |
| 7 | +_Aug 22, 2024_ |
| 8 | + |
| 9 | +A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨: |
| 10 | + |
| 11 | +- ⚡ Rendering performance improvements |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +#### Breaking changes |
| 16 | + |
| 17 | +- [Box] Remove `component` from `BoxOwnProps` (#43384) @DiegoAndai |
| 18 | + |
| 19 | + The `component` prop has been removed from the `BoxOwnProps` as it is already included in the `Box` type. |
| 20 | + This might affect your code if you are using the `styled` function with the `Box` component. |
| 21 | + If this is the case, use a `div` element instead of `Box`: |
| 22 | + |
| 23 | + ```diff |
| 24 | + -const StyledBox = styled(Box)` |
| 25 | + +const StyledDiv = styled('div')` |
| 26 | + color: white; |
| 27 | + `; |
| 28 | + ``` |
| 29 | + |
| 30 | + This yields the same end result. |
| 31 | + If this doesn't work for you, you can also cast the `styled` returned value to `typeof Box`: |
| 32 | + |
| 33 | + ```diff |
| 34 | + const StyledBox = styled(Box)` |
| 35 | + color: white; |
| 36 | + -`; |
| 37 | + +` as typeof Box; |
| 38 | + ``` |
| 39 | + |
| 40 | +#### Changes |
| 41 | + |
| 42 | +- [ListItem] Remove unnecessary TypeScript test (#43359) @sai6855 |
| 43 | +- Skip generating CSS variables for a custom spacing function (#43389) @siriwatknp |
| 44 | +- Revert visual regressions from #42283 (#43364) @ZeeshanTamboli |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +- Add Grid2 to removeSystemProps codemod (#43302) @DiegoAndai |
| 49 | + |
| 50 | +### Docs |
| 51 | + |
| 52 | +- [blog] Add video to the Pigment CSS blog post (#42500) @oliviertassinari |
| 53 | +- Fix broken link to milestones (#43379) @oliviertassinari |
| 54 | +- Update CSS theme variables related content (#43130) @siriwatknp |
| 55 | +- Fix link to createTheme source (#43332) @oliviertassinari |
| 56 | +- Add cache to avoid unnecessary jsx dynamic import and theme getting (#43139) @Vxee |
| 57 | +- Fix broken link to Next.js docs @oliviertassinari |
| 58 | +- [material-ui] Revamp `Composition` guide (#43266) @ZeeshanTamboli |
| 59 | +- [material-ui][Menu] Replace `PaperProps` with `slotProps.paper` in demos (#43354) @sai6855 |
| 60 | + |
| 61 | +### Core |
| 62 | + |
| 63 | +- [code-infra] Change docs:start script to serve the exports folder (#43375) @Janpot |
| 64 | +- [core] Fix typescript-next CI workflow (#43394) @aarongarciah |
| 65 | +- [core] Run `@mui/system` TypeScript module augmentation tests in CI (#43386) @ZeeshanTamboli |
| 66 | +- [core] Enable manage-package-manager-versions pnpm flag (#43366) @aarongarciah |
| 67 | +- [core] Replace `indexOf` with `includes` (#42883) @k-rajat19 |
| 68 | +- [docs-infra] Add GitHub source link to components (#43228) @Jay-Karia |
| 69 | +- [docs-infra] Fix copy shortcut (#43361) @oliviertassinari |
| 70 | +- [perf] Remove theme/styling allocations (#43372) @romgrk |
| 71 | +- [perf] Improve `composeClasses` (#43363) @romgrk |
| 72 | +- [perf] Remove system allocations (#43306) @romgrk |
| 73 | + |
| 74 | +All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @Janpot, @Jay-Karia, @k-rajat19, @oliviertassinari, @rluzists1, @romgrk, @sai6855, @siriwatknp, @Vxee, @ZeeshanTamboli |
| 75 | + |
3 | 76 | ## 6.0.0-beta.6
|
4 | 77 |
|
5 | 78 | <!-- generated comparing v6.0.0-beta.5..next -->
|
|
0 commit comments