Skip to content

Releases: AliSoftware/OHHTTPStubs

5.2.2

23 Oct 17:31
Compare
Choose a tag to compare

5.2.1-swift3

09 Sep 18:08
Compare
Choose a tag to compare

This is the same release as 5.2.1 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.

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

5.2.1

09 Sep 18:05
Compare
Choose a tag to compare

Reminder that this version is source-compatible compatible with ObjC, Swift 2.2, 2.3 and 3.0 all in master. You you're using CocoaPods you can use 5.2.0 directly. But if you're using Carthage, which builds the framework from the Xcode project, you should use the swift3 branch — whose only diff is the SWIFT_VERSION build setting being set to 3.0.

Note for Carthage users: The OHHTTPStubs.framework.zip pre-build binary is intentionally not included in this release, because we're in a transition period between Swift 2.2, 2.3 and 3.0. Carthage only let us provide one pre-build binary per version while we'd need one for each Swift ABI during that transition period.
For more info, see the dedicated paragraph in README.

5.2.0 + Swift 3 enforced for Carthage

21 Aug 03:15
Compare
Choose a tag to compare

This is the same release as 5.2.0 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

5.2.0: Swift 2.3 & 3.0 support

21 Aug 02:40
Compare
Choose a tag to compare
  • Added Swift 2.3/Xcode 8 support. This is compatible both Swift 2.2/Xcode 7.3 and Swift 2.3/Xcode 8.
    @ikesyo, #184
  • Added Swift 3.0 support.
    @mxcl, @Liquidsoul, #192
  • Set deployment targets at the project level to be used in a universal target.
    @ikesyo, #185
  • Fix: Carthage support and Examples configurations.
    @Liquidsoul, #190

Note for Carthage users: The OHHTTPStubs.framework.zip pre-build binary is intentionally not included in this release, because we're in a transition period between Swift 2.2, 2.3 and 3.0. Carthage only let us provide one pre-build binary per version while we'd need one for each Swift ABI during that transition period.
For more info, see the dedicated paragraph in README.

5.1.0

06 Jun 19:42
Compare
Choose a tag to compare
  • Bugfix: task completion block never called when not following redirects.
    @adurdin, #175
  • Declare in the project settings that the library contains swift code.
    @rodericj, #173
  • Adjusted parsing of Mocktail files to allow headers to start on line 4.
    @Ashton-W, #172
  • Allows access to the HTTPBody of POST request when using NSURLSession
    (Wiki entry)
    @iosphere, #166 #180

5.0.0

28 Mar 17:53
Compare
Choose a tag to compare
  • Added pathStartsWith(_:) to the Swift helpers.
    @sdduursma, #163
  • Added more logging blocks for debugging and better insight into when OHHTTPStubs returns stubs and redirects.
    @jzucker2, #161
  • Added matchers that check whether a request has a particular header present, and a matcher to check if a request has a header with a key and value.
    @hq-mobile, #160

Note that this last change also changed the signature of the onStubActivation: (hence the bump to 5.0.0) so you'll have to update your code if you used this for debugging your stubs.

4.8.0

13 Mar 23:02
Compare
Choose a tag to compare
  • Added isEnabled and isEnabledForSessionConfiguration getter methods.
    @jzucker2, #159

4.7.1

20 Feb 15:40
Compare
Choose a tag to compare
  • Bumps OSX Deployment Target to 10.9 to add Swift support.
    @JeanAzzopardi, #154
  • Added the ${CURRENT_PROJECT_VERSION} to the Info.plist files of theOHHTTPStubs.framework so it matches what is expected by iTunes Connect.
    @siemensikkema, #140

4.7.0

20 Dec 17:55
Compare
Choose a tag to compare
  • Added isMethodPATCH() to the Swift helpers.
    @attheodo, #145
  • Fixed nullability annotation on onStubActivation: method parameter.
    @DerLobi, #144