Releases: AliSoftware/OHHTTPStubs
Releases · AliSoftware/OHHTTPStubs
New Swift Helper methods
- Added
isMethodGET(),isMethodPUT(),isMethodPOST()andisMethodDELETE()to theSwifthelpers.
(#137)
4.5.1
- Added missing
tvOSandwatchOSplatforms to theSwiftsubspec.
@pantuspavel, #136
tvOS Support
- Added support for tvOS.
@tiagomartinho, #134
Fixing Umbrella headers + NSURL methods
- Fixed issue with Umbrella Headers (#127, #131)
- Added methods for creating
OHHTTPStubsResponses fromNSURLs that represent file system resources (@MaxGabriel, #129) - Bumped Swift subspec compatibility to OSX 10.9 instead of 10.7.
Swift Helpers & Xcode 7
- Xcode projects updated to Xcode 7.0 Final
- Added a
Swiftsubspec that adds helper global functions to ease & make more compact the use ofOHHTTPStubsfrom Swift 2.0 (#111)
If you're using
OHHTTPStubsin a Swift 2.0 project, it's recommended to addpod 'OHHTTPStubs/Swiftto yourPodfileso you can use those handy helpers.
Xcode project typos + new speed constant
Mocktail support (+ Subspec split)
- Added support for stubs written in the Mocktail format (@JinlianWang, #108)
- The
OHHTTPStubsspec has been splitted into multiple subspecs:- The default subspec (used when you simply use
pod 'OHHTTPStubs'in yourPodfile) contains the subspecsCore,NSURLSession,JSON&OHPathHelpers(so that it matches the features that most people use). - Other optional subspecs are
HTTPMessageandMocktail(which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in yourPodfileusingpod 'OHHTTPStubs/Mocktailfor example.
- The default subspec (used when you simply use
- The iOS Unit Tests are now also run for the framework as well as for the static library, to ensure the tests pass in both contexts (because frameworks sometimes introduce subtleties like when using
NSBundle, so it's worth testing in that context too)
4.1.0
- Added support for using
OHHTTPStubsin watchOS 2.0 targets. - Improved compatibility macros (nullability annotations) — and tested against Xcode 7 beta 4.
Fix OHResourceBundle declaration
Fixed threading issue
- Fix threading in
NSURLProtocolsubclass callingNSURLProtocolClientcallbacks from wrong thread. (@nsprogrammer, #96)