Alamofire v3.4.0 Release Notes
-
🚀 Released on 2016-05-08. All issues associated with this milestone can be found using this filter.
➕ Added
- Status code and content type values into validation
NSError
userInfo dictionaries.- Added by Cédric Luthi in Pull Request #1166.
- 🆕 New
authorizationHeader
API to generate base64 encoded authorization header.- Added by Cédric Luthi in Pull Request #1187.
⚡️ Updated
- ✅ URLProtocol tests to demonstrate using
NSURLProtocol
withNSURLSession
.- Updated by Christian Noon in regards to Issue #1160.
- The
SesionDelegate
to no longer befinal
to allow subclassing.- Updated by Christian Noon in Pull Request #1172 in regards to Issue #1145.
- The
SessionDelegate
subscript public to allow full control when subclassing.- Updated by Christian Noon in Pull Request #1172.
- The
Response Serialization
section of the README to include validation examples.- Updated by Christian Noon in regards to Issue #1213.
- The delegate guard in the
Manager
initializer in front of property assignment.- Updated by Broccoliii in Pull Request #1226.
- Header example in the README to use
Accept
header instead ofContent-Type
.- Updated by Christian Noon in regards to Pull Request #1229.
🗄 Deprecated
- ⚡️ The
errorWithCode
APIs and updated NSURLError* domains toNSURLErrorDomain
.- Deprecated by Cédric Luthi in Pull Request #1166.
🛠 Fixed
- Issue where Requests with invalid credentials were not terminating with 401 status code.
- Fixed by Cédric Luthi in Pull Request #1164 in regards to Issue #1159.
- ✅ Issue in URLProtocol test where config headers are not passed prior to iOS 9.0.
- Fixed by Christian Noon.
- Issue where Request
cURLRepresentation
method was not coalescing duplicate headers.- Fixed by Chris Richards in Pull Request #1186 in regards to Issue #1184.
- 📜 Issue where incorrect dash in License file was breaking markdown parsing.
- Fixed by Gemma Barlow in Pull Request #1218.
- Issue where internal quotes were not escaped correctly in cURL output.
- Fixed by Christian Noon.
- Status code and content type values into validation