Skip to content

v5.4.0

Compare
Choose a tag to compare
@mnajdova mnajdova released this 01 Feb 09:05
· 7117 commits to master since this release
ba4e819

Feb 1, 2022

A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:

@mui/[email protected]

Breaking changes

  • ​[core] Do not reexport Base from Material (#30853) @michaldudak

    All Base components were exported from the @mui/material package and treated as stable even though the @mui/base package is in development. It could create a lot of confusion if developers start using Base components, depend on them, and demand quality found in "proper" Material components. We admit it was a mistake to reexport these components without marking them as unstable.

    Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the @mui/base package.

    This is technically a breaking change as it removes a number of components from the @mui/material package. However, we believe that removing the components now and potentially breaking the codebases will do less harm than introducing "silent" breaking changes to Base components while continuing reexporting them from @mui/material.

    Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both @mui/material and @mui/base.

    If you're encountering build errors after upgrading @mui/material, do the following:

    1. Install @mui/base: npm install @mui/base or yarn add @mui/base
    2. Make sure the version of @mui/base match the version of @mui/material
    3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
    - @import ButtonUnstyled from '@mui/material/ButtonUnstyled';
    + @import ButtonUnstyled from '@mui/base/ButtonUnstyled';

Changes

@mui/[email protected]

@mui/[email protected]

Docs

Core

All contributors of this release in alphabetical order: @aefox, @alisasanib, @atakanzen, @austinewuncler, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @DiegoYungh, @dryrainbow, @eps1lon, @garronej, @goncalovf, @Hubbz, @Jack-Works, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @siriwatknp, @tanyabouman, @ZeeshanTamboli