Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 1.49 KB

CHANGELOG.md

File metadata and controls

76 lines (45 loc) · 1.49 KB

Mockingjay Changelog

TBD

Enhancements

  • Support for redirect responses (3xx).

3.0.0-alpha.1

Breaking

  • Support for Swift < 4.2 has been removed.

Enhancements

  • Adds support for Swift 5.0.

2.0.1

Enhancements

  • You can now specify a delay option to a stub to simulate network delays.
  • Adds support for building Mockingjay with Swift 4.

2.0.0 (2016-10-07)

Breaking

  • Responses now use a Download enum instead of an optional NSData. This means you must use the following API:

    .Success(response, .NoContent)
    .Success(response, .Content(data))

    Previously:

    .Success(response, nil)
    .Success(response, data)

Enhancements

  • Adds support for streaming stubbed response data.

    .Success(response, .StreamContent(data, inChunksOf: 1024))

1.3.0 (2016-09-28)

This release adds support for Swift 2.3.

1.2.1 (2016-05-10)

This release fixes a packaging problem in 1.2.0 where the CocoaPod's podspec for Mockingjay did not contain all the sources.

1.2.0 (2016-05-10)

Enhancements

  • Swift 2.2 support has been added.

Bug Fixes

  • 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 to NSURLSessionConfiguration.
    #50