- Support for Swift < 4.2 has been removed.
- Adds support for Swift 5.0.
- You can now specify a delay option to a stub to simulate network delays.
- Adds support for building Mockingjay with Swift 4.
-
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 adds support for Swift 2.3.
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