Alamofire v1.2.0 Release Notes

  • ๐Ÿš€ Released on 2015-04-09.

    โž• Added

    • ๐Ÿ†• New testURLParameterEncodeStringWithSlashKeyStringWithQuestionMarkValueParameter โœ… test.
    • ๐Ÿ†• New backgroundCompletionHandler property to the Manager called when the session background tasks finish.

    โšก๏ธ Updated

    • Request computed property progress to no longer be an optional type.
    • All logic to Swift 1.2.
    • The responseString serializer to respect server provided character encoding with ๐Ÿ”ง overrideable configuration, default string response serialization to ISO-8859-1, as per the HTTP/1.1 specification.
    • SessionDelegate methods to first call the override closures if set.
    • SessionDelegate and all override closures to a public ACL allowing for customization.
    • SessionDelegate class to final.
    • ๐Ÿ“š SessionDelegate header documentation for method override properties.
    • Xcode project to set APPLICATION_EXTENSION_API_ONLY to YES for OS X target.

    โœ‚ Removed

    • 0๏ธโƒฃ Ambiguous response serializer methods that collided with default parameters.
    • 0๏ธโƒฃ SessionDelegate initializer and replaced with default property value.

    ๐Ÿ›  Fixed

    • โœ… Async tests where asserts were potentially not being run by by moving expectation.fullfill() to end of closures.
    • Small grammatical error in the ParameterEncoding section of the README.
    • โœ… Typo in a download test comment.
    • Signature mismatch in the dataTaskDidBecomeDownloadTask override closure.
    • Issue in the SessionDelegate where the DataTaskDelegate was not being called.