All Versions
10
Latest Version
Avg Release Cycle
56 days
Latest Release
1608 days ago

Changelog History

  • v4.5.0 Changes

    November 28, 2019
    • ➕ Add Obj-C convenience functions for creating upload requests with an NSData but no explicit contentType (#65).
    • 🛠 Fix the Obj-C -setValue:forHeaderField: and -setValue:forDefaultHeaderField: methods to take a nullable value (#67).
    • ➕ Add HTTPManagerRetryBehavior.init(any:) to combine multiple retry behaviors together (#69).
    • Add HTTPManagerRequest.HTTPHeaders methods init(minimumCapacity:) and reserveCapacity(_:) and property capacity (#66).
  • v4.4.3 Changes

    November 15, 2019
    • 👌 Support PMJSON 4.x in addition to PMJSON 3.x with CocoaPods. Carthage doesn't support that kind of version range so it's now just set to PMJSON 4.x only.
  • v4.4.2 Changes

    November 15, 2019
    • 🛠 Fix a bug with the deprecated HTTPManagerObjectParseRequest.credential property where assigning to the property wouldn't work.
  • v4.4.1 Changes

    April 24, 2019
  • v4.4.0 Changes

    April 24, 2019
    • 🛠 Fix a bug when parsing images where we passed the wrong value for the type identifier hint, resulting in a warning being logged to the console (#62).
    • ➕ Add computed properties on HTTPManagerError for convenient access to the associated values (e.g. .response, .body, etc).
    • ➕ Add computed property HTTPManagerError.statusCode that returns the failing status code for the error, or nil for .unexpectedContentType (#60).
    • ➕ Add Obj-C function PMHTTPErrorGetStatusCode() that returns the failing status code for the error, or nil for PMHTTPErrorUnexpectedContentType or for non-PMHTTP errors (#60).
    • Provide PMHTTPStatusCodeErrorKey user info key for more error types (#59).
    • ➕ Add computed property URLResponse.isUnmockedInterceptedRequest that can be used to test if a response comes from a request that was intercepted by the mock manager without a mock installed (#46).
  • v4.3.3 Changes

    April 07, 2019
    • ⚡️ Updated PMHTTPErrorIsFailedResponse to handle PMHTTPErrorUnexpectedNoContent and PMHTTPErrorUnexpectedRedirect in addition to PMHTTPErrorFailedResponse and PMHTTPErrorUnauthorized.
    • 🛠 Fix warnings introduced by Xcode 10.2.
  • v4.3.2 Changes

    November 15, 2018
    • 🛠 Fix bug where requests constructed from a URL would not inherit environmental defaults (e.g. auth, headers, etc) (#52).
  • v4.3.1 Changes

    August 02, 2018
    • ➕ Add URLProtocol method overloads to query and set protocol properties on HTTPManagerRequests (#43)
  • v4.3.0 Changes

    July 27, 2018
    • 🔦 Expose HTTPManagerTask.userInitiated as a public property (#42).
    • ➕ Add another parameter to the HTTPManager.MetricsCallback callback. In order to retain backwards compatibility, the old initializer and property were deprecated and a new initializer and property were added with different names (#41).
  • v4.2.0 Changes

    July 11, 2018
    • Percent-encode more characters for application/x-www-form-urlencoded bodies and query strings. Notably, semicolon (;) is now percent-encoded, as some servers treat it as a separator.
    • ⚡️ Optimize task metrics collection such that metrics are not collected if metricsCallback is nil (#37).
    • 👍 Extend built-in retry behaviors to support custom strategies (#35).
    • ➕ Add HTTPManagerRequest properties that correspond to the URLRequest properties mainDocumentURL and httpShouldHandleCookies (#40).