|
| 1 | +# 97.0.0 |
| 2 | + |
| 3 | +In this major release we deleted and deprecated numerous APIs in ActionSheet, BottomNavigation, |
| 4 | +ButtonBar, Cards, Feature highlight, Ink, Page control, Snackbar, TextField, and Tabs. We also |
| 5 | +fixed Chip padding for Material theming. |
| 6 | + |
| 7 | +## Breaking changes |
| 8 | + |
| 9 | +### ActionSheet |
| 10 | + |
| 11 | +Delete inkColor and enableRippleBehavior properties. |
| 12 | + |
| 13 | +### BottomNavigation |
| 14 | + |
| 15 | +Delete MDCBottomNavigationBarColorThemer |
| 16 | + |
| 17 | +### Cards |
| 18 | + |
| 19 | +Delete MDCCardsColorThemer |
| 20 | +Delete MDCCardsShapeThemer |
| 21 | + |
| 22 | +### FeatureHighlight |
| 23 | + |
| 24 | +Delete MDCFeatureHighlightFontThemer |
| 25 | + |
| 26 | +### Ink |
| 27 | + |
| 28 | +Delete MDCInkColorThemer |
| 29 | + |
| 30 | +### List |
| 31 | + |
| 32 | +Delete MDCListThemer |
| 33 | + |
| 34 | +### PageControl |
| 35 | + |
| 36 | +Delete MDCPageControlColorThemer |
| 37 | + |
| 38 | +### ProgressView |
| 39 | + |
| 40 | +Delete MDCProgressViewColorThemer |
| 41 | + |
| 42 | +### Snackbar |
| 43 | + |
| 44 | +Delete MDCSnackbarColorThemer |
| 45 | + |
| 46 | +### Tabs |
| 47 | + |
| 48 | +Delete MDCTabBarFontThemer |
| 49 | + |
| 50 | +### TextFields |
| 51 | + |
| 52 | +Delete MDCTextFieldFontThemer |
| 53 | + |
| 54 | +## New deprecations |
| 55 | + |
| 56 | +### Buttons |
| 57 | + |
| 58 | +Deprecate MDCButtonColorThemer |
| 59 | +Deprecate MDCFloatingActionButtonThemer |
| 60 | +Deprecate MDCTextButtonThemer |
| 61 | +Deprecating MDCButtonScheme |
| 62 | +Deprecating MDCButtonShapeThemer |
| 63 | +Deprecating MDCButtonTypographyThemer |
| 64 | +Deprecating MDCContainedButtonThemer |
| 65 | +Deprecating MDCOutlinedButtonThemer |
| 66 | + |
| 67 | +### Cards |
| 68 | + |
| 69 | +Delete Themer classes |
| 70 | + |
| 71 | +### FeatureHighlight |
| 72 | + |
| 73 | +Deprecate MDCFeatureHighlightTypographyThemer |
| 74 | + |
| 75 | +### NavigationDrawer |
| 76 | + |
| 77 | +Deprecate MDCBottomDrawerColorTHemer |
| 78 | + |
| 79 | +### TextFields |
| 80 | + |
| 81 | +Deprecate MDCTextFieldTypographyThemer |
| 82 | +Deprecate MDCOutlinedTextFieldColorThemer |
| 83 | + |
| 84 | +## API changes |
| 85 | + |
| 86 | +### ActionSheet |
| 87 | + |
| 88 | +*removed* property: `inkColor` in `MDCActionSheetController`. Use rippleColor instead. |
| 89 | + |
| 90 | +*removed* property: `enableRippleBehavior` in `MDCActionSheetController`. Use ripple. |
| 91 | + |
| 92 | +#### Navigation Bar |
| 93 | + |
| 94 | +*removed* class: MDCBottomNavigationBarColorThemer. Use MaterialBottomNavigation+Theming instead. |
| 95 | + |
| 96 | +#### Buttons |
| 97 | + |
| 98 | +*deprecated* protocol: `MDCButtonScheming`. Please use MDCContainerScheming. |
| 99 | + |
| 100 | +*deprecated* class: `MDCButtonScheme`. Please use MDCContainerScheming. |
| 101 | + |
| 102 | +*deprecated* class: `MDCContainedButtonThemer`. Please use MDCButton:applyContainedThemeWithScheme: instead. |
| 103 | + |
| 104 | +*deprecated* class: `MDCFloatingActionButtonThemer`. Please use [MDCFloatingButton applySecondaryThemeWithScheme:] instead. |
| 105 | + |
| 106 | +*deprecated* class: `MDCOutlinedButtonThemer`. Please use MDCButton:applyOutlinedThemeWithScheme: instead. |
| 107 | + |
| 108 | +*deprecated* class: `MDCTextButtonThemer`. Please use MDCButton:applyTextThemeWithScheme: instead. |
| 109 | + |
| 110 | +*deprecated* class: `MDCButtonColorThemer`. Please use the MDCButton+MaterialTheming API instead. |
| 111 | + |
| 112 | +*deprecated* class: `MDCButtonShapeThemer`. Please use MDCButton+MaterialTheming instead. (Note: Shape theming is no longer available as an independent API.). |
| 113 | + |
| 114 | +*deprecated* class: `MDCButtonTypographyThemer`. Please use MDCButton+MaterialTheming instead. (Note: Typography theming is no longer available as an independent API.). |
| 115 | + |
| 116 | +#### Cards |
| 117 | + |
| 118 | +*removed* protocol: `MDCCardScheming`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes. |
| 119 | + |
| 120 | +*removed* class: `MDCCardScheme`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes. |
| 121 | + |
| 122 | +*removed* class: `MDCCardThemer`. Please use MaterialCards+Theming instead. |
| 123 | + |
| 124 | +*removed* class: `MDCCardsColorThemer`. Please use MaterialCards+Theming instead. |
| 125 | +*removed* class: `MDCCardsShapeThemer`. Please use MaterialCards+Theming instead. |
| 126 | + |
| 127 | +#### FeatureHighlight |
| 128 | + |
| 129 | +*removed* 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. |
| 130 | +*deprecated* class: `MDCFeatureHighlightTypographyThemer`. 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. |
| 131 | + |
| 132 | +### Ink |
| 133 | + |
| 134 | +*removed* class: `MDCInkColorThemer`. Please use Ripple instead. |
| 135 | + |
| 136 | +### List |
| 137 | + |
| 138 | +*removed* class: `MDCListScheming`. Please use MDCContainerScheme APIs. |
| 139 | +*removed* class: `MDCListScheme`. Please use MDCContainerScheme APIs. |
| 140 | +*removed* class: `MDCListThemer`. Please use MDCContainerScheme APIs. |
| 141 | + |
| 142 | +### BottomDrawer |
| 143 | + |
| 144 | +*deprecated* class: `MDCBottomDrawerColorThemer`. 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. |
| 145 | + |
| 146 | +#### Page Control |
| 147 | + |
| 148 | +*removed* 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. |
| 149 | + |
| 150 | +#### ProgressView |
| 151 | + |
| 152 | +*removed* class: `MDCProgressViewColorThemer`. 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. |
| 153 | + |
| 154 | + |
| 155 | +#### Snackbar |
| 156 | + |
| 157 | +*removed* class: `MDCSnackbarColorThemer`. Please use the Theming extension instead. |
| 158 | + |
| 159 | +#### Tab Bar |
| 160 | + |
| 161 | +*removed* class: MDCTabBarFontThemer. Please use the theming extension instead. |
| 162 | + |
| 163 | +#### TextField |
| 164 | + |
| 165 | +*deprecated* class: `MDCOutlinedTextFieldColorThemer`. Please use the Theming extension on MDCTextInputControllerOutlined instead. |
| 166 | + |
| 167 | +*removed* class: `MDCTextFieldFontThemer`. Please use the Theming extension, or MDCTextControls and their theming extensions instead. |
| 168 | + |
| 169 | +*deprecated* class: `MDCTextFieldTypographyThemer`. Please use MDCTextInputControllerFilled+MaterialTheming.h or MDCTextInputControllerOutlined+MaterialTheming.h instead. |
| 170 | + |
| 171 | +#### Thumb Track |
| 172 | + |
| 173 | +*removed* property: `thumbMaxRippleRadius` in `MDCThumbTrack`. Opt-in to Ripple by setting enableRippleBehavior to YES, and then use thumbRippleMaximumRadius instead. Learn more at https://github.com/material-components/material-components-ios/tree/develop/components/Ink#migration-guide-ink-to-ripple |
| 174 | + |
| 175 | +## Component changes |
| 176 | + |
| 177 | +## Changes |
| 178 | + |
| 179 | +### ActionSheet |
| 180 | + |
| 181 | +* [Delete inkColor and enableRippleBehavior properties (#9238)](https://github.com/material-components/material-components-ios/commit/4d945c06b144c0406520d218e76588a59cadb782) (Bryan Oltman) |
| 182 | +* [Remove equality check when setting rippleColor to prevent crashes stemming from CIColor (#9237)](https://github.com/material-components/material-components-ios/commit/30df338682e1abd7d3e547ca59844d9ea4ff1b19) (Bryan Oltman) |
| 183 | + |
| 184 | +### Banner |
| 185 | + |
| 186 | +* [Fix height when no action button shows. (#9218)](https://github.com/material-components/material-components-ios/commit/95c9b0bb8c62826a83a973be4404282bc1a53931) (Wenyu Zhang) |
| 187 | + |
| 188 | +### BottomNavigation |
| 189 | + |
| 190 | +* [Delete MDCBottomNavigationBarColorThemer (#9198)](https://github.com/material-components/material-components-ios/commit/1ae1e4cbbb437199d260f85d4dd0929b4dfe6ca5) (Bryan Oltman) |
| 191 | + |
| 192 | +### Buttons |
| 193 | + |
| 194 | +* [Deprecate MDCButtonColorThemer (#9179)](https://github.com/material-components/material-components-ios/commit/615eafc7dedb4de6d651277ef162f2cfa1f4c3b7) (Galia Kaufman) |
| 195 | +* [Deprecate MDCFloatingActionButtonThemer (#9183)](https://github.com/material-components/material-components-ios/commit/8ac2b48023f29ee9c13d5a8c81651b76151bd168) (Galia Kaufman) |
| 196 | +* [Deprecate MDCTextButtonThemer (#9182)](https://github.com/material-components/material-components-ios/commit/9c52d3f51958ff6c191a0a05fb02dc335a0a524c) (Galia Kaufman) |
| 197 | +* [Deprecating MDCButtonScheme (#9186)](https://github.com/material-components/material-components-ios/commit/770509b00ea117bad845d4872c43c784e524ac5d) (Galia Kaufman) |
| 198 | +* [Deprecating MDCButtonShapeThemer (#9184)](https://github.com/material-components/material-components-ios/commit/f3c2e944564dfc2924f297b9e0d09f8f09a84c63) (Galia Kaufman) |
| 199 | +* [Deprecating MDCButtonTypographyThemer (#9185)](https://github.com/material-components/material-components-ios/commit/8ca168b8eb231bd5f1ed4db752a2afe45df2732d) (Galia Kaufman) |
| 200 | +* [Deprecating MDCContainedButtonThemer (#9180)](https://github.com/material-components/material-components-ios/commit/26f40643b4179ba09775cff5e7fa3371c4dd639f) (Galia Kaufman) |
| 201 | +* [Deprecating MDCOutlinedButtonThemer (#9181)](https://github.com/material-components/material-components-ios/commit/435d573df41f084a71486e55d668a2797fcf1840) (Galia Kaufman) |
| 202 | + |
| 203 | +### Chips |
| 204 | + |
| 205 | +* [Fix padding for Material theming. (#9193)](https://github.com/material-components/material-components-ios/commit/06a4713d557dd55abd49525fba00f86d768ea53a) (Robert Moore) |
| 206 | + |
| 207 | +### Dialogs |
| 208 | + |
| 209 | +* [Limit Action Button width (#9143)](https://github.com/material-components/material-components-ios/commit/87d9b7ad7523f31353366cb1159e9c35e64d6135) (Bambara@) |
| 210 | + |
| 211 | +### FeatureHighlight |
| 212 | + |
| 213 | +* [Delete MDCFeatureHighlightFontThemer (#9230)](https://github.com/material-components/material-components-ios/commit/ad9631c0f771bcb5ccb3b153054abf1848d944b6) (Andrew Overton) |
| 214 | +* [Deprecate MDCFeatureHighlightTypographyThemer (#9225)](https://github.com/material-components/material-components-ios/commit/1920dd687859b517a3d22d0f1ef473f5f8fa5187) (Andrew Overton) |
| 215 | +* [Don't use MDCFeatureHighlightTypographyThemer in examples (#9224)](https://github.com/material-components/material-components-ios/commit/0f9e889b7d15348f14079a2b0ed2ca673e6f1ffc) (Andrew Overton) |
| 216 | + |
| 217 | +### Ink |
| 218 | + |
| 219 | +* [Remove MDCInkColorThemer (#9228)](https://github.com/material-components/material-components-ios/commit/388fea7ebe0813b907a4b4cf74772318047e837b) (Andrew Overton) |
| 220 | + |
| 221 | +### List |
| 222 | + |
| 223 | +* [Removing MDCListThemer (#9187)](https://github.com/material-components/material-components-ios/commit/36f6a30fa6530a141c25d5e4522b2428d4e473b2) (Galia Kaufman) |
| 224 | + |
| 225 | +### NavigationDrawer |
| 226 | + |
| 227 | +* [Deprecate MDCBottomDrawerColorTHemer (#9205)](https://github.com/material-components/material-components-ios/commit/e3603e4bfaa431710449f35040f778ca2ba7be08) (Andrew Overton) |
| 228 | +* [Don't use MDCBottomDrawerColorThemer (#9204)](https://github.com/material-components/material-components-ios/commit/ab8c10bfdf57b6ae226ffe6aa6a7bbe825871ddc) (Andrew Overton) |
| 229 | + |
| 230 | +### PageControl |
| 231 | + |
| 232 | +* [Delete MDCPageControlColorThemer (#9202)](https://github.com/material-components/material-components-ios/commit/f30baf3330ba5d4aac79811b3906da64a3af6989) (Andrew Overton) |
| 233 | + |
| 234 | +### ProgressView |
| 235 | + |
| 236 | +* [Delete MDCProgressViewColorThemer (#9231)](https://github.com/material-components/material-components-ios/commit/b47266325e6ed1fdffd3094bc7133bb6fe4024a6) (Andrew Overton) |
| 237 | +* [Deprecate MDCProgressViewColorThemer (#9203)](https://github.com/material-components/material-components-ios/commit/c0fc20cce933f9a208407367bb215c7f5df8af33) (Andrew Overton) |
| 238 | + |
| 239 | +### Snackbar |
| 240 | + |
| 241 | +* [Delete MDCSnackbarColorThemer (#9227)](https://github.com/material-components/material-components-ios/commit/04de6086a913577ce3dd780ef3f9a2295e121740) (Andrew Overton) |
| 242 | + |
| 243 | +### Tabs |
| 244 | + |
| 245 | +* [Delete MDCTabBarFontThemer (#9201)](https://github.com/material-components/material-components-ios/commit/da280903ddbec822d497f8a97cd9a8093f50029c) (Andrew Overton) |
| 246 | +* [Fix examples. (#9233)](https://github.com/material-components/material-components-ios/commit/1606c38d208e295610c32d22dd334a8d7369c21e) (Robert Moore) |
| 247 | + |
| 248 | +### TextFields |
| 249 | + |
| 250 | +* [Delete MDCTextFieldFontThemer (#9226)](https://github.com/material-components/material-components-ios/commit/df1ac34ea1bc1859a31cd81a65106a85f2d46e45) (Andrew Overton) |
| 251 | +* [Deprecate MDCTypographyThemer (#9175)](https://github.com/material-components/material-components-ios/commit/4b450aecc3241c70580b8e2a10b5759c75d7a84c) (Andrew Overton) |
| 252 | +* [Don't use MDCTextFieldTypographyThemer (#9170)](https://github.com/material-components/material-components-ios/commit/4c75e862d4d4bdc5f0132e21a8ce2b847ce02b56) (Andrew Overton) |
| 253 | +* [Remove MDCTextFieldTypographyThemer from snapshot tests (#9196)](https://github.com/material-components/material-components-ios/commit/40afee6e0d4398bd27ca6b070e07dfdbe294cee7) (Andrew Overton) |
| 254 | +* [Remove usage of MDCOutlinedTextFieldColorThemer (#9214)](https://github.com/material-components/material-components-ios/commit/cd7172a36a6b140373f58c48d393907b2556aefd) (Andrew Overton) |
| 255 | +* [Update MDCTextInputControllerOutlined theming extension to not use color themer (#9223)](https://github.com/material-components/material-components-ios/commit/63a7c6f3f6a4a8b23994b3ea148b4bcc4d974a5f) (Andrew Overton) |
| 256 | +* [deprecate-MDCOutlinedTextFieldColorThemer (#9215)](https://github.com/material-components/material-components-ios/commit/747844b4bbc31b97d4ca0b1072013c9bd10e7ad8) (Andrew Overton) |
| 257 | + |
| 258 | +### private/ThumbTrack |
| 259 | + |
| 260 | +* [delete-thumbMaxRippleRadius (#9232)](https://github.com/material-components/material-components-ios/commit/97ec4c4348adc0957ed6f86554958c5841b9a0d5) (Andrew Overton) |
| 261 | + |
| 262 | +## Multi-component changes |
| 263 | + |
| 264 | +* [Delete Themer classes (#9197)](https://github.com/material-components/material-components-ios/commit/f44e5d679d78c01957677ee04c0471c57f0cad4b) (Bryan Oltman) |
| 265 | +* [Fix container scheme properties. (#9192)](https://github.com/material-components/material-components-ios/commit/8eb7296dab22080c399e9476af4c047db9b37d01) (Robert Moore) |
| 266 | + |
| 267 | +--- |
| 268 | + |
1 | 269 | # 96.0.0
|
2 | 270 |
|
3 | 271 | In this major release we deleted and deprecated a bunch of APIs in BottomAppBar, Snackbar,
|
|
0 commit comments