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.
    • 🆕 New authorizationHeader API to generate base64 encoded authorization header.

    ⚡️ Updated

    • ✅ URLProtocol tests to demonstrate using NSURLProtocol with NSURLSession.
    • The SesionDelegate to no longer be final to allow subclassing.
    • The SessionDelegate subscript public to allow full control when subclassing.
    • The Response Serialization section of the README to include validation examples.
    • The delegate guard in the Manager initializer in front of property assignment.
    • Header example in the README to use Accept header instead of Content-Type.

    🗄 Deprecated

    • ⚡️ The errorWithCode APIs and updated NSURLError* domains to NSURLErrorDomain.

    🛠 Fixed

    • Issue where Requests with invalid credentials were not terminating with 401 status code.
    • ✅ Issue in URLProtocol test where config headers are not passed prior to iOS 9.0.
    • Issue where Request cURLRepresentation method was not coalescing duplicate headers.
    • 📜 Issue where incorrect dash in License file was breaking markdown parsing.
    • Issue where internal quotes were not escaped correctly in cURL output.