Swift 2.0 and Result Type Validation and Serialization
Pre-release
Pre-release
All issues associated with this milestone can be found using this filter.
Added
- A
watchOS
deployment target to the podspec.- Added by Kyle Fuller in Pull Request
#574.
- Added by Kyle Fuller in Pull Request
- Full screen support in the iOS Example App.
- Added by Corinne Krych in Pull Request
#612.
- Added by Corinne Krych in Pull Request
- Temporary workaround for
SecCertificate
array compiler crash.- Added by Robert Rasmussen in Issue
#610.
- Added by Robert Rasmussen in Issue
Result
andError
types to refactor response validation and serialization.- Added by Christian Noon in Pull Request
#627.
- Added by Christian Noon in Pull Request
- Tests around response data, string and json serialization result behavior.
- Added by Christian Noon in Pull Request
#627.
- Added by Christian Noon in Pull Request
CustomStringConvertible
andCustomDebugStringConvertible
conformance
to theResult
enumeration.- Added by Christian Noon in Pull Request
#648.
- Added by Christian Noon in Pull Request
- A Resume Data section to the README inside the Downloads section.
- Added by Christian Noon in Pull Request
#648.
- Added by Christian Noon in Pull Request
- A
watchOS
framework target to the project.- Added by Tobias Ottenweller in Pull Request
#616.
- Added by Tobias Ottenweller in Pull Request
Result
tests pushing code coverage forResult
enum to 100%.- Added by Christian Noon.
- Tests around all response serializer usage.
- Added by Christian Noon.
- Public docstrings for all public
SessionDelegate
methods.- Added by Christian Noon.
- A section to the README that calls out all open rdars affecting Alamofire.
- Added by Christian Noon.
- Test for wildcard validation that contains response with nil MIME type.
- Added by Christian Noon in Pull Request
#662.
- Added by Christian Noon in Pull Request
- Support for stream tasks in iOS 9+ and OSX 10.11+.
- Added by Christian Noon in Pull Request
#659.
- Added by Christian Noon in Pull Request
Updated
- All logic to compile against Swift 2.0.
- Updated by Christian Noon.
- All logic to use the latest Swift 2.0 conventions.
- Updated by Christian Noon.
- All public docstrings to the latest Swift 2.0 syntax.
- Updated by Christian Noon.
URLRequestConvertible
to return anNSMutableURLRequest
.- Updated by Christian Noon.
- All HTTP requests to HTTPS to better align with ATS.
- Updated by Christian Noon.
- The
escape
method inParameterEncoding
to use non-deprecated methods.- Updated by Christian Noon.
- All source code and docstrings to fit roughly within 120 characters.
- Updated by Christian Noon.
- The
MultipartFormData
encoding to leverage Swift 2.0 error handling.- Updated by Christian Noon.
- All README code samples to match the latest Swift 2.0 API changes.
- Updated by Christian Noon in Pull Request
#648.
- Updated by Christian Noon in Pull Request
- All frameworks to enable code coverage generation.
- Updated by Christian Noon.
- All frameworks to set the enable testability flag to YES for release builds.
- Updated by Christian Noon in regard to Issue
#652.
- Updated by Christian Noon in regard to Issue
ParameterEncoding
to leverage guard for parameters to increase safety.- Updated by Christian Noon.
- iOS Example App to use optional bind around response to safely extract headers.
- The
queryComponents
andescape
methods inParameterEncoding
topublic
to
better support.Custom
encoding.- Updated by Christian Noon in Pull Request
#660.
- Updated by Christian Noon in Pull Request
- The static error convenience functions to a public ACL.
- Updated by Christian Noon in regards to Issue
#668.
- Updated by Christian Noon in regards to Issue
Removed
- Explicit string values in
ParameterEncoding
since they are now implied.- Removed by Christian Noon.
- An OSX cookie check in the
CustomDebugStringConvertible
conformance of aRequest
.- Removed by Christian Noon.
Fixed
- Issue in automatic validation tests where mutable URL request was not used.
- Fixed by Christian Noon.
- Potential crash cases in Validation MIME type logic exposed by chaining.
- Fixed by Christian Noon.
- Compiler issue in the iOS Example App around
Result
type usage. - The error code in the custom response serializers section of the README.
- Fixed by Christian Noon.