Releases: AliSoftware/OHHTTPStubs
Releases · AliSoftware/OHHTTPStubs
New Swift Helper methods
- Added
isMethodGET()
,isMethodPUT()
,isMethodPOST()
andisMethodDELETE()
to theSwift
helpers.
(#137)
4.5.1
- Added missing
tvOS
andwatchOS
platforms to theSwift
subspec.
@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
OHHTTPStubsResponse
s fromNSURL
s 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
Swift
subspec that adds helper global functions to ease & make more compact the use ofOHHTTPStubs
from Swift 2.0 (#111)
If you're using
OHHTTPStubs
in a Swift 2.0 project, it's recommended to addpod 'OHHTTPStubs/Swift
to yourPodfile
so 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
OHHTTPStubs
spec 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
HTTPMessage
andMocktail
(which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in yourPodfile
usingpod 'OHHTTPStubs/Mocktail
for 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
OHHTTPStubs
in 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
NSURLProtocol
subclass callingNSURLProtocolClient
callbacks from wrong thread. (@nsprogrammer, #96)