OHHTTPStubs — CHANGELOG

Master

9.0.0

8.0.0

Notes:

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

7.0.0

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!

6.2.0

6.1.0

6.0.0

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.

5.2.3

5.2.2

5.2.1

5.2.0

5.1.0

5.0.0

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

4.7.1

4.7.0

4.6.0

4.5.1

4.5.0 — tvOS

4.4.0

4.3.0

If you're using OHHTTPStubs in a Swift 2.0 project, it's recommended to add pod 'OHHTTPStubs/Swift to your Podfile so you can use those handy helpers.

4.2.1

4.2.0 — Splitting in subspecs

4.1.0 — watchOS 2

4.0.2

4.0.1

4.0.0 — Improvements for Swift

3.1.12

3.1.11

3.1.10

3.1.9

3.1.8

3.1.7

(I also moved Travis-CI build system so it now uses xcpretty instead of xctool to run Unit Tests)

3.1.6

3.1.5

3.1.4

As of Xcode6 Beta4, OHHTTPStubs compatibility with iOS8 has been validated now.

3.1.3

3.1.2

3.1.1

3.1.0

3.0.4

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]].

3.0.3

3.0.2

3.0.1

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)

3.0.0

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.

2.4.0

2.3.1

2.3.0

2.2.1

Note: version 2.1.0-RC, 2.1.0-rc.1, 2.2.0-RC and 2.2.1-RC were intermediate Release Candidate versions during the big refactoring and migration to 2.2.1, with the same new features as listed above basicaly, but without the last-minute bugfixes before official release.

2.0.0

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!

1.2.2

1.2.1

This version is buggy as it introduced a deadlock when performing a request on the main thread. 1.2.2 fixes that issue.

1.2.0

1.1.2

Easier integration process:

1.1.1

You will now have to indicate the folder containing headers for OHHTTPStubs in your HEADER_SEARCH_PATH Build Settings, and we are back to #import "OHHTTPStubs.h" until a better solution is found

(1) This modification for the integration process did only last for version 1.1.1. Version 1.1.2 restored #import <OHHTTPStubs/OHHTTPStubs.h> (but using a much better solution than the previous xcconfig used) and filling HEADER_SEARCH_PATH is no longer needed in further versions. See changelog for 1.1.2 above.

1.1.0

1.0.6

1.0.5

1.0.4

1.0.3

1.0.2

1.0.1

1.0.0

0.2.0

0.1.0