Changelog History
Page 1
-
v119.2.0
December 07, 2020119.2.0
๐ In this minor release we deprecated hitAreaInsets APIs in Buttons, FloatingButtons, and Chips, and introduced minor bug fixes and documentation updates.
API changes
hitAreaInsets APIs
- ๐ hitAreaInsets APIs are deprecated in Buttons, FloatingButtons, and Chips.
Component changes
Buttons
- โก๏ธ Fix bug where updating MDCButton's title case does not affect attributed titles. (Bill Griesau)
NavigationDrawer
- ๐ Removed a condition for
presentingViewYOffset
inMDCBottomDrawerContainerViewController
(Nobody)
Shapes
Multi-component changes
- Add ProgressIndicators.md for material.io (Andrew Overton)
- ๐ Audit recent docs changes, part 1 Closes https://github.com/material-components/material-components-ios/pull/10132 (Andrew Overton)
- ๐ Audit recent docs changes, part 2 (Andrew Overton)
- ๐ Deprecate hitAreaInsets APIs from MDCButton, MDCFloatingButton, and MDChipView. (Wenyu Zhang)
-
v119.1.3
December 03, 2020๐ In this patch release we updated the Tabs API and made documentation updates for Slider and other components.
API changes
Tabs
๐ new property:
itemViewContentInsets
inMDCTabBarView
.
๐ new property:minItemWidth
inMDCTabBarView
andMDCTabBarViewItemViewDelegate
๐ new property:itemViewDelegate
inMDCTabBarViewItemView
.
๐ new property:itemViewStyle
inMDCTabBarViewItemViewDelegate
.Component changes
Banner
- ๐ Updated documentation (Cristina De Rito)
Tabs
- Add and expose property to MDCTabBarView for setting the edge insets for each item in the tab bar. (Alyssa Weiss)
- Create and expose a minItemWidth property for MDCTabBarView to set the min width of items on the tab bar. This is done by adding a MDCTabBarViewItemViewDelegate protocol that MDCTabBarView conforms to. (Alyssa Weiss)
- ๐ When building with -Wnullability-completeness, either no property should specify a nullability (nullable/nonnull) or all of them must specify one. If this is not the case, the compilation will fail. (Sylvain Defresne)
Multi-component changes
- ๐ Miscellaneous doc fixes (Andrew Overton)
-
v119.1.2
November 25, 2020๐ In this patch release we made improvements to TextControls and Slider and fixed a bug in Tabs.
API changes
TextControls
๐ new properties:
leadingView
,trailingView
,leadingViewMode
andtrailingViewMode
inMDCBaseTextArea
.
๐ new property:preferredContainerHeight
inMDCBaseTextArea
.
๐ new property:horizontalInterItemSpacingOverride
inMDCBaseTextField
.Slider
๐ new property:
thumbRippleMaximumRadius
inMDCSlider
.Component changes
Tabs
- ๐ Support typical UIView initializers in MDCTabBarView (Andrew Overton)
TextControls
- Expose inter item spacing (Andrew Overton)
- Expose preferredContainerHeight on MDCBaseTextArea (Andrew Overton)
- Fix RTL placeholder behavior (Andrew Overton)
- Modify automatic scrolling behavior (Andrew Overton)
- Add text areas leading/trailing views (Andrew Overton)
Slider
- Slider layout and size changes (Andrew Overton)
-
v119.1.1
November 18, 2020๐ In this patch release we have updated the Slider documentation and fixed a CocoaPods build issue.
Component changes
Slider
- ๐ Replace Slider docs (Andrew Overton)
TextControls
- ๐ Fix Cocoapods build error (Andrew Overton)
-
v119.1.0
November 13, 2020๐ This minor release adds placeholder support to MDCTextArea and includes bug fixes for BottomNavigation and TextControls.
๐ New features
You can now set a placeholder on any subclass of MDCBaseTextArea.
Component changes
BottomNavigation
TextControls
- โ Add text area snapshot tests (Andrew Overton)
- Call -[MDCBaseTextAreaDelegate baseTextArea:shouldChangeSize:] when setting assistive label text (if needed). (Nobody)
Multi-component changes
- Add placeholder to text area (Andrew Overton)
- Use custom leadingView/trailingView instead of UITextField's leftView/rightView (Andrew Overton)
-
v119.0.0
November 06, 2020๐ This major release removes a deprecated MDCFloatingButton API, deprecates MDCTabBar, and provides
โจ enhancements to MDCButton and Tabs.๐ฅ Breaking changes
๐ MDCFloatingButton's
setVisibleAreaInsets:forShape:inMode:
API has been removed. Use
setCenterVisibleArea:forShape:InMode:
instead.๐ New deprecations
๐ MDCTabBar has been deprecated. Please use MDCTabBarView instead.
๐ New features
MDCFloatingButton now has a
shape
property that can be used to change the button's shape.MDCButton now has a
visibleAreaLayoutGuide
property that can be used to align content against the
button's visible area using AutoLayout.Component changes
Buttons
- Add shape API to allow changing FAB's shape after it is initialized. (Wenyu Zhang)
- Add visibleAreaLayoutGuide for providing anchors to the visible area when centerVisibleArea is set to YES. (Yarden Eitan)
- โก๏ธ Apply centerVisibleArea to a FAB with default shape example to reproduce shapeGenerator not getting updated issue on FAB. (Wenyu Zhang)
- โก๏ธ Fix cornerRadius change not triggering the update on shapeGenerator when centerVisibleArea is YES. (Wenyu Zhang)
- ๐ Migrate deprecated visibleAreaInsets API to centerVisibleArea API in FAB typical example. (Wenyu Zhang)
- ๐ Remove deprecated setVisibleAreaInsets:forShape:inMode: API. (Wenyu Zhang)
- โก๏ธ Update note on visibleAreaInsets to indicate it will be deprecated explicitly to prevent future usage. (Wenyu Zhang)
Tabs
- Fallback to scrollable when scrollableCentered is set and VoiceOver is running (Andrew Overton)
- ๐ Mark MDCTabBar as deprecated. (Alyssa Weiss)
- ๐ Update handling of ripple so that, for non scroll layout styles, it shows ripple on touch down rather than touch up. (Alyssa Weiss)
TextControls
- โ add RTL snapshot tests (Andrew Overton)
-
v118.2.0
October 29, 2020๐ In this minor release, we have made several improvements to the Dialogs, Snackbar, and Tabs components. We also improved the Banner component's documentation.
Component changes
Banner
- ๐ Replace banners docs (Andrew Overton)
Buttons
- Add extra width to buttons with text and image when UIAccessibilityIsBoldTextEnabled is true. (Bryan Oltman)
๐ Dialogs
- ๐ Support value comparison for MDCAlertAction (Nobody)
Snackbar
- โก๏ธ Update MDCSnackbarManagerDelegate presentation lifecycle methods to declare a nonnull MDCSnackbarMessageView. (Yarden Eitan)
Tabs
- ๐ Remove notion of max item width from TabBarView and MDCTabBarViewItemView (Alyssa Weiss)
-
v118.1.0
October 19, 2020๐ In this minor release, we have made several improvements to the TextControls component.
๐ New features
TextControls
โ Added
-baseTextFieldShouldDeleteBackward:
and-baseTextField:shouldPerformAction:withSender:canPerformAction:
toMDCBaseTextFieldDelegate
.Component changes
TextControls
- Add -baseTextField:shouldPerformAction:withSender:canPerformAction: (Andrew Overton)
- Add shouldDeleteBackward delegate method (Andrew Overton)
- consider floating label min Y in - accessibilityPath (Andrew Overton)
-
v118.0.1
October 13, 2020118.0.1
๐ In this patch release, an MDCNavigationDrawer bug for accessibility dismissal is fixed and references to deprecated Math APIs are removed.
Component changes
NavigationDrawer
Snackbar
- ๐ Replace snackbar docs (Andrew Overton)
private/Math
- ๐ Remove use of deprecated methods. (Aron Budinszky)
-
v118.0.0
October 06, 2020๐ In this major release. we deleted all deprecated MDCSnackbarManager APIs, and made minor bug fixes and reorganizations.
๐ฅ Breaking changes
Snackbar
๐ All Deprecated MDCSnackbarManager APIs have been deleted. For any of these APIs, instead of calling anything on MDCSnackbarManager, use MDCSnackbarManager.defaultManager and the same API will be available.
API changes
Component changes
ActionSheet
- โ Flatten the unit tests into a single directory. (Jeff Verkoeyen)
- โก๏ธ Update all test and example files to match conventions. (Jeff Verkoeyen)
Chips
- ๐ Replace Chips docs (Andrew Overton)
๐ Dialogs
Snackbar
- ๐ Delete all deprecated APIs. (Jeff Verkoeyen)