New
15.0.0
[15.0.0] - 2021-09-04
Added
- Added
NetworkLoggerPlugin.defaultandNetworkLoggerPlugin.verboseto conveniently access the default plugins. #2095 by @sunshinejr.
Changed
- Breaking Change Changed
Hashable&&Equatableimplementation ofEndpointsince it was returning false positives. #2101 by @sunshinejr. - Breaking Change
MultiPartFormDatais nowHashable. #2101 by @sunshinejr. - Breaking Change
AccessTokenPluginnow usesTargetType, instead ofAuthorizationType, in the closure to determine the token. FullMultiTargetintegration added as well. #2046 by @Coder-ZJQ. Target.sampleDatais now automatically implemented asData()with default protocol extension. #2015 by jdisho.- Breaking Change Minimum version of
RxSwiftis now 6.0. #2120 by @peagasilva. - Moya's Swift minimum version is now Swift 5.2. #2120 by @peagasilva.
- Moya now depends on the latest versions of RxSwift, ReactiveSwift & Alamofire. #2197 by @BasThomas.
Fixed
- Fixed an issue where when using
trackInflightsoption in certain circumstances would return a cached response for an endpoint that's not really the same. #2101 by @sunshinejr. - Fixed a crash where Combine Publisher would crash when using stubs. #2072 by jshier.
- Fixed Unit Tests and CI. #2187 by OhKanghoon.
- Fixed a race condition that could prevent plugin's
willSend(_:target:)from being fired. #2192 by anton-plebanovich.