Skip to content

v5.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@michaldudak michaldudak released this 01 Jul 12:31
a0f4161

Jul 01, 2021

Big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:

  • 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow the v5 stable milestone for more details. We now encourage any new projects to start on v5.
  • 🚀 We have completed all the planned breaking changes.
  • ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at @material-ui/codemod.
  • 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.

@material-ui/core@5.0.0-beta.0

Breaking changes

  • [Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp

    span element that wraps children has been removed. wrapper classKey is also removed. More details about this change.

    <button class="MuiTab-root">
    - <span class="MuiTab-wrapper">
        {icon}
        {label}
    - </span>
    </button>
  • [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp

    span element that wraps children has been removed. wrapper classKey is also removed. More details about this change.

    <button class="MuiBottomNavigationAction-root">
    - <span class="MuiBottomNavigationAction-wrapper">
        {icon}
        <span class="MuiBottomNavigationAction-label">
          {label}
        </span>
    - </span>
    </button>

Changes

@material-ui/codemod@5.0.0-beta.0

@material-ui/icons@5.0.0-beta.0

@material-ui/lab@5.0.0-alpha.39

Breaking changes

  • [DatePicker] Remove helper text default value (#26866) @DouglasPds

    Make the default rendered text field closer to the most common use cases (denser).

    <DatePicker
      label="Helper text example"
      value={value}
      onChange={onChange}
      renderInput={(params) => (
    -    <TextField {...params} />
    +    <TextField {...params} helperText={params?.inputProps?.placeholder} />
      )}
    >

Changes

@material-ui/system@5.0.0-beta.0

Docs

Core

All contributors of this release in alphabetical order: @ansh-saini, @bc-m, @CarlosGomez-dev, @DouglasPds, @eps1lon, @fishyFrogFace, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @steveafrost, @varandasi