Moya v8.0.0-beta.1 Release Notes

  • ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ 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.

    โž• Added

    • โž• Adds Download and Upload Task type support to Moya.
    • โž• 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.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Corrects SwiftLint warnings.
    • Separates Moya.swift into multiple files.
    • โšก๏ธ Updated mapJSON API to include an optional named parameter failsOnEmptyData: that when overridden returns an empty NSNull() result instead of throwing an error when the response data is empty.