|
| 1 | +# 96.0.0 |
| 2 | + |
| 3 | +In this major release we deleted and deprecated a bunch of APIs in BottomAppBar, Snackbar, |
| 4 | +TextField, ActionSheet, BottomNavigation, ButtonBar, Cards, Feature highlight, Ink, Page control, |
| 5 | +and Tabs. We also enables ripple by default on Action Sheet. It was using a legacy ink animation. |
| 6 | + |
| 7 | +## Breaking changes |
| 8 | + |
| 9 | +### BottomAppBar |
| 10 | + |
| 11 | +Delete deprecated MDCBottomAppBarColorThemer |
| 12 | + |
| 13 | +### Snackbar |
| 14 | + |
| 15 | +Delete snackbarMessageViewTextColor |
| 16 | + |
| 17 | +### TextField |
| 18 | + |
| 19 | +Delete MDCTextFieldColorThemer |
| 20 | + |
| 21 | +## New deprecations |
| 22 | + |
| 23 | +### ActionSheet |
| 24 | + |
| 25 | +Deprecated inkColor. Use the ripple APIs. |
| 26 | + |
| 27 | +### BottomNavigation |
| 28 | + |
| 29 | +Deprecate MDCBottomNavigationTypography themer |
| 30 | + |
| 31 | +### ButtonBar |
| 32 | + |
| 33 | +Deprecate MDCButtonBarColorThemer |
| 34 | + |
| 35 | +### Button |
| 36 | + |
| 37 | +Deprecate MDCFloatingButtonShapeThemer |
| 38 | + |
| 39 | +### Cards |
| 40 | + |
| 41 | +Deprecate MDCCardThemer |
| 42 | + |
| 43 | +### Feature highlight |
| 44 | + |
| 45 | +Deprecate MDCFeatureHighlightFontThemer |
| 46 | + |
| 47 | +### Ink |
| 48 | + |
| 49 | +Deprecate MDCInkColorThemer |
| 50 | + |
| 51 | +### Page Control |
| 52 | + |
| 53 | +Deprecate-MDCPageControlColorThemer-applyColorScheme-toPageContro |
| 54 | + |
| 55 | +### Snackbar |
| 56 | + |
| 57 | +Deprecate MDCSnackbarColorThemer |
| 58 | + |
| 59 | +### Tabs |
| 60 | + |
| 61 | +Deprecate MDCTabBarColorThemer |
| 62 | + |
| 63 | +### TextFields |
| 64 | + |
| 65 | +Deprecate MDCTextFieldFontThemer |
| 66 | + |
| 67 | +## New features |
| 68 | + |
| 69 | +### Chips |
| 70 | + |
| 71 | +ChipFieldShouldBeginEditing method to MDCChipFieldDelegate to control if editing is allowed. |
| 72 | + |
| 73 | +``` |
| 74 | +- (BOOL)chipFieldShouldBeginEditing:(MDCChipField *)chipField { |
| 75 | + return YES; |
| 76 | +} |
| 77 | +```` |
| 78 | + |
| 79 | +### Snackbar |
| 80 | + |
| 81 | +Adds elementToFocusOnDismiss to MDCSnackbarMessage so a client can specify a view to focus on after the snackbar message is dismissed. |
| 82 | + |
| 83 | +```objc |
| 84 | +snackBarMessage.elementToFocusOnDismiss = view; |
| 85 | +``` |
| 86 | + |
| 87 | +## API changes |
| 88 | + |
| 89 | +#### ActionSheet |
| 90 | + |
| 91 | +*deprecated* property: `inkColor` in `MDCActionSheetController`. Use rippleColor instead. |
| 92 | + |
| 93 | +*deprecated* property: `enableRippleBehavior` in `MDCActionSheetController`. Use ripple. |
| 94 | + |
| 95 | +#### BottomAppBar |
| 96 | + |
| 97 | +*deprecated* class: `MDCBottomAppBarColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API. |
| 98 | + |
| 99 | +#### BottomNavigationBar |
| 100 | + |
| 101 | +*deprecated* class: `MDCBottomNavigationBarTypographyThemer`. Please use the Theming extension instead. |
| 102 | + |
| 103 | +#### ButtonBar |
| 104 | + |
| 105 | +*deprecated* class: `MDCButtonBarColorThemer`. ButtonBar is not intended to be themed as a standalone component. Please theme it via the AppBar component's Theming extension instead. |
| 106 | + |
| 107 | +#### Button |
| 108 | + |
| 109 | +*deprecated* class: `MDCFloatingButtonShapeThemer`. Please use [MDCFloatingButton applySecondaryThemeWithScheme:] instead. (Note: Shape theming is no longer available as an independent API. |
| 110 | + |
| 111 | +#### Cards |
| 112 | + |
| 113 | +*deprecated* protocol: `MDCCardScheming`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes. |
| 114 | + |
| 115 | +*deprecated* class: `MDCCardScheme`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes. |
| 116 | + |
| 117 | +*deprecated* class: `MDCCardThemer`. Please use MaterialCards+Theming instead. |
| 118 | + |
| 119 | +#### ChipField |
| 120 | + |
| 121 | +*new* method: `-chipFieldShouldBeginEditing:` in `MDCChipFieldDelegate`. Asks the delegate if editing should begin in the specified chip field. |
| 122 | + |
| 123 | +#### FeatureHighlight |
| 124 | + |
| 125 | +*deprecated* class: `MDCFeatureHighlightFontThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API. |
| 126 | + |
| 127 | +#### Ink |
| 128 | + |
| 129 | +*deprecated* class: `MDCInkColorThemer`. Please use Ripple instead. |
| 130 | + |
| 131 | +#### Page Control |
| 132 | + |
| 133 | +*deprecated* class: `MDCPageControlColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API. |
| 134 | + |
| 135 | +#### Snackbar |
| 136 | + |
| 137 | +*removed* property: `snackbarMessageViewTextColor` in `MDCSnackbarMessageView`. Use messsageTextColor instead. |
| 138 | + |
| 139 | +*deprecated* class: `MDCSnackbarColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API. |
| 140 | + |
| 141 | +*new* property: `elementToFocusOnDismiss` in `MDCSnackbarMessage`. Element to focus on snackbar message dismiss. Focuses the first element on screen after dismiss by default. The focus will change to the element only if the focus is on the snackbar message. |
| 142 | + |
| 143 | +#### Tabs |
| 144 | + |
| 145 | +*deprecated* class: `MDCTabBarColorThemer`. Please use the Theming extension instead. |
| 146 | + |
| 147 | +## Component changes |
| 148 | + |
| 149 | +### ActionSheet |
| 150 | + |
| 151 | +* [Action sheet enable ripple (#9135)](https://github.com/material-components/material-components-ios/commit/96cebca8cdf5bdb52f4f508f222e51bf011a8348) (Bryan Oltman) |
| 152 | +* [Deprecate MDCActionSheetAction inkColor (#9127)](https://github.com/material-components/material-components-ios/commit/0107d70d28b286e66e909d068600e577f673ee2a) (Bryan Oltman) |
| 153 | + |
| 154 | +### Banner |
| 155 | + |
| 156 | +* [Add a Swift example. (#9173)](https://github.com/material-components/material-components-ios/commit/d1b7468f336d0f875356f2435774e897da9ca431) (Wenyu Zhang) |
| 157 | +* [Update Readme to document the latest APIs. (#9100)](https://github.com/material-components/material-components-ios/commit/033bbd7a7addd6f38d72aa63d699c7bcc09e08d0) (Wenyu Zhang) |
| 158 | + |
| 159 | +### BottomNavigation |
| 160 | + |
| 161 | +* [Deprecate MDCBottomNavigationTypography themer and update docs (#9156)](https://github.com/material-components/material-components-ios/commit/3a92bc4acb767bcd6ebc9aa07c34b19e4e47c34d) (Andrew Overton) |
| 162 | +* [Migrate MDCBottomNavigationBarColorThemer use to theming extension (#9142)](https://github.com/material-components/material-components-ios/commit/3b0bc4fda3b9792606730e0fe0d52acbcd24daf3) (Bryan Oltman) |
| 163 | + |
| 164 | +### ButtonBar |
| 165 | + |
| 166 | +* [Deprecate MDCButtonBarColorThemer (#9155)](https://github.com/material-components/material-components-ios/commit/1e167e23766a9cc70d92a9d132ef72930e5990d7) (Andrew Overton) |
| 167 | + |
| 168 | +### Buttons |
| 169 | + |
| 170 | +* [Deprecate MDCFloatingButtonShapeThemer (#9101)](https://github.com/material-components/material-components-ios/commit/b4858b9bf56cd7172fb86cb89d7a6e87cf61c615) (Galia Kaufman) |
| 171 | +* [Removing deprecated MDCFloatingButtonShapeThemer from theming extension (#9102)](https://github.com/material-components/material-components-ios/commit/16320d671e24a374c70acb0afbcacfd77aab255b) (Galia Kaufman) |
| 172 | + |
| 173 | +### Cards |
| 174 | + |
| 175 | +* [Delete old docs (#9163)](https://github.com/material-components/material-components-ios/commit/1a067127a2004b8a6eedacf9bfd3e709a884fe3b) (Andrew Overton) |
| 176 | +* [Deprecate MDCCardThemer (#9054)](https://github.com/material-components/material-components-ios/commit/394a518d3e1203f7512167c4add9938bb21d191c) (Andrew Overton) |
| 177 | +* [Deprecate MDCCardThemer (#9108)](https://github.com/material-components/material-components-ios/commit/0c529fd53d0121a8759f02f6c0f780116cc6a92b) (Bryan Oltman) |
| 178 | +* [Migrate MDCCardsColorThemer to theming extensions (#9141)](https://github.com/material-components/material-components-ios/commit/4e414624388c896c573fa1a67344d1caeab08f5a) (Bryan Oltman) |
| 179 | + |
| 180 | +### Chips |
| 181 | + |
| 182 | +* [Add RTL snapshot tests. (#9131)](https://github.com/material-components/material-components-ios/commit/c369d445e52a925b2aa6435ed80ab976fee09cd0) (Robert Moore) |
| 183 | +* [Add chipFieldShouldBeginEditing method to MDCChipFieldDelegate (#9157)](https://github.com/material-components/material-components-ios/commit/9c3a3fbdd2d97b0a45a1273730e5e71c76f46c83) (Bryan Oltman) |
| 184 | +* [Fix calculation of accessory frame. (#9167)](https://github.com/material-components/material-components-ios/commit/df352364df6d128f15b7fe0ec93c84774f412e6d) (Robert Moore) |
| 185 | +* [Remove Themer references from README (#9149)](https://github.com/material-components/material-components-ios/commit/7491ff40712ecd1bc5b6952b5f0ad66f48f13e54) (Bryan Oltman) |
| 186 | + |
| 187 | +### Dialogs |
| 188 | + |
| 189 | +* [Snapshot tests for long action titles. (#9154)](https://github.com/material-components/material-components-ios/commit/a73bc32e9fa870a7a95fe6eed9e8505cab26830c) (Robert Moore) |
| 190 | + |
| 191 | +### FeatureHighlight |
| 192 | + |
| 193 | +* [deprecate MDCFeatureHighlightFontThemer (#9115)](https://github.com/material-components/material-components-ios/commit/c8b904426e6ca6c8e2cdc363c00d8bf6bbd99f05) (Andrew Overton) |
| 194 | + |
| 195 | +### Ink |
| 196 | + |
| 197 | +* [Deprecate MDCInkColorThemer (#9113)](https://github.com/material-components/material-components-ios/commit/06d9c4a0eb1022a677671b5b3f7db3b2bad8ae47) (Andrew Overton) |
| 198 | + |
| 199 | +### List |
| 200 | + |
| 201 | +* [removing use of MDCListColorThemer before deprecating it. (#9145)](https://github.com/material-components/material-components-ios/commit/5c4884261f5e228f7bc1e81c7d5a967b8c2b917b) (Galia Kaufman) |
| 202 | + |
| 203 | +### PageControl |
| 204 | + |
| 205 | +* [Update read me for MDCPageControlColorThemer (#9153)](https://github.com/material-components/material-components-ios/commit/41dd9f2ac300b49fa8c1e71209a5795655bc0a86) (Andrew Overton) |
| 206 | +* [deprecate-MDCPageControlColorThemer-applyColorScheme-toPageControl (#9123)](https://github.com/material-components/material-components-ios/commit/27957164144e00b5a4a30ef40f712126ebb5db1b) (Andrew Overton) |
| 207 | + |
| 208 | +### Snackbar |
| 209 | + |
| 210 | +* [Adds elementToFocusOnDismiss to MDCSnackbar (#9148)](https://github.com/material-components/material-components-ios/commit/a14b9c668da2e19a629b3d69999e9e3a5811bf16) (Yarden Eitan) |
| 211 | +* [Deprecate MDCSnackbarColorThemer (#9152)](https://github.com/material-components/material-components-ios/commit/e4fad9a7a88f1f907043a88dae024327000d1c12) (Andrew Overton) |
| 212 | +* [delete snackbarMessageViewTextColor (#9056)](https://github.com/material-components/material-components-ios/commit/13b9ec6835818d8c389ac6520570e2acca618402) (Andrew Overton) |
| 213 | + |
| 214 | +### Tabs |
| 215 | + |
| 216 | +* [Deprecate MDCTabBarColorThemer (#9103)](https://github.com/material-components/material-components-ios/commit/044d5331d74253745fc3494487f953b62038b2de) (Andrew Overton) |
| 217 | +* [Disable Ripple while scrolling TabBarView (#9144)](https://github.com/material-components/material-components-ios/commit/79e48f49416256d1af8eb09f7ba6b273a97887c0) (Robert Moore) |
| 218 | +* [Document `MDCTabBarViewLayoutStyle` (#9132)](https://github.com/material-components/material-components-ios/commit/9ef0b30611b8283d19ea496060acafd2433e1188) (Robert Moore) |
| 219 | + |
| 220 | +### TextFields |
| 221 | + |
| 222 | +* [Delete MDCTextFieldColorThemer (#9109)](https://github.com/material-components/material-components-ios/commit/87b9dd5a7d9b8bf38c8ed1ba1c3c5b0e9b838dd8) (Bryan Oltman) |
| 223 | +* [Deprecate MDCTextFieldFontThemer (#9169)](https://github.com/material-components/material-components-ios/commit/6d2bfc4e3bcb7e6e6fb8586d1f17b5d39fe94cbe) (Andrew Overton) |
| 224 | +* [Remove references to MDCTextFieldColorThemer from README (#9151)](https://github.com/material-components/material-components-ios/commit/85f6dd9c09ae70973632c50b11dbd3b737354ed9) (Bryan Oltman) |
| 225 | + |
| 226 | +## Multi-component changes |
| 227 | + |
| 228 | +* [Delete deprecated MDCBottomAppBarColorThemer (#9166)](https://github.com/material-components/material-components-ios/commit/68a65d33d374baa0d5814f42cc7b52e8b9b4d2ae) (Bryan Oltman) |
| 229 | + |
| 230 | +--- |
| 231 | + |
1 | 232 | # 95.0.1
|
2 | 233 |
|
3 | 234 | In this hotfix we revert c83333f to address issue where dialog messages are not properly displayed
|
@@ -50,7 +281,6 @@ We deprecated the color themer in preperation of deleting it. Use theming instea
|
50 | 281 |
|
51 | 282 | We deprecated the color themer in preperation of deleting it. Use theming instead.
|
52 | 283 |
|
53 |
| - |
54 | 284 | ### Text Field
|
55 | 285 |
|
56 | 286 | We deprecated the color themer in preperation of deleting it. Use theming instead.
|
|
0 commit comments