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.- Added by Christian Noon in Pull Request #792.
- A new initializer to the
Manager
allowing dependency injection of the underlyingNSURLSession
.- Added by Christian Noon in Pull Request #795.
- โ
Tests around the new
Manager
initialization methods.
โก๏ธ Updated
- Result type to take two generic parameters (
Value
andError
) whereError
conforms toErrorType
.- Updated by Christian Noon in Pull Request #791.
- All response serializers to now return the original server data as
NSData?
.- Updated by Christian Noon in Pull Request #791.
- The
TaskDelegate
to store an error as anNSError
instead ofErrorType
.- Updated by Christian Noon in Pull Request #791.
- The
ValidationResult
failure case to require anNSError
instead ofErrorType
.- Updated by Christian Noon in Pull Request #791.
- โ
All tests around response serialization and
Result
type usage.- Updated by Christian Noon in Pull Request #791.
- All response serializers to use the new
Response
type.- Updated by Christian Noon in Pull Request - #792.
- The designated initializer for a
Manager
to accept aSessionDelegate
parameter ๐ allowing dependency injection for better background session support.- Updated by Christian Noon in Pull Request #795.
- A new