Mocker v2.0.0 Release Notes

Release Date: 2019-11-08 // over 4 years ago
    • 🤡 A new completion callback can be set on Mock to use for expectation fulfilling once a Mock is completed.
    • 🤡 A new onRequest callback can be set on Mock to use for expectation fulfilling once a Mock is requested.
    • ⚡️ Updated to Swift 5.0
    • Only dispatch to the background queue if needed
    • Correctly handle cancellation of delayed responses
    • ➕ Adding and reading mocks is now thread safe by using a Dispatch Semaphore
    • ➕ Add support for using Swift Package Manager
    • 👌 Improved checking for Mocks using URLRequest.