9.0.0-beta.1
- Breaking Change Replaced
parameters
¶meterEncoding
inTargetType
with extendedTask
cases. - Breaking Change Flattened
UploadType
andDownloadType
intoTask
cases. - Breaking Change Replaced
shouldAuthorize: Bool
inAccessTokenAuthorizable
withauthorizationType: AuthorizationType
. - Breaking Change Replaced
token
inAccessTokenPlugin
withtokenClosure
. - Breaking Change
TargetTypes
no longer receive theAuthorization: Bearer <token>
header by default when usingAccessTokenPlugin
. - Added Swift 4.0 support for Moya core (without RxSwift/ReactiveSwift extensions for now).
- Added all the
filter
/map
operators that were available forObservable<Response>
toSingle<Response>
as well. - Added
AuthorizationType
toAccessTokenAuthorizable
representing request headers of.none
,.basic
, and.bearer
. - Added tests for
Single<Response>
operators. - Added
Progress
object into the response when calling progress callback on completion. - Added tests for creating
URLRequest
fromTask
. - Fixed a bug where you weren't notified on progress callback for data request.