Skip to content

Commit

Permalink
merged release-candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
codeman7 committed Feb 28, 2020
2 parents 9b21ec9 + 4ca0ff5 commit 0040f66
Show file tree
Hide file tree
Showing 13 changed files with 62 additions and 14 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,51 @@
# 107.0.0

In this major release we deleted the deprecated `MDCAlertScheme` and `MDCAlertControllerThemer` classes.

## Breaking changes

`MDCAlertScheme` and `MDCAlertControllerThemer` have been deleted. Please use the `MDCAlertController (MaterialTheming)` extension instead.

## New features

In this release we added a new `delegate` property to `MDCAlertController` which exposes dialogs lifecycle events that are useful for impression logging. As well as various minor improvements to the `Dialogs` component and other bug fixes.

## API changes

### Dialogs

*new* property: `delegate` in `MDCAlertController`

*new* protocol: `MDCAlertControllerDelegate`

## Component changes

### BottomSheet

* [Add example to reproduce issue 9773 (#9789)](https://github.com/material-components/material-components-ios/commit/00a4f37a4aae8dd5e9e5e66f7a8315aefac57593) (Bryan Oltman)
* [KVO `contentInset` property (#9726)](https://github.com/material-components/material-components-ios/commit/b027eeed70db247274aaaaa1ecfe9a85db5243c0) (Robert Moore)

### Chips

* [Add snapshot tests for MDCChipCollectionViewFlowLayout (#9796)](https://github.com/material-components/material-components-ios/commit/45952d95a7bfd9a9da99318e69f05c4065880375) (Bryan Oltman)
* [Refactor MDCChipCollectionViewFlowLayout (#9799)](https://github.com/material-components/material-components-ios/commit/fbc35415a2f9342102a003cdefea28a4f955dfda) (Bryan Oltman)

### Dialogs

* [Adding actions alignment API in a private header. (#9795)](https://github.com/material-components/material-components-ios/commit/8a8077d20eaf511a3a8f8e78b63ec7ced4b857a8) (Galia Kaufman)
* [Adding alignment snapshot tests (#9801)](https://github.com/material-components/material-components-ios/commit/64a79b29bf7ceba090f65520caf49f5bd56ec38a) (Galia Kaufman)
* [Adding justified actions alignment calculations to actions size calculations (#9800)](https://github.com/material-components/material-components-ios/commit/3537e43ef82c549a7c449a7fb6bdfbea829092ce) (Galia Kaufman)
* [Delete deprecated DialogThemer (#9776)](https://github.com/material-components/material-components-ios/commit/511da587d485fac0407ccc8a0519aaa941dceea5) (Bryan Oltman)
* [Moving actions layout out to simplify layoutSubviews. (#9803)](https://github.com/material-components/material-components-ios/commit/fa919c8da817fa59ba6bdd6379454dd061846886) (Galia Kaufman)
* [Support impressions logging in Material Design Dialogs. (#9794)](https://github.com/material-components/material-components-ios/commit/c2af4ae17f0feec12a1a6778dba3bb80505263c7) (Galia Kaufman)
* [Use consistent syntax for float constants (#9750)](https://github.com/material-components/material-components-ios/commit/e96b7efd28d7284eb090dab1408e0083dc06353e) (Galia Kaufman)

## TextField

* [implement resignFirstResponder in MDCMultilineTextField (#9793)](https://github.com/material-components/material-components-ios/commit/d83af534c3121bc8f9f2c0cb459917bec33158fe) (Bryan Oltman)

---

# 106.0.0

In this major release we deleted the deprecated themer: `MDCFloatingButtonShapeThemer`.
Expand Down
2 changes: 1 addition & 1 deletion MaterialComponents.podspec
Expand Up @@ -2,7 +2,7 @@ load 'scripts/generated/icons.rb'

Pod::Spec.new do |mdc|
mdc.name = "MaterialComponents"
mdc.version = "106.0.0"
mdc.version = "107.0.0"
mdc.authors = "The Material Components authors."
mdc.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
mdc.homepage = "https://github.com/material-components/material-components-ios"
Expand Down
2 changes: 1 addition & 1 deletion MaterialComponentsBeta.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |mdc|
mdc.name = "MaterialComponentsBeta"
mdc.version = "106.0.0"
mdc.version = "107.0.0"
mdc.authors = "The Material Components authors."
mdc.summary = "A collection of stand-alone alpha UI libraries that are not yet guaranteed to be ready for general production use. Use with caution."
mdc.homepage = "https://github.com/material-components/material-components-ios"
Expand Down
2 changes: 1 addition & 1 deletion MaterialComponentsEarlGreyTests.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MaterialComponentsEarlGreyTests"
s.version = "106.0.0"
s.version = "107.0.0"
s.authors = "The Material Components authors."
s.summary = "This spec is an aggregate of all the Material Components EarlGrey tests."
s.description = "This spec is made for use in the MDC Catalog."
Expand Down
2 changes: 1 addition & 1 deletion MaterialComponentsExamples.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MaterialComponentsExamples"
s.version = "106.0.0"
s.version = "107.0.0"
s.authors = "The Material Components authors."
s.summary = "This spec is an aggregate of all the Material Components examples."
s.description = "This spec is made for use in the MDC Catalog. Used in conjunction with CatalogByConvention we create our Material Catalog."
Expand Down
2 changes: 1 addition & 1 deletion MaterialComponentsSnapshotTests.podspec
Expand Up @@ -53,7 +53,7 @@ end

Pod::Spec.new do |s|
s.name = "MaterialComponentsSnapshotTests"
s.version = "106.0.0"
s.version = "107.0.0"
s.authors = "The Material Components authors."
s.summary = "This spec is an aggregate of all the Material Components snapshot tests."
s.homepage = "https://github.com/material-components/material-components-ios"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
106.0.0
107.0.0
4 changes: 2 additions & 2 deletions catalog/MDCCatalog/Info.plist
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>106.0.0</string>
<string>107.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>106.0.0</string>
<string>107.0.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIAppFonts</key>
Expand Down
4 changes: 2 additions & 2 deletions catalog/MDCDragons/Info.plist
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>106.0.0</string>
<string>107.0.0</string>
<key>CFBundleVersion</key>
<string>106.0.0</string>
<string>107.0.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
2 changes: 1 addition & 1 deletion catalog/MaterialCatalog/MaterialCatalog.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MaterialCatalog"
s.version = "106.0.0"
s.version = "107.0.0"
s.summary = "Helper Objective-C classes for the MDC catalog."
s.description = "This spec is made for use in the MDC Catalog."
s.homepage = "https://github.com/material-components/material-components-ios"
Expand Down
2 changes: 1 addition & 1 deletion components/LibraryInfo/src/MDCLibraryInfo.m
Expand Up @@ -19,7 +19,7 @@
// This string is updated automatically as a part of the release process and should not be edited
// manually. Do not rename this constant or change the formatting without updating the release
// scripts.
static NSString const *MDCLibraryInfoVersionString = @"106.0.0";
static NSString const *MDCLibraryInfoVersionString = @"107.0.0";

@implementation MDCLibraryInfo

Expand Down
2 changes: 1 addition & 1 deletion components/LibraryInfo/tests/unit/LibraryInfoTests.m
Expand Up @@ -26,7 +26,7 @@ - (void)testVersionFormat {
// Given

// This regex pattern does the following:
// Accept: "106.0.0", etc.
// Accept: "107.0.0", etc.
// Reject: "0.0.0", "1.2", "1", "-1.2.3", "Hi, I'm a version 1.2.3", "1.2.3 is my version", etc.
//
// Note the major version must be >= 1 since "0.0.0" is used as the version when something goes
Expand Down
2 changes: 1 addition & 1 deletion demos/supplemental/RemoteImageServiceForMDCDemos.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RemoteImageServiceForMDCDemos"
s.version = "106.0.0"
s.version = "107.0.0"
s.summary = "A helper image class for the MDC demos."
s.description = "This spec is made for use in the MDC demos. It gets images via url."
s.homepage = "https://github.com/material-components/material-components-ios"
Expand Down

0 comments on commit 0040f66

Please sign in to comment.