This is a pre-release version of Moya 14. This includes removal of Result dependency (now using Swift's Result
), upgrade to Alamofire 5 (currently 5.0.0-beta.7) and few more adjustments.
Changelog
Added
RequestType
now hassessionHeaders
! These are the headers that are added when the request is added to a session. #1878 by @sunshinejr.
Changed
- Breaking Change Minimum target version are now in line with Alamofire 5. iOS: 10.0, tvOS: 10.0, macOS: 10.12, watchOS: 3.0. #1810 by @sunshinejr.
- Breaking Change Minimum version of
Alamofire
is now 5.0.0-beta.7. #1810 by @sunshinejr. - Breaking Change Removed
Result
dependency in favor ofResult
introduced in Swift 5. #1858 by @larryonoff. - Breaking Change Added
TargetType
parameter in the output ofNetworkLoggerPlugin
. #1866 by @hasankose. NetworkoLoggerPlugin
uses the newly addedsessionHeaders
and now logs all the headers that the request will produce. #1878 by @sunshinejr.