Moya v2.0.0 Release Notes

Release Date: 2015-08-04 // over 8 years ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking change Combines MoyaPath and MoyaTarget protocols.
    • ๐Ÿ’ฅ Breaking change Renames Moya/Reactive subspec to Moya/ReactiveCocoa.
    • ๐Ÿ’ฅ Breaking change Removes stubResponses from initializer; replaced with new stubbing behavior .NoStubbing. Added class methods to MoyaProvider to provide defaults, while allowing users to still change stubbing behavior on a per-request basis.
    • ๐Ÿ’ฅ Breaking change Redefines types of DefaultEndpointMapping and DefaultEnpointResolution class functions on MoyaProvider. 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 of MoyaProvider to endpointClosure.
    • ๐Ÿ’ฅ Breaking change Renames ReactiveMoyaProvider to ReactiveCocoaMoyaProvider 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