|
2 | 2 | All notable changes to this project will be documented in this file. |
3 | 3 | `Alamofire` adheres to [Semantic Versioning](http://semver.org/). |
4 | 4 |
|
| 5 | +- `1.3.x` Releases - [1.3.0](#130) |
5 | 6 | - `1.2.x` Releases - [1.2.0](#120) | [1.2.1](#121) | [1.2.2](#122) | [1.2.3](#123) |
6 | 7 | - `1.1.x` Releases - [1.1.0](#110) | [1.1.1](#111) | [1.1.2](#112) | [1.1.3](#113) | [1.1.4](#114) | [1.1.5](#115) |
7 | 8 | - `1.0.x` Releases - [1.0.0](#100) | [1.0.1](#101) |
8 | 9 |
|
9 | 10 | --- |
10 | 11 |
|
| 12 | +## [1.3.0](https://github.com/Alamofire/Alamofire/releases/tag/1.3.0) |
| 13 | +Released on 2015-07-24. All issues associated with this milestone can be found using this |
| 14 | +[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.3.0). |
| 15 | + |
| 16 | +#### Added |
| 17 | +- Test case around `NSURLProtocol` checking header passthrough behaviors. |
| 18 | + - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue |
| 19 | + [#473](https://github.com/Alamofire/Alamofire/issues/473). |
| 20 | +- Stream method on `Request` to receive data incrementally from data responses. |
| 21 | + - Added by [Peter Sobot](https://github.com/psobot) in Pull Request |
| 22 | + [#512](https://github.com/Alamofire/Alamofire/pull/512). |
| 23 | +- Example to the README demonstrating how to use the `responseCollection` serializer. |
| 24 | + - Added by [Josh Brown](https://github.com/joshuatbrown) in Pull Request |
| 25 | + [#532](https://github.com/Alamofire/Alamofire/pull/532). |
| 26 | +- Link to the README to the CocoaDocs documentation for Alamofire. |
| 27 | + - Added by [Robert](https://github.com/rojotek) in Pull Request |
| 28 | + [#541](https://github.com/Alamofire/Alamofire/pull/541). |
| 29 | +- Support for uploading `MultipartFormData` in-memory and streaming from disk. |
| 30 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 31 | + [#539](https://github.com/Alamofire/Alamofire/pull/539). |
| 32 | +- Tests for uploading `MultipartFormData` with complete code coverage. |
| 33 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 34 | + [#539](https://github.com/Alamofire/Alamofire/pull/539). |
| 35 | +- The iOS 8.4 simulator to the Travis CI builds by switching to the Xcode 6.4 build. |
| 36 | + - Added by [Syo Ikeda](https://github.com/ikesyo) in Pull Request |
| 37 | + [#568](https://github.com/Alamofire/Alamofire/pull/568). |
| 38 | +- Tests for the custom header support with complete code coverage. |
| 39 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 40 | + [#586](https://github.com/Alamofire/Alamofire/pull/586). |
| 41 | +- Section to the README about new HTTP header support in the global functions. |
| 42 | + - Added by [Christian Noon](https://github.com/cnoon). |
| 43 | +- Basic auth `Authorization` header example to the README. |
| 44 | + - Added by [Christian Noon](https://github.com/cnoon). |
| 45 | +- TLS certificate and public key pinning support through the `ServerTrustPolicy`. |
| 46 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 47 | + [#581](https://github.com/Alamofire/Alamofire/pull/581). |
| 48 | +- Tests for TLS certificate and public key pinning with complete code coverage. |
| 49 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 50 | + [#581](https://github.com/Alamofire/Alamofire/pull/581). |
| 51 | +- Security section to the README detailing various server trust policies. |
| 52 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 53 | + [#581](https://github.com/Alamofire/Alamofire/pull/581). |
| 54 | +- The `resumeData` property to `Request` to expose outside data response serializer. |
| 55 | + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 56 | + [#595](https://github.com/Alamofire/Alamofire/pull/595). |
| 57 | +- Download request sample to iOS example app. |
| 58 | + - Added by [Kengo Yokoyama](https://github.com/kentya6) in Pull Request |
| 59 | + [#579](https://github.com/Alamofire/Alamofire/pull/579). |
| 60 | + |
| 61 | +#### Updated |
| 62 | +- The INFOPLIST_FILE Xcode project setting to be a relative path. |
| 63 | + - Updated by [Christian Noon](https://github.com/cnoon). |
| 64 | +- Exposed persistence parameter for basic auth credentials. |
| 65 | + - Updated by [Christian Noon](https://github.com/cnoon) in regard to Issue |
| 66 | + [#537](https://github.com/Alamofire/Alamofire/issues/537). |
| 67 | +- The Travis CI builds to run a full `pod lib lint` pass on the source. |
| 68 | + - Updated by [Kyle Fuller](https://github.com/kylef) in Pull Request |
| 69 | + [#542](https://github.com/Alamofire/Alamofire/pull/542). |
| 70 | +- All cases of force unwrapping with optional binding and where clause when applicable. |
| 71 | + - Updated by [Syo Ikeda](https://github.com/ikesyo) in Pull Request |
| 72 | + [#557](https://github.com/Alamofire/Alamofire/pull/557). |
| 73 | +- The `ParameterEncoding` encode return tuple to return a mutable URL request. |
| 74 | + - Updated by [Petr Korolev](https://github.com/skywinder) in Pull Request |
| 75 | + [#478](https://github.com/Alamofire/Alamofire/pull/478). |
| 76 | +- The `URLRequest` convenience method to return a mutable `NSURLRequest`. |
| 77 | + - Updated by [Christian Noon](https://github.com/cnoon). |
| 78 | +- The `request` / `download` / `upload` methods to support custom headers. |
| 79 | + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 80 | + [#586](https://github.com/Alamofire/Alamofire/pull/586). |
| 81 | +- The global `request` / `download` / `upload` method external parameters convention. |
| 82 | + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 83 | + [#586](https://github.com/Alamofire/Alamofire/pull/586). |
| 84 | +- Response serialization to use generics and a `ResponseSerializer` protocol. |
| 85 | + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 86 | + [#593](https://github.com/Alamofire/Alamofire/pull/593). |
| 87 | +- Download task delegate to store resume data for a failed download if available. |
| 88 | + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 89 | + [#595](https://github.com/Alamofire/Alamofire/pull/595). |
| 90 | +- The `TaskDelegate.queue` to public to allow custom request extension operations. |
| 91 | + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 92 | + [#590](https://github.com/Alamofire/Alamofire/pull/590). |
| 93 | +- The README code samples for Advanced Response Serialization. |
| 94 | + - Updated by [Christian Noon](https://github.com/cnoon). |
| 95 | + |
| 96 | +#### Removed |
| 97 | +- An unnecessary `NSURLSessionConfiguration` type declaration that can be inferred. |
| 98 | + - Removed by [Avismara](https://github.com/avismarahl) in Pull Request |
| 99 | + [#576](https://github.com/Alamofire/Alamofire/pull/576). |
| 100 | +- Unnecessary `respondsToSelector` overrides for `SessionDelegate` methods. |
| 101 | + - Removed by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 102 | + [#590](https://github.com/Alamofire/Alamofire/pull/590). |
| 103 | +- Unnecessary calls to `self` throughout source, test and example logic. |
| 104 | + - Removed by [Christian Noon](https://github.com/cnoon). |
| 105 | + |
| 106 | +#### Fixed |
| 107 | +- Random test suite basic auth failures by clearing credentials in `setUp` method. |
| 108 | + - Fixed by [Christian Noon](https://github.com/cnoon). |
| 109 | +- Error where wildcard was failing due to missing response MIME type. |
| 110 | + - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request |
| 111 | + [#598](https://github.com/Alamofire/Alamofire/pull/598). |
| 112 | +- Typo in the basic auth headers example code in the README. |
| 113 | + - Fixed by [蒲公英の生活](https://github.com/fewspider) in Pull Request |
| 114 | + [#605](https://github.com/Alamofire/Alamofire/pull/605). |
| 115 | +- Issue where the example app was printing elapsed time in optional form. |
| 116 | + - Fixed by [Christian Noon](https://github.com/cnoon). |
| 117 | + |
| 118 | +#### Upgrade Notes |
| 119 | +There are a couple changes in the 1.3.0 release that are not fully backwards |
| 120 | +compatible and need to be called out. |
| 121 | + |
| 122 | +* The global `request` / `download` / `upload` external parameter naming conventions |
| 123 | +were not consistent nor did they match the `Manager` equivalents. By making them |
| 124 | +consistent across the board, this introduced the possibility that you "may" need to |
| 125 | +make slight modifications to your global function calls. |
| 126 | +* In order to support generic response serializers, the lowest level |
| 127 | +`Request.response` method had to be converted to a generic method leveraging the new |
| 128 | +`ResponseSerializer` protocol. This has many advantages, the most obvious being that |
| 129 | +the `response` convenience method now returns an `NSData?` optional instead of an |
| 130 | +`AnyObject?` optional. Nice! |
| 131 | + |
| 132 | + > Please note that every effort is taken to maintain proper semantic versioning. In |
| 133 | +these two rare cases, it was deemed to be in the best interest of the community to |
| 134 | +slightly break semantic versioning to unify naming conventions as well as expose a |
| 135 | +much more powerful form of response serialization. |
| 136 | + |
| 137 | + > If you have any issues, please don't hesitate to reach out through |
| 138 | +[GitHub](https://github.com/Alamofire/Alamofire/issues) or |
| 139 | +[Twitter](https://twitter.com/AlamofireSF). |
| 140 | + |
| 141 | +--- |
| 142 | + |
11 | 143 | ## [1.2.3](https://github.com/Alamofire/Alamofire/releases/tag/1.2.3) |
12 | 144 | Released on 2015-06-12. All issues associated with this milestone can be found using this |
13 | 145 | [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.2.3). |
|
0 commit comments