All Versions
67
Latest Version
Avg Release Cycle
121 days
Latest Release
234 days ago

Changelog History
Page 1

  • v8.0.0

    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

    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

    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

    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

    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

    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
  • v5.2.3-swift3

    November 29, 2016

    🚀 This is the same release as 5.2.3 below, except it has SWIFT_VERSION=3.0 set in the Xcode project so that Carthage users already using Swift 3 can build it with this configuration.

    ⚡️ The sample projects also have been updated to Swift 3 in this branch.

    🛠 Users of CocoaPods are not impacted by this and can use the main 5.2.3 version — this tag is only useful for Carthage users (until Carthage/#1445 is fixed)

  • v5.2.2

    October 23, 2016
    • ➕ Added @discardableResult to func stub for swift 3.
      @mrkite, #203
    • Removed ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to avoid embedding Swift standard libraries when building with Carthage.
      @MattesGroeger #217 @kylejm #220
    • ➕ Add OHHTTPStubs_HTTPBody to URLRequest in Swift 3.0.
      @marcelofabri #216
    • Migrate samples in swift3 branch to Swift 3.
      @dhardiman #205