-
Responses now use a
Download
enum instead of an optionalNSData
. This means you must use the following API:.Success(response, .NoContent) .Success(response, .Content(data))
Previously:
.Success(response, nil) .Success(response, data)
-
Adds support for streaming stubbed response data.
.Success(response, .StreamContent(data, inChunksOf: 1024))
This release fixes a packaging problem in 1.2.0 where the CocoaPod's podspec for Mockingjay did not contain all the sources.
- Swift 2.2 support has been added.
- Mockingjay will now add it's own protocol to
NSURLSessionConfiguration
default and ephemeral session configuration on load. This fixes problems when you create a session and then register a stub before we've added the Mockingjay protocol toNSURLSessionConfiguration
.
#50