Sep 1, 2021
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
-
🎉 Renamed packages to
@mui/*
as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the GitHub discussion. -
🛠 Added
mui-replace
codemod for migrating@material-ui/*
to new packages@mui/*
. Check out this codemod detail or head to migration guide -
🧪 Added new
<Mansory>
component to the lab, check it out. It has been crafted by our first intern, @hbjORbj 👏!
@mui/material@5.0.0-rc.0
Breaking changes
-
[core] Rename packages (#28049) @mnajdova
replace
@material-ui/*
prefix with@mui/*
:@material-ui/system -> @mui/system @material-ui/styles -> @mui/styles @material-ui/lab -> @mui/lab @material-ui/types -> @mui/types @material-ui/styled-engine -> @mui/styled-engine @material-ui/styled-engine-sc ->@mui/styled-engine-sc @material-ui/private-theming -> @mui/private-theming @material-ui/codemod -> @mui/codemod
except these 3 packages that are renamed.
@material-ui/core => @mui/material // represents Material Design components. @material-ui/icons => @mui/icons-material // represents Material Design icons. @material-ui/unstyled => @mui/core // fully functional components and hooks with no/minimum styles.
Note:
@mui/core
(previously@material-ui/unstyled
) is not the same as@material-ui/core
.We encourage you to use the codemod for smooth migration.
Changes
- [Autocomplete] Update warning for
value
prop (#27977) @vedadeepta - [ButtonGroup] Update PropTypes to match augmentable interface (#27944) @aaronlademann-wf
- [CardMedia] Add
image
role ifimage
prop is specified but no imagecomponent
is specified (#27676) @eps1lon - [InputBase] Fix autofill issue (#28070) @mnajdova
- [Tabs] Fix indicator position when tab size changes (ResizeObserver) (#27791) @hbjORbj
- [TextareaAutosize] Sync height when the width of the textarea changes (#27840) @hbjORbj
- [ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
- [core] Export types for module augmentation (#28078) @m4theushw
@mui/core@5.0.0-alpha.45
- [Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
@mui/lab@5.0.0-rc.0
@mui/codemod@5.0.0-rc.0
- [codemod] Add
mui-replace
codemod transform (#28060) @siriwatknp
Docs
- [docs] Fix preview for multiline JSX attributes (#28092) @eps1lon
- [docs] Add a recommendation for hoisting GlobalStyles to static constant (#28088) @mnajdova
- [docs] Update toolbar menu to behave closer to default (#28086) @oliviertassinari
- [docs] Markdown redesign polish (#27956) @mnajdova
- [docs] Fully translated /api/* pages (#28044) @eps1lon
- [docs] Fix matchSorter import path in Autocomplete (#28063) @StefanBRas
- [docs] Fix Fab demo overflow on mobile (#28033) @rajzik
- [docs] Add notistack example compatible with v5.x.x (#27881) @iamhosseindhv
- [docs] Change sign-up template autocomplete to use "new-password" (#28028) @StefanTobler
- [docs] Improve the support expectations for developers (#27999) @oliviertassinari
- [docs] Don't use nested ternary (#27986) @eps1lon
- [docs] Sync redirections from X into Core @oliviertassinari
- [docs] Fix typo '.MuiOutinedInput' -> '.MuiOutlinedInput' (#27997) @rsxdalv
- [docs] fix floating action button broken demo (#27976) @rajzik
- [docs] Update correct variable name (#27960) @bene-we
- [docs] Fix Performance typo (#27965) @tdmiller1
- [docs] Add GridExportCSVOptions page to documentation pages (#27951) @flaviendelangle
- [website] Add product core page (#27952) @siriwatknp
- [website] Make AppBar height and border consistent with nav header (#28085) @michaldudak
- [website] Fix typos in the rebranding (#28069) @oliviertassinari
- [website] Refine home, pricing and about pages (#27927) @siriwatknp
Core
- [eslint-plugin-material-ui] Only require translation of word characters and not API (#28043) @eps1lon
- [core] Use lintable pattern for debounced callbacks (#27985) @eps1lon
- [core] Remove file-wide disables of
no-use-before-define
(#27984) @eps1lon - [core] Improve
release:changelog
script (#27941) @eps1lon - [core] Enforce curly braces for block statements (#27946) @eps1lon
- [test] Disable browserstack for PRs (#28041) @eps1lon
All contributors of this release in alphabetical order: @aaronlademann-wf, @bene-we, @chetas411, @eps1lon, @flaviendelangle, @hbjORbj, @iamhosseindhv, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @rajzik, @rsxdalv, @siriwatknp, @StefanBRas, @StefanTobler, @tdmiller1, @vedadeepta