All Versions
10
Latest Version
Avg Release Cycle
56 days
Latest Release
1876 days ago
Changelog History
Changelog History
-
v4.5.0 Changes
November 28, 2019- ➕ Add Obj-C convenience functions for creating upload requests with an
NSData
but no explicitcontentType
(#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
methodsinit(minimumCapacity:
) andreserveCapacity(_:)
and propertycapacity
(#66).
- ➕ Add Obj-C convenience functions for creating upload requests with an
-
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.
- 🛠 Fix a bug with the deprecated
-
v4.4.1 Changes
April 24, 2019- ↪ Work around a CocoaPods bug with Swift versions (CocoaPods/CocoaPods#8635).
-
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, ornil
for.unexpectedContentType
(#60). - ➕ Add Obj-C function
PMHTTPErrorGetStatusCode()
that returns the failing status code for the error, ornil
forPMHTTPErrorUnexpectedContentType
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 handlePMHTTPErrorUnexpectedNoContent
andPMHTTPErrorUnexpectedRedirect
in addition toPMHTTPErrorFailedResponse
andPMHTTPErrorUnauthorized
. - 🛠 Fix warnings introduced by Xcode 10.2.
- ⚡️ Updated
-
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).
- 🛠 Fix bug where requests constructed from a
-
v4.3.1 Changes
August 02, 2018- ➕ Add
URLProtocol
method overloads to query and set protocol properties onHTTPManagerRequest
s (#43)
- ➕ Add
-
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).
- 🔦 Expose
-
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
isnil
(#37). - 👍 Extend built-in retry behaviors to support custom strategies (#35).
- ➕ Add
HTTPManagerRequest
properties that correspond to theURLRequest
propertiesmainDocumentURL
andhttpShouldHandleCookies
(#40).
- Percent-encode more characters for