- Breaking change Combines
MoyaPath
andMoyaTarget
protocols. - Breaking change Renames
Moya/Reacitve
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 behaviour 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. - Fixes problem that the
ReactiveMoyaProvider
initializer would not respect the stubbing behaviour it was passed. - Adds official Carthage support – @neonichu
- Relaxes version dependency on RxSwift - @alcarvalho
- Fixes problem where
RxMoyaProvider
would not respect customized stubbing behaviour (delays).
- Adds support for RxSwift – @alcarvalho
- Breaking change Changes
EndpointSampleResponse
to require closures that returnNSData
, notNSData
instances themselves. This prevents sample data from being loaded during the normal, non-unit test app lifecycle. - Breaking change Adds
method
toMoyaTarget
protocol and removesmethod
parameter fromrequest()
functions. Targets now specify GET, POST, etc on a per-target level, instead of per-request. - Breaking change Adds
parameters
toMoyaTarget
protocol and removes ability to pass parameters intorequest()
functions. Targets now specify the parameters directly on a per-target level, instead of per-request. - Adds a sane default implementation of the
MoyaProvider
initializer'sendpointsClosure
parameter.
- Updates to Swift 1.2.
- Adds cancellable requests -@MichaelMcGuire
- Adds network activity closure to provider.
- Updates podspec to refer to
3.0.0-aplha.1
of ReactiveCocoa. -@ashfurrow
- First release on CocoaPods trunk.
- Add data support for stubbed error responses. – @steam
- Fixes #66, a problem with outdated Alamofire dependency and it's serializer type signature. -@garnett
- Delete note about ReactiveCocoa installation -@garnett
- Fixes #52 to change submodules to use http instead of ssh. -@ashfurrow)
- Migrate to support Xcode beta 6.1 -@orta)
- Adds the original NSURLResponse to a MoyaResponse -@orta)
- Fixes #63, a problem where stale inflight requests were kept around if they error'd down the pipline (discussed here) -@ashfurrow
- Implements #46, the code property of the NSError sent through by ReactiveMoyaProvider will now match the failing http status code. -@powerje
- Fixes #48 that modifies Moya to execute completion blocks of stubbed responses immediately, instead of using
dispatch_async
to defer it to the next invocation of the run loop. This is a breaking change. Because of this change, the ReactiveCocoa extensions had to be modified slightly to deduplicate inflight stubbed requests. Reactive providers now vendRACSignal
instances that start the network request when subscribed to. -@ashfurrow
- Fixes #44 where status codes weren't being pass through to completion blocks. This also modified the behaviour of the ReactiveCocoa extensions significantly but sending MoyaResponse objects instead of just NSData ones. —@ashfurrow
- Initial release.