Changelog History
Page 1
-
v124.2.0 Changes
๐ In this minor release, we added opt-in feature from MDCShadowLayer to MDCShadow for several components, annotated APIs with tvOS availability, and fixed a variety of bugs on components.
๐ New features
BottomSheet
MDCBottomSheetController
has a newignoreKeyboardHeight
property to control BottomSheet's behavior when keyboard is present.Chips
MDCChipFieldDelegate
has a new delegate methodchipFieldShouldEndEditing
to matchchipFieldShouldBeginEditing
.Component changes
ActionSheet
- Allow clients to get the view associated with a given action. (Cody Weaver)
- Inform the delegate that the action sheet is dismissed when the dismissal is issued from the accessibility gesture. (Nobody)
ActivityIndicator
- Internal change. (Nobody)
BottomNavigation
- Adds opt-in from MDCShadowLayer to MDCShadow. (Yarden Eitan)
- Only initialize blur effect view if it is not hidden. (Alyssa Weiss)
BottomSheet
- ๐ง Add ignoreKeyboardHeight to allow configuring bottomSheet's behavior when keyboard is present. (Wenyu Zhang)
- Adjust content view frame when safe area insets change. (Alyssa Weiss)
- Fix Bottom sheet bug that was causing flickering. (Alyssa Weiss)
ButtonBar
Buttons
- โ Attempt to reduce flakiness of the buttons screenshot tests. (Jeff Verkoeyen)
Cards
- Fix broken examples (Yarden Eitan)
Chips
- Extract clear button from MDCChipField (Andrew Overton)
- ๐ This CL makes two changes: 1. Adds a new delegate method
chipFieldShouldEndEditing
to matchchipFieldShouldBeginEditing
2. Moved the call to the chip field delegate forchipFieldDidBeginEditing
andchipFieldDidEndEditing
so they are fired at the correct time. (Nobody)
๐ Dialogs
- Avoid cutting off the top of Thai characters with diacritics. In iOS platform, text font are not strictly required to fit within the UIFont.lineHeight. Some Thai characters with diacritics are rendered outside the UILabel/UITextView's bounds. (Nobody)
- Groups MDCAlertController view's accessibility children. (Nobody)
- Inform the dialogPresentationControllerDelegate that the alert controller is dismissed when the dismissal is issued from the accessibility gesture. (Nobody)
NavigationBar
- โฌ๏ธ Upgrade Swift to 5. (Jeff Verkoeyen)
Shadow
- Add initial readme file with simple usage guide. (Yarden Eitan)
- Code improvements for the new Shadow component. (Yarden Eitan)
- Dragon Catalog example of new in-development Shadow component. (Ben Hamilton)
- ๐ Move MDCShadowForElevation to become an instance method of MDCShadowsCollection. (Yarden Eitan)
- Remove attribute((fallthrough)) (Yarden Eitan)
Typography
- Deleted scaledValueForValue API from Material Typography. (Alyssa Weiss)
- ๐ Remove description related to iOS 9 as there is no longer iOS 9 support (Alyssa Weiss)
Multi-component changes
- ๐ Add opt-in new performant shadow support. (Yarden Eitan)
- Annotate APIs with tvOS availability. (Jeff Verkoeyen)
- Disable label animation when label is truncated (Andrew Overton)
- ๐ Fix broken images in iOS/Supporting APIs dev docs (Nobody)
- ๐ Fix build errors related to the Shadow component. (Jeff Verkoeyen)
- โ Flattening all unit tests into single directories as per convention. (Jeff Verkoeyen)
- Internal Change (Yarden Eitan)
- Internal change. (Jeff Verkoeyen)
- Internal change. (Jeff Verkoeyen)
- โก๏ธ Miscellaneous doc updates (Andrew Overton)
- Remove all iOS 10 availability checks from material_components_ios now that only iOS 10+ is supported. (Alyssa Weiss)
-
v124.1.1 Changes
๐ In this minor release we added a new Shadow Component and removed the Shrine demo.
๐ New features
A new Shadow Component.
API changes
Shadow
๐ Use the new Shadow component to create a shadow adjusted to your elevation:
MDCShadow *lowElevationShadow = MDCShadowForElevation(2); MDCShadow *highElevationShadow = MDCShadowForElevation(24);
let lowElevation = MDCShadowForElevation(2) let highElevation = MDCShadowForElevation(24)
Component changes
Shadow
-
v124.0.1 Changes
๐ This patch release fixes a bug in BottomNavigation.
Component changes
BottomNavigation
- โก๏ธ Update hidden state logic to address a race condition occurring when showing/hiding the navigation bar multiple times before the animation ends. (German Rodriguez)
-
v124.0.0 Changes
๐ In this release
MDCTextField
and its associated classes and protocols are deprecated. We also deleted the Pesto example application and cleaned up pre iOS 12 checks in the library.๐ฅ Breaking changes
๐
MDCTextField
and its associated classes and protocols are deprecated.API changes
- All classes and protocols under in the
components/TextFields
folder are now deprecated.
Component changes
TextFields
- ๐ Deprecate MDCTextField and its associated classes/protocols (Andrew Overton)
Multi-component changes
- Internal change (Jeff Verkoeyen)
- All classes and protocols under in the
-
v123.0.0 Changes
๐ In this major release we have made the MDCBottomNavigationBarController class and its APIs only be available from iOS 12 and up.
๐ฅ Breaking changes
๐ The MDCBottomNavigationBarController class now only supports iOS 12 and up.
Component changes
ActivityIndicator
- โ Add unit tests. (Cody Weaver)
BottomNavigation
- ๐ Annotate APIs as only supporting iOS 12+. (Jeff Verkoeyen)
๐ Dialogs
-
v122.0.1 Changes
๐ This patch release fixes a bug and generally cleans up import statements.
Component changes
BottomNavigation
NavigationDrawer
- โ Increase code coverage by adding more tests. (Yarden Eitan)
Multi-component changes
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
-
v122.0.0 Changes
๐ In this major release, we have made some API-breaking changes and landed some bug fixes and test improvements.
๐ฅ Breaking changes
FlexibleHeader
- FlexibleHeader's topSafeAreaGuide is now a UIView.
ProgressView
- ๐ We've removed generics annotations from ProgressView's progressTintColors.
Component changes
AppBar
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
BottomNavigation
- Ensure correct Voiceover behavior in iOS 14. (Alyssa Weiss)
Buttons
- Add inferMinimumAndMaximumSizeWhenMultiline (Andrew Overton)
- Internal change (Andrew Overton)
Collections
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
๐ Dialogs
- ๐ Fixed typo in API doc. (Randall Li)
FlexibleHeader
- Redefine topSafeAreaGuide as a UIView. (Randall Li)
ProgressView
- โ Add snapshot and unit tests. (Alyssa Weiss)
- ๐ Remove generics from ProgressView's progressTintColors (Andrew Overton)
Tabs
- โก๏ธ Optimizing imports (Cody Weaver)
Multi-component changes
- Clean up markdown formatting. (Nobody)
- Expose density on text fields and text areas (Andrew Overton)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
- โก๏ธ Optimizing imports (Jeff Verkoeyen)
-
v121.0.1 Changes
๐ In this patch release we made some internal improvements to our imports and refined our deprecation policy.
Component changes
BottomNavigation
- Fix imports for MDCBottomNavigationItemView. (Alyssa Weiss)
- ๐ Remove unused 'kOfAnnouncement' and fix imports. (Alyssa Weiss)
Ripple
- Declare parameter type NSArray in the Ripple implementation. (Yarden Eitan)
TextControls
- Fix imports for clang tidy (Andrew Overton)
Typography
- โก๏ธ UIFont MDC simple equality: updated class docs. (Randall Li)
-
v121.0.0 Changes
๐ In this major release, we added a
scrollViewBounce
property and aadjustHeightForSafeAreaInsets
property to BottomSheets, added ashouldAutorotateOverride
property, apreferredInterfaceOrientationForPresentationOverride
property, asupportedInterfaceOrientationsOverride
property, and amodalTransitionStyleOverride
property to MDCAlertController, and convertedprogressTintColors
property on MDCProgressView to use light weight generics.๐ฅ Breaking changes
ProgressView
MDCProgressView's property
progressTintColors
started using light weight generics so values pass in need to be typed correctly.๐ New features
BottomSheet
Bottom sheets have new propertie that turn off the overscroll and safe area insets.
๐ Dialogs
โ Added a
shouldAutorotateOverride
property, apreferredInterfaceOrientationForPresentationOverride
property, asupportedInterfaceOrientationsOverride
property, and amodalTransitionStyleOverride
property to MDCAlertController.ProgressView
Converted
progressTintColors
property on MDCProgressView to use light weight generics.Component changes
BottomSheet
- Add BOOL property for whether or not the height of the bottom sheet should adjust for safe area insets. (Alyssa Weiss)
- Add flag that turns off simulated bouncing when there isn't a tracking scroll view (Andrew Overton)
Buttons
- ๐ Add documentation for Enums. (Cody Weaver)
Chips
- ๐ Add docs for MDCChipField (Andrew Overton)
๐ Dialogs
- ๐ Adding customized interface orientations and transition style support to the alert dialog. (Nobody)
List
- ๐ Use isKindOfClass to ensure there is support for all MDCShadowLayer's subclasses. (Yarden Eitan)
ProgressView
- Add Objective-C generics to MDCProgressView (Andrew Overton)
-
v120.0.0 Changes
๐ In this major release, we deleted the
elevationOverlayColor
property from MDCSemanticColorScheme, added aplaceholderColor
property to MDCTextControls, added ashapedBorderColor
property and ashapedBorderWidth
property to MDCShapedView, and made multiple bug fixes.๐ฅ Breaking changes
ColorScheme
The
elevationOverlayColor
property has been deleted.๐ New features
ShapedView
โ Added
shapedBorderColor
andshapedBorderWidth
properties.TextControls
โ Added
placeholderColor
property.Component changes
BottomSheet
- Fix bug that was causing messy animation when a keyboard is going to appear after the bottom sheet dismisses. (Alyssa Weiss)
NavigationDrawer
ShadowLayer
- ๐ Add example for performance testing. (Cody Weaver)
Shapes
- ๐ง Add properties to configure the border color/width of
MDCShapedView
. (Darren Mo)
Snackbar
- โ Add present+dismiss unit test for legacy snackbar. (Yarden Eitan)
- Make imports more explicit (Cody Weaver)
Tabs
- ๐ Remove iOS 10 check in accessibilityTrait handling since only iOS 10 + is supported now (Alyssa Weiss)
TextControls
- Add placeholderColor property (Andrew Overton)
schemes/Color