OHHTTPStubs v5.0.0 Release Notes

    • ➕ 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.