Moya v8.0.0 Release Notes

Release Date: 2017-01-04 // over 5 years ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change Renamed Moya.Error to MoyaError.
    • ๐Ÿ’ฅ Breaking Change Renamed verbose in the NetworkLoggerPlugin to isVerbose.
    • ๐Ÿ’ฅ Breaking Change TargetType now specifies its ParameterEncoding.
    • ๐Ÿ’ฅ Breaking Change Removed unused
    • ๐Ÿ’ฅ Breaking Change Renamed adding(newHttpHeaderFields:) to adding(newHTTPHeaderFields:).

    โž• Added

    • ๐Ÿ‘Œ Supported the Swift package manager
    • โž• Added AccessTokenPlugin for easier authorization.
    • โž• Added AccessTokenAuthorizable protocol for optionally controlling the authorization behavior of TargetTypes when using AccessTokenPlugin.
    • โž• Added availability tags for renamed functions included in the Swift 3 migration.
    • Moya.Error now conforms to LocalizedError protocol.
    • โž• Added documentation for TargetType and associated data structures.
    • Re-add MultiTarget to project.

    ๐Ÿ”„ Changed

    • Adopted an SPM-compatible project structure.
    • ๐Ÿšš Moved tests to Moya.xcodeproj.