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

Changelog History
Page 1

  • v9.1.0 Changes

    December 02, 2020
    • ➕ Added hasFormBody(_:) matcher.
      @417-72KI
    • ➕ Added fix for Xcode 12 - Warnings related to iOS 8 support (Swift Package Manager) #328
      @kikeenrique
  • v9.0.0 Changes

    January 24, 2020
    • ➕ Added support for Swift Package Manager and dropped OH from all class names.
      @jeffctown
  • v8.0.0 Changes

    April 22, 2019
    • ⚡️ Update default Swift Version to 5.0 @croig

    Notes:

    • No code changes were required (except from a little missing comma which caused a compilation error). Only xcshemes and xcodeproj were changed.
  • v7.0.0 Changes

    March 14, 2019
    • ⚡️ Updating default Swift Version to 4.2.
      @jeffctown
    • ⚡️ Updating example projects to Swift 4.2 and Xcode 10.1.
      @jeffctown
    • ⚡️ Updating iOS Lib Tests to have a minimum iOS version of 8.0.
      @jeffctown

    Notes:

    • Bumping this version to 7.0.0 because it's now using the Swift 4 APIs.
    • This version is still compatible with Swift 3.x when integrating with CocoaPods, as CocoaPods uses the same SWIFT_VERSION as your app project does so it adapts automatically and it's transparent for users.
    • If you're using Carthage and need Swift 3.x compatibility, you can follow the tips in the installation instructions of the README.md. 👷 > * CI is now only testing Swift 4.x on Xcode 9.1 and 10.1.
      ⚡️ > * Thank you to @hellensoloviy, @robertoferraz, @rckoenes, @NikSativa for their pull requests updating Swift!
  • v6.2.0 Changes

    March 14, 2019
    • Enabled application extension API only.
      @lightsprint09
    • ✅ Disabled a flaky redirect test and adding the known issue with redirects to the README.
      @jeffctown #301
    • ➕ Added isMethodHEAD() to the Swift helpers.
      @Simon-Kaz #294
    • 🛠 Fixed issue with not preserving correct headers when following 3xx redirects.
      @sberrevoets
  • v6.1.2

    May 10, 2019
  • v6.1.1

    January 28, 2019
  • v6.1.0 Changes

    November 19, 2017
    • 🚀 Updated deployment target for the pod to 7.0 to remove warning for old APIs.
      @AliSoftware
    • 🛠 Fixed HTTP Method retention for 301,302,307,308 status redirects.
      @mikelupo
    • ➕ Added hasJsonBody(_:) matcher.
      @pimnijman
    • ➕ Added onStubMissing to report missing stubs.
      @c1ira #264
    • 🛠 Fixed URLRequest.ohhttpStubs_httpBody function in Swift 3 and 4.
      @mplorentz
    • ➕ Added absolute url matcher.
      @victorg1991 #254
    • 🛠 Fixed up empty lines with whitespace inside test case classes.
      @mikelupo #251
    • 🛠 Fixed potential memory leaks with use of NSURLSession as detected by our devs.
      @mikelupo #250
    • ➕ Add precondition assertions in isScheme and isHost matchers and some documentation in isHost, isScheme and isPath.
      @Liquidsoul #248
  • v6.0.0 Changes

    April 04, 2017
    • 0️⃣ Made Swift 3 the default. master is now compatible with 3.0 and 3.1.
      @Liquidsoul @cohilla #240
    • The pod 'OHHTTPStubs/Swift' subspec now includes the URLSession and JSON subspecs.
      @AliSoftware
    • ➕ Added some matchers to the Swift APIs: hasBody(…), pathEndsWith(…) and pathMatches(…).
      @AliSoftware

    Notes:

    • Bumping this version to 6.0.0 because it's now using the Swift 3 APIs, but in practice it's entirely retro-compatible with previous 5.2.3-swift3 branch
    • This version is still compatible with Swift 2.3 when integrating with CocoaPods, as CocoaPods uses the same SWIFT_VERSION as your app project does so it adapts automatically and it's transparent for users.
    • If you're using Carthage though, we stopped providing Swift-2.3-specific branches ourselves (too much maintainance work), but if you still need Swift 2.3 compatibility, you can follow the tips in the installation instructions of the README.md.
  • v5.2.3 Changes

    November 29, 2016
    • 🔧 Reverted #216 until better solution, as it was never active and can't make it compile for all subspec configurations.
    • 👌 Improved documentation about dynamicType: vs type(of:).
      Antondomashnev #221
    • 🛠 Fixed a race condition that occasionally prevented redirect callbacks.
      @morrowa #224
    • 🛠 Fixed response timing for zero-length stub data.
      @morrowa #224