Moya v8.0.0 Release Notes
Release Date: 2017-01-04 // about 7 years ago-
๐ Changed
- ๐ฅ Breaking Change Renamed
Moya.Error
toMoyaError
. - ๐ฅ Breaking Change Renamed
verbose
in the NetworkLoggerPlugin toisVerbose
. - ๐ฅ Breaking Change
TargetType
now specifies itsParameterEncoding
. - ๐ฅ Breaking Change Removed unused
Moya.Error.data
. - ๐ฅ Breaking Change Renamed
adding(newHttpHeaderFields:)
toadding(newHTTPHeaderFields:)
.
โ Added
- ๐ Supported the Swift package manager
- โ Added
AccessTokenPlugin
for easier authorization. - โ Added
AccessTokenAuthorizable
protocol for optionally controlling the authorization behavior ofTargetType
s when usingAccessTokenPlugin
. - โ Added availability tags for renamed functions included in the Swift 3 migration.
Moya.Error
now conforms toLocalizedError
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.
- ๐ฅ Breaking Change Renamed