Jeff Verkoeyen
|
237ca26443
|
Add api_diff script for generating api diffs.
Summary:
This tool can be used to generate API diffs for releases.
Example output from `scripts/api_diff.sh -o v2.1.0 -n develop`:
```
---------------- FlexibleHeader -----------------------
MDCFlexibleHeaderViewController.h
---------------------------------
MDCFlexibleHeaderViewController
Protocols
From: UIScrollViewDelegate
To: UIScrollViewDelegate, UITableViewDelegate
---------------- FontDiskLoader -----------------------
New component
---------------- RobotoFontLoader -----------------------
New component
---------------- Typography -----------------------
MDCFontResource.h
-----------------
- MDCFontResource
- -[MDCFontResource initWithName:URL:]
- -[MDCFontResource initWithFontName:filename:bundleFileName:baseBundle:]
- MDCFontResource.fontName
- MDCFontResource.fontURL
- -[MDCFontResource registerFont]
- MDCFontResource.isRegistered
- MDCFontResource.hasFailedRegistration
- -[MDCFontResource fontOfSize:]
MDCRobotoFontLoader.h
---------------------
- MDCRobotoFontLoader
- +[MDCRobotoFontLoader sharedInstance]
- -[MDCRobotoFontLoader lightFontOfSize:]
- -[MDCRobotoFontLoader regularFontOfSize:]
- -[MDCRobotoFontLoader mediumFontOfSize:]
- -[MDCRobotoFontLoader boldFontOfSize:]
- -[MDCRobotoFontLoader lightItalicFontOfSize:]
- -[MDCRobotoFontLoader italicFontOfSize:]
- -[MDCRobotoFontLoader mediumItalicFontOfSize:]
- -[MDCRobotoFontLoader boldItalicFontOfSize:]
MDCTypography.h
---------------
- -[MDCTypographyFontLoader lightFontOfSize:]
- -[MDCTypographyFontLoader regularFontOfSize:]
- -[MDCTypographyFontLoader mediumFontOfSize:]
+ MDCTypographyFontLoading
+ -[MDCTypographyFontLoading lightFontOfSize:]
+ -[MDCTypographyFontLoading regularFontOfSize:]
+ -[MDCTypographyFontLoading mediumFontOfSize:]
+[MDCTypography setFontLoader:]
Declaration
From: + (void)setFontLoader:(nonnull id<MDCTypographyFontLoader>)fontLoader
To: + (void)setFontLoader:(nonnull id<MDCTypographyFontLoading>)fontLoader
MDCSystemFontLoader
Protocols
From: MDCTypographyFontLoader
To: MDCTypographyFontLoading
MDCTypographyFontLoader
Protocols
From: NSObject
To: MDCTypographyFontLoading
Availability
From: Available
To: Deprecated
Deprecation Message
From: (none)
To: Use MDCTypographyFontLoading instead
```
Reviewers: #mdc_ios_owners, ajsecord
Reviewed By: #mdc_ios_owners, ajsecord
Projects: #material_components_ios
Differential Revision: http://codereview.cc/D372
|
2016-04-06 16:01:45 -04:00 |
|