Moya 14.0.0 is finally released! 🚀 This is a huge amount of work and so I wanted to thank all contributors, especially @amaurydavid, @LucianoPAlmeida, @larryonoff, @hasankose and @fredpi!
TL;DR Changelog
- Bumped dependency versions: Alamofire to 5.0, RxSwift to 5.0, ReactiveSwift to 6.0
- Minimum target version are now in line with Alamofire 5. iOS: 10.0, tvOS: 10.0, macOS: 10.12, watchOS: 3.0
- Removed
Result
dependency in favor ofResult
type introduced in Swift 5 NetworkLoggerPlugin
have been reworked to allow more customization about the logged request's componentsRequestType
now hassessionHeaders
property! These are the headers that are added when the request is added to a session- In
AccessTokenPlugin
the token closure now takes anAuthorizationType
as parameter andAuthorizationType.none
has been removed in favor of usingAuthorizationType?
MultiTarget
now implementsAccessTokenAuthorizable
so that the inner target'sauthorizationType
is correctly returned to theAccessTokenPlugin
when requested- Added
SwiftPM
testing usingswift test
and releasing usingswift run rocket
which allows us to remove testing dependencies forSwiftPM
releases - and a lot more!
See migration guides or create an issue and let us help you out :)