Moya v15.0.0 Release Notes
Release Date: 2021-09-04 // 10 months ago-
โ Added
- โ Added
NetworkLoggerPlugin.default
andNetworkLoggerPlugin.verbose
to conveniently access the default plugins. #2095 by @sunshinejr.
๐ Changed
- ๐ฅ Breaking Change Changed
Hashable
&&Equatable
implementation ofEndpoint
since it was returning false positives. #2101 by @sunshinejr. - ๐ฅ Breaking Change
MultiPartFormData
is nowHashable
. #2101 by @sunshinejr. - ๐ฅ Breaking Change
AccessTokenPlugin
now usesTargetType
, instead ofAuthorizationType
, in the closure to determine the token. FullMultiTarget
integration added as well. #2046 by @Coder-ZJQ. - 0๏ธโฃ
Target.sampleData
is now automatically implemented asData()
with default protocol extension. #2015 by jdisho. - ๐ฅ Breaking Change Minimum version of
RxSwift
is 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
trackInflights
option 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.
- โ Added
Previous changes from v15.0.0-alpha.1
-
๐ This is an early-release version of Moya 15. This includes minimum Swift version bump to 5.1 as well as bringing back Combine support!
๐ It's an alpha release since there might be slight breaking changes to the Combine extensions if we find some problems and also there might be improvements that are waiting in PRs.๐ Thanks to @MaxDesiatov @BasThomas @LucianoPAlmeida @amaurydavid and everyone else that helped in the newest release! ๐
๐ Changelog
โ Added
- ๐ We brought back Combine support! #2024 by @MaxDesiatov.
๐ Changed
- Moya's minimum Swift version is now Swift 5.1. #1931 by @BasThomas.