Alamofire v2.0.0-beta.1 Release Notes

  • ๐Ÿš€ Released on 2015-08-10. All issues associated with this milestone can be found using this filter.

    โž• Added

    • ๐Ÿš€ A watchOS deployment target to the podspec.
    • ๐Ÿ‘ Full screen support in the iOS Example App.
    • โ†ช Temporary workaround for SecCertificate array compiler crash.
    • ๐Ÿ”จ Result and Error types to refactor response validation and serialization.
    • โœ… Tests around response data, string and json serialization result behavior.
    • CustomStringConvertible and CustomDebugStringConvertible conformance to the Result enumeration.
    • A Resume Data section to the README inside the Downloads section.
    • A watchOS framework target to the project.
    • โœ… Result tests pushing code coverage for Result enum to 100%.
    • โœ… Tests around all response serializer usage.
    • ๐Ÿ“„ Public docstrings for all public SessionDelegate methods.
    • A section to the README that calls out all open rdars affecting Alamofire.
    • โœ… Test for wildcard validation that contains response with nil MIME type.
    • ๐Ÿ‘Œ Support for stream tasks in iOS 9+ and OSX 10.11+.

    โšก๏ธ Updated

    • All logic to compile against Swift 2.0.
    • โœ… All logic to use the latest Swift 2.0 conventions.
    • โœ… All public docstrings to the latest Swift 2.0 syntax.
    • URLRequestConvertible to return an NSMutableURLRequest.
    • ๐Ÿ‘ All HTTP requests to HTTPS to better align with ATS.
    • ๐Ÿ—„ The escape method in ParameterEncoding to use non-deprecated methods.
    • ๐Ÿ“„ All source code and docstrings to fit roughly within 120 characters.
    • The MultipartFormData encoding to leverage Swift 2.0 error handling.
    • โœ… All README code samples to match the latest Swift 2.0 API changes.
    • All frameworks to enable code coverage generation.
    • ๐Ÿš€ All frameworks to set the enable testability flag to YES for release builds.
    • ParameterEncoding to leverage guard for parameters to increase safety.
    • iOS Example App to use optional bind around response to safely extract headers.
    • The queryComponents and escape methods in ParameterEncoding to public to ๐Ÿ‘ better support .Custom encoding.
    • The static error convenience functions to a public ACL.

    โœ‚ Removed

    • Explicit string values in ParameterEncoding since they are now implied.
    • An OSX cookie check in the CustomDebugStringConvertible conformance of a Request.

    ๐Ÿ›  Fixed

    • โœ… Issue in automatic validation tests where mutable URL request was not used.
    • Potential crash cases in Validation MIME type logic exposed by chaining.
    • Compiler issue in the iOS Example App around Result type usage.
    • The error code in the custom response serializers section of the README.