v90.0.0
This major release deletes several deprecated APIs and annotates several APIs as deprecated.
Breaking changes
Buttons' buttonWithShape: API has been deleted. Please use floatingButtonWithShape: instead.
FlexibleHeader's behavior API has been deleted. Please use shiftBehavior instead.
NavigationBar's textAlignment API has been deleted. Please use titleAlignment instead.
New deprecations
ActivityIndicator's ColorThemer is now deprecated. Please theme MDCActivityIndicator's colors
directly instead.
ButtonBar's Theming extension and TypographyThemer are now deprecated. ButtonBar is not intended to
be themed as a standalone component. Please theme it via the AppBar component's Theming extension
instead.
BottomAppBar's ColorThemer is now deprecated. There is presently no replacement. Please indicate
interest in a replacement at
https://github.com/material-components/material-components-ios/issues/7172.
Upcoming breaking changes
BasicFontScheme is now a standalone target within schemes/Typography with the CocoaPods spec name:
MaterialComponents/schemes/Typography+BasicFontScheme. For backwards compatibility, this new
target is still a dependency of `MaterialComponents/schemes/Typography. This dependency will be
removed as a breaking change in a subsequent release, with the intent of eventually deprecating
and deleting the BasicFontScheme target altogether.
Changes
ActionSheet
- Minor style cleanup of import statements. (#8428) (featherless)
ActivityIndicator
- Deprecate ColorThemer. (#8430) (featherless)
BottomAppBar
- Deprecate the ColorThemer. (#8438) (featherless)
ButtonBar
- Deprecate Theming and TypographyThemer. (#8432) (featherless)
Buttons
- Clarify the alternative to shouldRaiseOnTouch. (#8422) (featherless)
- Delete MDCFloatingButton's buttonWithShape method (#8416) (Bryan Oltman)
FlexibleHeader
- Delete unused behavior property (#8414) (Bryan Oltman)
NavigationBar
TextFields
- Try new approach to snapshot testing textfields (#8407) (Andrew Overton)
private/ThumbTrack
- Delete unused hasShadow property (#8412) (Bryan Oltman)
schemes/Typography
- Pull BasicFontScheme out to an extension. (#8425) (featherless)
- Rename MaterialTypography+BasicFontScheme.h to MaterialTypographyScheme+BasicFontScheme.h. (#8442) (featherless)
Multi-component changes
- Fix theming docs. (#8431) (Robert Moore)