v5.0.0-alpha.4
Pre-release
Pre-release
July 19, 2020
Big thanks to the 11 contributors who made this release possible.
@material-ui/[email protected]
Breaking changes
- [core] Drop support for non-ref-forwarding class components (#21811) @eps1lon
Support for non-ref-forwarding class components in thecomponent
prop or as an immediatechildren
has been dropped. If you were usingunstable_createStrictModeTheme
or didn't see any warnings related tofindDOMNode
inReact.StrictMode
then you don't need to do anything.
Otherwise check out the "Caveat with refs" section in our composition guide to find out how to migrate.
This change affects almost all components where you're using thecomponent
prop or passingchildren
to components that requirechildren
to be elements (e.g.<MenuList><CustomMenuItem /></MenuList>
) - [Stepper] Use context API (#21613) @baterson
Rely on the context over theReact.cloneElement()
API.
This change makes composition easier.
@material-ui/[email protected]
Docs
- [docs] Break up Select demos (#21792) @cjoecker
- [docs] Change RMUIF info to new version (#21812) @phoqe
- [docs] Fix Spanish translation (#21800) @adamsr123
- [docs] Fix nav color (#21780) @mbrookes
- [docs] Update advanced-de.md (#21786) @jasonericdavis
Core
- [core] Allow dist tag as argv in use-react-dist-tag (#21810) @eps1lon
- [core] Drop support for non-ref-forwarding class components (#21811) @eps1lon
- [core] Lint with typescript-eslint parser (#21758) @oliviertassinari
- [core] One label is enough @oliviertassinari
- [core] Remove lint:fix command @oliviertassinari
- [test] Enable "missing act()"-warnings (#21802) @eps1lon
- [test] Improve stack trace for unexpected errors (#21818) @eps1lon
- [test] Update react next patch (#21746) @eps1lon
- [test] Use testing-library in withStyles (#21804) @eps1lon