Alamofire v3.0.0-beta.1 Release Notes

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

    โž• Added

    • A new Response struct to simplify response serialization.
    • A new initializer to the Manager allowing dependency injection of the underlying NSURLSession.
    • โœ… Tests around the new Manager initialization methods.

    โšก๏ธ Updated

    • Result type to take two generic parameters (Value and Error) where Error conforms to ErrorType.
    • All response serializers to now return the original server data as NSData?.
    • The TaskDelegate to store an error as an NSError instead of ErrorType.
    • The ValidationResult failure case to require an NSError instead of ErrorType.
    • โœ… All tests around response serialization and Result type usage.
    • All response serializers to use the new Response type.
    • The designated initializer for a Manager to accept a SessionDelegate parameter ๐Ÿ‘ allowing dependency injection for better background session support.