OHHTTPStubs v2.0.0 Release Notes

    • Simplified API
      • removed instance methods, no more public sharedInstance: directly call class methods on the OHHTTPStubs class
      • The old and problematic addRequestHandler: method has been deprecated and should not be used anymore. Use stubRequestsPassingTest:withStubResponse: instead, which is more efficient
    • โž• Added API documentation in the headers
    • โœ‚ Remove all internal uses of Apple's private APIs

    ๐Ÿšš > Be careful: if you forgot to remove your use of OHHTTPStubs and your stubs from the binary you sent to the AppStore, your app would have been rejected by Apple before 2.0.0, as it was using private API (which was a way to make sure not to forget to remove them), but now it would be accepted silently. So don't forget to remove your stubs and OHHTTPStubs from your final binary!