All Versions
69
Latest Version
Avg Release Cycle
156 days
Latest Release
1202 days ago

Changelog History
Page 5

  • v3.1.3 Changes

    • 🛠 Fix #66: Use the ivar directly in initialization (to avoid KVO side effects)
  • v3.1.2 Changes

    • 🛠 Fix broken link in README (#61)
    • Don't override Content-Length header when already set (#62)
  • v3.1.1 Changes

    • 🛠 Fixing a crash when using very very long data #57/#59
    • 🛠 Fixing issue #51 regarding a probable race condition when stubs were removed before the request has finished
    • 🚚 Shorten the README.md file and moved all the usage examples in a dedicated wiki page to avoid a endless and frightening README
  • v3.1.0 Changes

    • The OHHTTPStubsDescriptor protocol now inherits from the NSObject protocol
  • v3.0.4 Changes

    🛠 Fixing issue #47 when stubs were not called, especially when the OHHTTPStubs pod were loaded both by the application AND the test target/bundle. See also [[A tricky case with Application Tests]].

    • 👍 NSURLSessionConfiguration 's swizzling (to add automatic support of OHHTTPStubs to NSURLSession) is now done in the +load method of an NSURLSessionConfiguration category, to be sure it is loaded (and swizzled) only once, even if OHHTTPStubs is loaded by two different bundles.
    • The stubs activation of NSURLSessionConfiguration no longer uses objc_getClass but uses a call to the OHHTTPStubs class instead, which ensure that it uses the correct OHHTTPStubs class in the current bundle instead of always using the one loaded from the main bundle.
  • v3.0.3 Changes

    • ➕ Adding Mac framework & Mac Test Target (#44)
    • ➕ Adding known limitations in README
  • v3.0.2 Changes

    • 🛠 Fixed issue with cookies when request.URL is nil (#39)
    • Fixed missing -ObjC flag in Unit Tests target (that made it unable to call category methods)
    • ✅ Fixed Unit Tests on iOS6 (NSURLSession-related Unit Tests now only executed when run on iOS7+ or OSX10.9+, and skipped if targeted for an earlier OS version, as NSURLSession was not available then)
  • v3.0.1 Changes

    • 🛠 Fixed issue with NSURLSessionConfiguration auto-swizzling (#37 & #38)

    Now OHHTTPStubs automagically works with NSURLSessionConfiguration without the need to enable it for every NSURLSessionConfiguration before creating the NSURLSession: the defaultSessionConfiguration and ephemeralSessionConfiguration are now preconfigured automatically to work with OHHTTPStubs)

  • v3.0.0 Changes

    • ✂ Removed deprecated methods.

    🗄 > The Old API has now totally disappeared, leaving only a clean and simple API without the spam due to old deprecated methods.

    🚚 Note: If you have already removed the calls to all OHHTTPStubs deprecated API in your code, you can switch to this 3.0.0 version without any further changes in your code.

  • v2.4.0 Changes

    • ➕ Added support for NSURLSession (thx to @ndonald2) #31 #34