Changelog History
Page 5
-
v3.1.3 Changes
- 🛠 Fix #66: Use the ivar directly in initialization (to avoid KVO side effects)
-
v3.1.2 Changes
- 🛠 Fix broken link in README (#61)
- Don't override Content-Length header when already set (#62)
-
v3.1.1 Changes
- 🛠 Fixing a crash when using very very long data #57/#59
- 🛠 Fixing issue #51 regarding a probable race condition when stubs were removed before the request has finished
- 🚚 Shorten the README.md file and moved all the usage examples in a dedicated wiki page to avoid a endless and frightening README
-
v3.1.0 Changes
- The
OHHTTPStubsDescriptor
protocol now inherits from theNSObject
protocol
- The
-
v3.0.4 Changes
🛠 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]].- 👍
NSURLSessionConfiguration
's swizzling (to add automatic support ofOHHTTPStubs
toNSURLSession
) is now done in the+load
method of anNSURLSessionConfiguration
category, to be sure it is loaded (and swizzled) only once, even ifOHHTTPStubs
is loaded by two different bundles. - The stubs activation of
NSURLSessionConfiguration
no longer usesobjc_getClass
but uses a call to theOHHTTPStubs
class instead, which ensure that it uses the correctOHHTTPStubs
class in the current bundle instead of always using the one loaded from the main bundle.
- 👍
-
v3.0.3 Changes
- ➕ Adding Mac framework & Mac Test Target (#44)
- ➕ Adding known limitations in README
-
v3.0.2 Changes
- 🛠 Fixed issue with cookies when
request.URL
isnil
(#39) - Fixed missing
-ObjC
flag in Unit Tests target (that made it unable to call category methods) - ✅ Fixed Unit Tests on iOS6 (
NSURLSession
-related Unit Tests now only executed when run on iOS7+ or OSX10.9+, and skipped if targeted for an earlier OS version, asNSURLSession
was not available then)
- 🛠 Fixed issue with cookies when
-
v3.0.1 Changes
- 🛠 Fixed issue with
NSURLSessionConfiguration
auto-swizzling (#37 & #38)
Now
OHHTTPStubs
automagically works withNSURLSessionConfiguration
without the need to enable it for everyNSURLSessionConfiguration
before creating theNSURLSession
: thedefaultSessionConfiguration
andephemeralSessionConfiguration
are now preconfigured automatically to work withOHHTTPStubs
) - 🛠 Fixed issue with
-
v3.0.0 Changes
- ✂ Removed deprecated methods.
🗄 > 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 this3.0.0
version without any further changes in your code.