Skip to content

8.0.0-beta.1

Compare
Choose a tag to compare
@ashfurrow ashfurrow released this 19 Sep 18:59
· 2206 commits to master since this release
a90fdb6
  • Breaking Change Support for Swift 3 in favor of Swift 2.x.
  • Breaking Change fileName and mimeType are now optional properties on a MultipartFormData object.
  • Correct Alamofire appendBodyPart method id called in MultipartFormData.
  • Breaking Change Removes multipartBody from TargetType protocol and adds a task instead.
  • Breaking Change Successful Response instances that have no data with them are now being converted to .Success Results.
  • Adds Download and Upload Task type support to Moya.
  • Corrects SwiftLint warnings.
  • Separates Moya.swift into multiple files.
  • Updated mapJSON API to include an optional named parameter failsOnEmptyData: that when overriden returns an empty NSNull() result instead of throwing an error when the response data is empty.
  • Added supportsMultipart to the Method type, which helps determine whether to use multipart/form-data encoding.
  • Added PATCH and CONNECT to the Method cases which support multipart encoding.
  • Added request for Response.