Skip to content

v6.0.0-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@mnajdova mnajdova released this 08 Aug 09:02
75c24b0

Aug 8, 2024

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

  • Remove some deprecated props from the ListItem component (#41566) @thathva
  • Bumped the minimum supported version of TypeScript to v4.7 (#43116) @mnajdova

@mui/[email protected]

BREAKING CHANGES

  • ​[material-ui][ListItem] Removing deprecated props (#41566) @thathva

    ListItem's props autoFocus, button, disabled, and selected, deprecated in v5, have been removed. To replace the button prop, use ListItemButton instead. The other removed props are available in the ListItemButton component as well.

    -<ListItem button />
    +<ListItemButton />

    Use this codemod to migrate your project to the ListItemButton component:

    npx @mui/codemod@next v6.0.0/list-item-button-prop <path/to/folder>

    As the ListItem no longer supports these props, the class names related to these props were removed. You should use the listItemButtonClasses object instead.

    -import { listItemClasses } from '@mui/material/ListItem';
    +import { listItemButtonClasses } from '@mui/material/ListItemButton';
    
    - listItemClasses.button
    + listItemButtonClasses.root
    
    - listItemClasses.focusVisible
    + listItemButtonClasses.focusVisible
    
    - listItemClasses.disabled
    + listItemButtonClasses.disabled
    
    - listItemClasses.selected
    + listItemButtonClasses.selected

Changes

  • ​[material-ui][Autocomplete] Fix default value for multiple mode getting redefined with React 19 (#43189) @DiegoAndai
  • ​[material-ui] Merge CssVarsProvider into ThemeProvider (#43115) @siriwatknp
  • ​[material-ui] Make tests compatible with React 19 (#43155) @DiegoAndai
  • ​[material-ui] Refine Blog template (#42825) @zanivan
  • ​[material-ui] Element ref access React 19 compatibility (#43132) @DiegoAndai
  • ​[material-ui][mui-system] Add support for version runtime checks (#43190) @DiegoAndai

@mui/[email protected]

@mui/[email protected]

Docs

Core

All contributors of this release in alphabetical order: @aarongarciah, @AbdurRahman2004, @alexfauquette, @DiegoAndai, @Janpot, @joserodolfofreitas, @LukasTy, @michaldudak, @mnajdova, @oliviertassinari, @prakhargupta1, @samuelsycamore, @siriwatknp, @thathva, @Vxee, @zanivan, @ZeeshanTamboli