- Add backward-compatible call from
DefaultEnpointResolutiontoDefaultEndpointResolutiononMoyaProviderclass.DefaultEndpointResolutionis now used internally as the default resolver.DefaultEnpointResolutioncan be removed in a future major release.
- Add option to pass an
Alamofire.ManagertoMoyaProviderinitializer
- Updates Demo directory's RxSwift version.
- Updates Demo directory's Moya version for
pod trycompatbility.
- Breaking change Combines
MoyaPathandMoyaTargetprotocols. - Breaking change Renames
Moya/Reactivesubspec toMoya/ReactiveCocoa. - Breaking change Removes
stubResponsesfrom initializer; replaced with new stubbing behavior.NoStubbing. Added class methods toMoyaProviderto provide defaults, while allowing users to still change stubbing behaviour on a per-request basis. - Breaking change Redefines types of
DefaultEndpointMappingandDefaultEnpointResolutionclass functions onMoyaProvider. You no longer invoke these functions to return a closure, rather, you reference the functions themselves as closures. - Breaking change Renames
endpointsClosureparameter and property ofMoyaProvidertoendpointClosure. - Breaking change Renames
ReactiveMoyaProvidertoReactiveCocoaMoyaProviderfor consistency. - Fixes problem that the
ReactiveMoyaProviderinitializer would not respect the stubbing behaviour it was passed. - Adds official Carthage support – @neonichu
- Relaxes version dependency on RxSwift - @alcarvalho
- Fixes possible concurrency bugs with reactive providers - @alcarvalho
- Fixes problem where
RxMoyaProviderwould not respect customized stubbing behaviour (delays).
- Adds support for RxSwift – @alcarvalho
- Breaking change Changes
EndpointSampleResponseto require closures that returnNSData, notNSDatainstances themselves. This prevents sample data from being loaded during the normal, non-unit test app lifecycle. - Breaking change Adds
methodtoMoyaTargetprotocol and removesmethodparameter fromrequest()functions. Targets now specify GET, POST, etc on a per-target level, instead of per-request. - Breaking change Adds
parameterstoMoyaTargetprotocol 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
MoyaProviderinitializer'sendpointsClosureparameter.
- Updates to Swift 1.2.
- Adds cancellable requests -@MichaelMcGuire
- Adds network activity closure to provider.
- Updates podspec to refer to
3.0.0-aplha.1of 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_asyncto 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 vendRACSignalinstances 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.