Moya v2.0.0 Release Notes
Release Date: 2015-08-04 // over 8 years ago-
๐ Changed
- ๐ฅ Breaking change Combines
MoyaPath
andMoyaTarget
protocols. - ๐ฅ Breaking change Renames
Moya/Reactive
subspec toMoya/ReactiveCocoa
. - ๐ฅ Breaking change Removes
stubResponses
from initializer; replaced with new stubbing behavior.NoStubbing
. Added class methods toMoyaProvider
to provide defaults, while allowing users to still change stubbing behavior on a per-request basis. - ๐ฅ Breaking change Redefines types of
DefaultEndpointMapping
andDefaultEnpointResolution
class functions onMoyaProvider
. You no longer invoke these functions to return a closure, rather, you reference the functions themselves as closures. - ๐ฅ Breaking change Renames
endpointsClosure
parameter and property ofMoyaProvider
toendpointClosure
. - ๐ฅ Breaking change Renames
ReactiveMoyaProvider
toReactiveCocoaMoyaProvider
for consistency. - ๐ Relaxes version dependency on RxSwift - @alcarvalho
โ Added
- โ Adds official Carthage support โ @neonichu
๐ Fixed
- ๐ Fixes problem that the
ReactiveMoyaProvider
initializer would not respect the stubbing behavior it was passed. - ๐ Fixes possible concurrency bugs with reactive providers - @alcarvalho
- ๐ฅ Breaking change Combines