Changelog History
Page 3
-
v118.1.0 Changes
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 Changes
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 Changes
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)
-
v117.0.0 Changes
September 28, 2020๐ In this major release, we deleted the
buttonFont
property onMDCAlertController
, added theaccessoryViewHorizontalInset
property toMDCAlertControllerView
, made minor bug fixes, and deprecated numerous APIs across multiple components.๐ฅ Breaking changes
๐ Dialogs
The
buttonFont
property onMDCAlertController
has been deleted. To set a button font in a dialog use the-buttonForAction:
method to get the button, then call-setFont:
on itstitleLabel
.๐ New deprecations
๐ This release contains deprecations in ButtonBar, FeatureHighlight, NavigationBar, FlexibleHeader, AppBar, ThumbTrack, and TabBar. See the component section for specifics.
๐ New features
๐ Dialogs
๐ Dialogs has a new
accessoryViewHorizontalInset
API.Component changes
ActivityIndicator
- โก๏ธ Update default stroke width to be 2.5 (Alyssa Weiss)
AppBar
- ๐ Deprecate API from MDCAppBarNavigationController. (Yarden Eitan)
- ๐ Deprecate AppBar color themer APIs. (Yarden Eitan)
ButtonBar
- ๐ Deprecate inkColor API. (Yarden Eitan)
๐ Dialogs
- Add an accessoryView with a collection example (Galia Kaufman)
- Adding accessoryViewHorizontalInset API (Galia Kaufman)
- ๐ Delete deprecated buttonFont for MDCAlert and make all appropriate changes following deletion (Alyssa Weiss)
- ๐ Deprecate button styling APIs. (Yarden Eitan)
๐ FeatureHighlight
- ๐ Deprecate color themer APIs. (Yarden Eitan)
FlexibleHeader
- ๐ Deprecate MDCFlexibleHeaderMinMaxHeight API. (Yarden Eitan)
- ๐ Deprecate pre iOS 8 ToBeDeprecated APIs. (Yarden Eitan)
NavigationBar
- ๐ Deprecate color themer APIs. (Yarden Eitan)
- ๐ Deprecate typography themer APIs. (Yarden Eitan)
Tabs
- ๐ Deprecate typography themer API. (Yarden Eitan)
- Scroll to selected item when there is an orientation/size change. (Yarden Eitan)
TextControls
- Translate frame to window coordinates in accessibilityPath (Andrew Overton)
private/Math
- ๐ Deprecate all APIs that have a direct standard library equivalent. (Jeff Verkoeyen)
private/ThumbTrack
- ๐ Deprecate Ink APIs. (Yarden Eitan)
Multi-component changes
- Internal change (Jeff Verkoeyen)
-
v116.0.1 Changes
September 22, 2020๐ This patch release contains various bug fixes and internal cleanup.
Component changes
BottomNavigation
- โก๏ธ Update ink and ripple handling for long press when LargeContentViewer is enabled (Alyssa Weiss)
BottomSheet
- Mask elevation on bottom edge (Andrew Overton)
๐ Dialogs
- ๐ Remove iOS 10+ checks now that the minimum support contract is iOS 10. (Alyssa Weiss)
- โก๏ธ Update the testing for the localization snapshot tests. (Alyssa Weiss)
Slider
- Add call to [super prepareForReuse] in example. (Bryan Oltman)
- ๐ Remove checks for iOS 10 availability. (Bryan Oltman)
- Set thumbIsSmallerWhenDisabled to NO to match Material spec. (Wenyu Zhang)
Snackbar
- โช Automated g4 rollback of changelist 331153646. (Yun Zhang)
TextControls
- Override accessibilityPath in MDCBaseTextField (Andrew Overton)
private/ThumbTrack
- Do not adjust thumb size on touch down. (Bryan Oltman)
- Internal change (Bryan Oltman)
Multi-component changes
- Fix mdc_elevationDidChangeBlock block parameter types for Xcode 12 (Bryan Oltman)
- Internal change (Jeff Verkoeyen)
- Internal change (Jeff Verkoeyen)
- ๐ Remove ability for thumb view to grow while dragging. (Bryan Oltman)
-
v116.0.0 Changes
September 14, 2020๐ In this major release, we deleted the
rippleAllowsSelection
property from MDCChipView and added containerRadius support to filled text fields.API changes
- Chips:
rippleAllowsSelection
has been deleted from MDCChipView. - NavigationDrawer:
shouldDismissOnAccessibilityPerformEscape
property added to allow VoiceOver users to dismiss the Navigation Drawer using the VoiceOver dismiss gesture.
Component changes
Chips
- Have Ripple imitate Ink's behavior in MDCChipView. (Yarden Eitan)
Multi-component changes
- Optional dismiss on accessibilityPerformEscape. (Nobody)
- ๐ Add containerRadius support to filled text field (Andrew Overton)
- Internal change (Yarden Eitan)
- Chips:
-
v115.1.0 Changes
September 11, 2020๐ In this minor release we add 2 APIs to customize BottomNavigation's appearance and behavior, we deprecate the property
rippleAllowsSelection
fromMDCChipView
, we provide acontainerRadius
API toMDCBaseTextField
andMDCBaseTextArea
, along with other code cleanups.๐ New deprecations
๐
MDCChipView
'srippleAllowSelection
property is now deprecated. Please instead use native UIKit APIs to control whether the chip is selected or not, using either the .selected API, or, with MDCChipCollectionViewCell, by calling thedeselectItemAtIndexPath
API to remove selection. Note, this only applies if you have theenableRippleBehavior
property set toYES
onMDCChipView
.๐ New features
BottomNavigation
You can now customize MDCBottomNavigationBar's height using the
barHeight
property.MDCBottomNavigationBar *bottomNavBar; bottomNavBar = [[MDCBottomNavigationBar alloc] initWithFrame:CGRectZero]; bottomNavBar.barHeight = 44; [self.view addSubview:bottomNavBar];
You can now also decide when to hide or show your navigation bar using the new
navigationBarHidden
APIs on MDCBottomNavigationBarController.let bottomNavBarController = MDCBottomNavigationBarController() bottomNavBarController.willMove(toParent: self) view.addSubview(bottomNavBarController.view) addChild(bottomNavBarController) bottomNavBarController.didMove(toParent: self) let viewController = UIViewController() bottomNavBarController.viewControllers = [viewController] bottomNavBarController.setNavigationBarHidden(true, animated: true)
TextControls
Both
MDCBaseTextArea
andMDCBaseTextField
now have acontainerRadius
API, which determines the corner radius of the container, when applicable. Setting this property is a no-op for MDCBaseTextField and any subclasses with invisible containers.let filledTextField = MDCFilledTextField() filledTextField.label.text = "label text" filledTextField.containerRadius = 8
Component changes
Banner
BottomNavigation
- Add navigationBarHidden property to MDCBottomNavigationBarController. (Bryan Oltman)
- Provide an API to set the bar's height. (Yarden Eitan)
- ๐ Remove all checks for iOS 10 availability now that components support iOS 10+ (Alyssa Weiss)
- ๐ Remove no longer used string bundle references (Alyssa Weiss)
- ๐ Remove supplemental directory from examples. (Bryan Oltman)
- โก๏ธ Update Bottom Navigation Item View accessibility traits so that VoiceOver works correctly on iOS 14. (Alyssa Weiss)
Chips
- ๐ Deprecate rippleAllowsSelection as we move away from MDCStatefulRippleView and to a simpler MDCRippleView when enableRippleBehavior is set to YES. (Yarden Eitan)
Snackbar
- Enable shouldDismissOnOverlayTap for VO enabled scenario (Yun Zhang)
- Example: Dismiss snackbars when push or popping the example VC. (Randall Li)
- ๐ Remove non-shared classes from Snackbar supplemental directory. (Bryan Oltman)
- ๐ Remove references to deprecated static MDCSnackbarManager methods. (Bryan Oltman)
Tabs
- ๐ Remove pre-iOS 10 handling for voiceover now that components support iOS 10+ (Alyssa Weiss)
- ๐ Remove unused StringsConstant file from Tabs (Alyssa Weiss)
TextControls
- ๐จ Refactor sizing behavior + expose sizing delegate method (Andrew Overton)
- Add
containerRadius
to MDCBaseTextField (Andrew Overton) - ๐ Add containerRadius to filled style object and base text area (Andrew Overton)
-
v115.0.0 Changes
September 08, 2020๐ In this major release, we deprecated the Ink component in favor of Ripple and deleted the
๐ deprecatedfontSize
property from the ThumbTrack component.๐ฅ Breaking changes
The
fontSize
property of ThumbTrack is now deleted. Please use thefont
property instead.๐ New deprecations
๐ The Ink component has been deprecated. Please use Ripple instead.
Component changes
BottomNavigation
- ๐ Remove pre-iOS 10 handling for voiceover now that components support iOS 10+ (Alyssa Weiss)
Collections
- ๐ Silence warnings when including a header with a method that uses deprecated declarations. (Nobody)
๐ Dialogs
TextControls
- โ Improve TextControls test coverage (Andrew Overton)
private/ThumbTrack
- ๐ Delete deprecated fontSize property. (Wenyu Zhang)
Multi-component changes
- ๐ Official deprecation of Ink. (Yarden Eitan)
-
v114.0.0 Changes
August 31, 2020114.0.0
๐ In this major release we have updated BottomNavigation safe area calculations and removed the deprecated
sizeThatFitsIncludesSafeArea
API, including a minor bug fix for Dialogs.๐ฅ Breaking changes
BottomNavigation
๐ The deprecated sizeThatFitsIncludesSafeArea property is deleted.
Component changes
BottomNavigation
- Align barItemsBottomAnchor with safeAreaInsets. (Wenyu Zhang)
- ๐ Delete deprecated sizeThatFitsIncludesSafeArea property. (Wenyu Zhang)
๐ Dialogs
- โก๏ธ Update logic for using title insets in calculations (Alyssa Weiss)
Multi-component changes
- ๐ Remove reference to beta (Andrew Overton)
-
v113.2.0 Changes
August 26, 2020๐ In this minor release we have made minor improvements to BottomNavigation, NavigationDrawer and Tabs.
๐ New features
โ Adding a new property to MDCBottomDrawerViewController and MDCBottomDrawerContainerViewController that allows for non-fullscreen mobile landscape bottom drawer view.
drawerViewController.shouldDisplayMobileLandscapeFullscreen = false
Component changes
BottomNavigation
- ๐ Clarify wording to reflect that enableRippleBehavior is To Be Deprecated and can still be used in new code (Alyssa Weiss)
- 0๏ธโฃ Set default horizontal item padding to 0 (Alyssa Weiss)
- โก๏ธ Update accessibility logic when switching selected view controllers so that VoiceOver will always switch to a new element visible on screen (Alyssa Weiss)
NavigationBar
- Add example to demonstrate how to to set source for popover alert on iPad. (Bryan Oltman)
- Delete supplemental code from Swift examples (Bryan Oltman)
NavigationDrawer
- Adds shouldDisplayMobileLandscapeFullscreen property to MDCBottomDrawerContainerViewController and MDCBottomDrawerPresentationController to share the property between MDCBottomDrawerContainerViewController and MDCBottomDrawerViewController. (Nobody)
- Replace navigation drawer component README (Andrew Overton)
Tabs