Material Components v97.0.0 Release Notes
Release Date: 2019-12-12 // over 4 years ago-
97.0.0
🚀 In this major release we deleted and deprecated numerous APIs in ActionSheet, BottomNavigation,
ButtonBar, Cards, Feature highlight, Ink, Page control, Snackbar, TextField, and Tabs. We also
🛠 fixed Chip padding for Material theming.💥 Breaking changes
ActionSheet
✂ Delete inkColor and enableRippleBehavior properties.
BottomNavigation
✂ Delete MDCBottomNavigationBarColorThemer
Cards
✂ Delete MDCCardsColorThemer
✂ Delete MDCCardsShapeThemer🔋 FeatureHighlight
✂ Delete MDCFeatureHighlightFontThemer
Ink
✂ Delete MDCInkColorThemer
List
✂ Delete MDCListThemer
PageControl
✂ Delete MDCPageControlColorThemer
ProgressView
✂ Delete MDCProgressViewColorThemer
Snackbar
✂ Delete MDCSnackbarColorThemer
Tabs
✂ Delete MDCTabBarFontThemer
TextFields
✂ Delete MDCTextFieldFontThemer
🆕 New deprecations
Buttons
🗄 Deprecate MDCButtonColorThemer
🗄 Deprecate MDCFloatingActionButtonThemer
🗄 Deprecate MDCTextButtonThemer
🗄 Deprecating MDCButtonScheme
🗄 Deprecating MDCButtonShapeThemer
🗄 Deprecating MDCButtonTypographyThemer
🗄 Deprecating MDCContainedButtonThemer
🗄 Deprecating MDCOutlinedButtonThemerCards
✂ Delete Themer classes
🔋 FeatureHighlight
🗄 Deprecate MDCFeatureHighlightTypographyThemer
NavigationDrawer
🗄 Deprecate MDCBottomDrawerColorTHemer
TextFields
🗄 Deprecate MDCTextFieldTypographyThemer
🗄 Deprecate MDCOutlinedTextFieldColorThemerAPI changes
ActionSheet
✂ removed property:
inkColor
inMDCActionSheetController
. Use rippleColor instead.✂ removed property:
enableRippleBehavior
inMDCActionSheetController
. Use ripple.Navigation Bar
✂ removed class: MDCBottomNavigationBarColorThemer. Use MaterialBottomNavigation+Theming instead.
Buttons
🗄 deprecated protocol:
MDCButtonScheming
. Please use MDCContainerScheming.🗄 deprecated class:
MDCButtonScheme
. Please use MDCContainerScheming.🗄 deprecated class:
MDCContainedButtonThemer
. Please use MDCButton:applyContainedThemeWithScheme: instead.🗄 deprecated class:
MDCFloatingActionButtonThemer
. Please use [MDCFloatingButton applySecondaryThemeWithScheme:] instead.🗄 deprecated class:
MDCOutlinedButtonThemer
. Please use MDCButton:applyOutlinedThemeWithScheme: instead.🗄 deprecated class:
MDCTextButtonThemer
. Please use MDCButton:applyTextThemeWithScheme: instead.🗄 deprecated class:
MDCButtonColorThemer
. Please use the MDCButton+MaterialTheming API instead.🗄 deprecated class:
MDCButtonShapeThemer
. Please use MDCButton+MaterialTheming instead. (Note: Shape theming is no longer available as an independent API.).🗄 deprecated class:
MDCButtonTypographyThemer
. Please use MDCButton+MaterialTheming instead. (Note: Typography theming is no longer available as an independent API.).Cards
✂ removed protocol:
MDCCardScheming
. MDCCardScheming was made obsolete by theming with MDCContainerSchemes.✂ removed class:
MDCCardScheme
. MDCCardScheming was made obsolete by theming with MDCContainerSchemes.✂ removed class:
MDCCardThemer
. Please use MaterialCards+Theming instead.✂ removed class:
MDCCardsColorThemer
. Please use MaterialCards+Theming instead.
✂ removed class:MDCCardsShapeThemer
. Please use MaterialCards+Theming instead.🔋 FeatureHighlight
✂ removed class:
MDCFeatureHighlightFontThemer
. No replacement exists. Please comment on #7172 in order to indicate interest in a replacement API.
🗄 deprecated class:MDCFeatureHighlightTypographyThemer
. No replacement exists. Please comment on #7172 in order to indicate interest in a replacement API.Ink
✂ removed class:
MDCInkColorThemer
. Please use Ripple instead.List
✂ removed class:
MDCListScheming
. Please use MDCContainerScheme APIs.
✂ removed class:MDCListScheme
. Please use MDCContainerScheme APIs.
✂ removed class:MDCListThemer
. Please use MDCContainerScheme APIs.BottomDrawer
🗄 deprecated class:
MDCBottomDrawerColorThemer
. No replacement exists. Please comment on #7172 in order to indicate interest in a replacement API.Page Control
✂ removed class:
MDCPageControlColorThemer
. No replacement exists. Please comment on #7172 in order to indicate interest in a replacement API.ProgressView
✂ removed class:
MDCProgressViewColorThemer
. No replacement exists. Please comment on #7172 in order to indicate interest in a replacement API.Snackbar
✂ removed class:
MDCSnackbarColorThemer
. Please use the Theming extension instead.Tab Bar
✂ removed class: MDCTabBarFontThemer. Please use the theming extension instead.
TextField
🗄 deprecated class:
MDCOutlinedTextFieldColorThemer
. Please use the Theming extension on MDCTextInputControllerOutlined instead.✂ removed class:
MDCTextFieldFontThemer
. Please use the Theming extension, or MDCTextControls and their theming extensions instead.🗄 deprecated class:
MDCTextFieldTypographyThemer
. Please use MDCTextInputControllerFilled+MaterialTheming.h or MDCTextInputControllerOutlined+MaterialTheming.h instead.Thumb Track
✂ removed property:
thumbMaxRippleRadius
inMDCThumbTrack
. Opt-in to Ripple by setting enableRippleBehavior to YES, and then use thumbRippleMaximumRadius instead. Learn more at https://github.com/material-components/material-components-ios/tree/develop/components/Ink#migration-guide-ink-to-rippleComponent changes
🔄 Changes
ActionSheet
- Delete inkColor and enableRippleBehavior properties (#9238) (Bryan Oltman)
- 🚚 Remove equality check when setting rippleColor to prevent crashes stemming from CIColor (#9237) (Bryan Oltman)
Banner
- Fix height when no action button shows. (#9218) (Wenyu Zhang)
BottomNavigation
- Delete MDCBottomNavigationBarColorThemer (#9198) (Bryan Oltman)
Buttons
- 🗄 Deprecate MDCButtonColorThemer (#9179) (Galia Kaufman)
- 🗄 Deprecate MDCFloatingActionButtonThemer (#9183) (Galia Kaufman)
- 🗄 Deprecate MDCTextButtonThemer (#9182) (Galia Kaufman)
- 🗄 Deprecating MDCButtonScheme (#9186) (Galia Kaufman)
- 🗄 Deprecating MDCButtonShapeThemer (#9184) (Galia Kaufman)
- 🗄 Deprecating MDCButtonTypographyThemer (#9185) (Galia Kaufman)
- 🗄 Deprecating MDCContainedButtonThemer (#9180) (Galia Kaufman)
- 🗄 Deprecating MDCOutlinedButtonThemer (#9181) (Galia Kaufman)
Chips
- Fix padding for Material theming. (#9193) (Robert Moore)
🔊 Dialogs
- Limit Action Button width (#9143) (Bambara@)
🔋 FeatureHighlight
- Delete MDCFeatureHighlightFontThemer (#9230) (Andrew Overton)
- 🗄 Deprecate MDCFeatureHighlightTypographyThemer (#9225) (Andrew Overton)
- Don't use MDCFeatureHighlightTypographyThemer in examples (#9224) (Andrew Overton)
Ink
- 🚚 Remove MDCInkColorThemer (#9228) (Andrew Overton)
List
- Removing MDCListThemer (#9187) (Galia Kaufman)
NavigationDrawer
- 🗄 Deprecate MDCBottomDrawerColorTHemer (#9205) (Andrew Overton)
- Don't use MDCBottomDrawerColorThemer (#9204) (Andrew Overton)
PageControl
- Delete MDCPageControlColorThemer (#9202) (Andrew Overton)
ProgressView
- Delete MDCProgressViewColorThemer (#9231) (Andrew Overton)
- 🗄 Deprecate MDCProgressViewColorThemer (#9203) (Andrew Overton)
Snackbar
- Delete MDCSnackbarColorThemer (#9227) (Andrew Overton)
Tabs
- Delete MDCTabBarFontThemer (#9201) (Andrew Overton)
- Fix examples. (#9233) (Robert Moore)
TextFields
- Delete MDCTextFieldFontThemer (#9226) (Andrew Overton)
- 🗄 Deprecate MDCTypographyThemer (#9175) (Andrew Overton)
- Don't use MDCTextFieldTypographyThemer (#9170) (Andrew Overton)
- 🚚 Remove MDCTextFieldTypographyThemer from snapshot tests (#9196) (Andrew Overton)
- 🚚 Remove usage of MDCOutlinedTextFieldColorThemer (#9214) (Andrew Overton)
- ⚡️ Update MDCTextInputControllerOutlined theming extension to not use color themer (#9223) (Andrew Overton)
- 🗄 deprecate-MDCOutlinedTextFieldColorThemer (#9215) (Andrew Overton)
private/ThumbTrack
- delete-thumbMaxRippleRadius (#9232) (Andrew Overton)
Multi-component changes
- Delete Themer classes (#9197) (Bryan Oltman)
- Fix container scheme properties. (#9192) (Robert Moore)