Mockingjay

An elegant library for stubbing HTTP requests with ease in Swift

BSD-3-CLAUSE License

Stars
1.5K
Committers
17

Bot releases are hidden (Show)

Mockingjay - 3.0.0-alpha.1 Latest Release

Published by kylef over 5 years ago

Breaking

  • Support for Swift < 4.2 has been removed.

Enhancements

  • Adds support for Swift 5.0.
Mockingjay - 2.0.1

Published by kylef almost 7 years ago

Enhancements

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

Published by kylef almost 8 years ago

This release adds support for Swift 3.0.

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))
    
Mockingjay - 1.3.1

Published by kylef about 8 years ago

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

Mockingjay - 1.3.0

Published by kylef about 8 years ago

This release adds support for Swift 2.3.

Mockingjay -

Published by kylef over 8 years ago

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
Mockingjay - 1.2.1

Published by kylef over 8 years ago

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