2012-04-25 09:56:28 -07:00
|
|
|
= 1.0RC1 / 2012-04-25
|
|
|
|
|
|
|
|
|
|
* Add `AFHTTPRequestOperation +addAcceptableStatusCodes /
|
|
|
|
|
+addAcceptableContentTypes` to dynamically add acceptable status codes and
|
|
|
|
|
content types on the class level (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Add support for compound and complex `Accept` headers that include multiple
|
|
|
|
|
content types and / or specify a particular character encoding (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Add `AFURLConnectionOperation
|
|
|
|
|
-setShouldExecuteAsBackgroundTaskWithExpirationHandler:` to have operations
|
|
|
|
|
finish once an app becomes inactive (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Add support for pausing / resuming request operations (Peter Steinberger,
|
|
|
|
|
Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Improve network reachability functionality in `AFHTTPClient`, including a
|
|
|
|
|
distinction between WWan and WiFi reachability (Kevin Harwood, Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
= 0.9.2 / 2012-04-25
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Add thread safety to `AFNetworkActivityIndicator` (Peter Steinberger, Mattt
|
2012-04-25 09:48:25 -07:00
|
|
|
Thompson)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Document requirement of available JSON libraries for decoding responses in
|
|
|
|
|
`AFJSONRequestOperation` and parameter encoding in `AFHTTPClient` (Mattt
|
2012-04-25 09:48:25 -07:00
|
|
|
Thompson)
|
|
|
|
|
|
|
|
|
|
* Fix `AFHTTPClient` parameter encoding (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Fix `AFJSONEncode` and `AFJSONDecode` to use `SBJsonWriter` and
|
2012-04-25 09:48:25 -07:00
|
|
|
`SBJsonParser` instead of `NSObject+SBJson` (Oliver Eikemeier)
|
|
|
|
|
|
|
|
|
|
* Fix bug where `AFJSONDecode` does not return errors (Alex Michaud)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Fix compiler warning for undeclared
|
2012-04-25 09:48:25 -07:00
|
|
|
`AFQueryStringComponentFromKeyAndValueWithEncoding` function (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Fix cache policy for URL requests (Peter Steinberger)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Fix race condition bug in `UIImageView+AFNetworking` caused by incorrectly
|
2012-04-25 09:48:25 -07:00
|
|
|
nil-ing request operations (John Wu)
|
|
|
|
|
|
|
|
|
|
* Fix reload button in Twitter example (Peter Steinberger)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Improve batched operation by deferring execution of batch completion block
|
|
|
|
|
until all component request completion blocks have finished (Patrick Hernandez,
|
2012-04-25 09:48:25 -07:00
|
|
|
Kevin Harwood, Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Improve performance of image request decoding by dispatching to background
|
|
|
|
|
queue (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Revert `AFImageCache` to cache image objects rather than `NSPurgeableData`
|
2012-04-25 09:48:25 -07:00
|
|
|
(Tony Million, Peter Steinberger, Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Remove unnecessary KVO `willChangeValueForKey:` / `didChangeValueForKey:`
|
2012-04-25 09:48:25 -07:00
|
|
|
calls (Peter Steinberger)
|
|
|
|
|
|
2012-04-25 09:56:28 -07:00
|
|
|
* Remove unnecessary @private ivar declarations in headers (Peter Steinberger,
|
2012-04-25 09:48:25 -07:00
|
|
|
Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Remove @try-@catch block wrapping network thread entry point (Charles T. Ahn)
|
|
|
|
|
|
|
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
= 0.9.1 / 2012-03-19
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
* Create Twitter example application (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add support for nested array and dictionary parameters for query string and
|
2012-04-25 09:35:40 -07:00
|
|
|
form-encoded requests (Mathieu Hausherr, Josh Chung, Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add `AFURLConnectionOperation -setCacheResponseBlock:`, which allows the
|
|
|
|
|
behavior of the `NSURLConnectionDelegate` method
|
|
|
|
|
`-connection:willCacheResponse:` to be overridden without subclassing (Mattt
|
2012-01-23 09:34:06 -08:00
|
|
|
Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add `_AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_` macros for
|
2012-04-25 09:35:40 -07:00
|
|
|
NSURLConnection authentication delegate methods (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add properties for custom success / failure callback queues (Peter
|
2012-04-25 09:35:40 -07:00
|
|
|
Steinberger)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add notifications for network reachability changes to `AFHTTPClient` (Mattt
|
2012-04-25 09:35:40 -07:00
|
|
|
Thompson)
|
|
|
|
|
|
|
|
|
|
* Add `AFHTTPClient -patchPath:` convenience method (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Add support for NextiveJson (Adrian Kosmaczewski)
|
|
|
|
|
|
|
|
|
|
* Improve network reachability checks (C. Bess)
|
|
|
|
|
|
|
|
|
|
* Improve NSIndexSet formatting in error strings (Jon Parise)
|
|
|
|
|
|
|
|
|
|
* Document crashing behavior in iOS 4 loading a file:// URL (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix crash caused by `AFHTTPClient -cancelAllHTTPOperationsWithMethod:` not
|
2012-04-25 09:35:40 -07:00
|
|
|
checking operation to be instance of `AFHTTPRequestOperation` (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Fix crash caused by passing `nil` URL in requests (Sam Soffes)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix errors caused by connection property not being nil'd out after an
|
2012-04-25 09:35:40 -07:00
|
|
|
operation finishes (Kevin Harwood, @zdzisiekpu)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix crash caused by passing `NULL` error pointer when setting `NSInvocation`
|
2012-04-25 09:35:40 -07:00
|
|
|
in `AFJSONEncode` and `AFJSONDecode` (Tyler Stromberg)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix batch operation completion block returning on background thread (Patrick
|
2012-04-25 09:35:40 -07:00
|
|
|
Hernandez)
|
|
|
|
|
|
|
|
|
|
* Fix documentation for UIImageView+AFNetworking (Dominic Dagradi)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix race condition caused by `AFURLConnectionOperation` being cancelled on
|
2012-04-25 09:35:40 -07:00
|
|
|
main thread, rather than network thread (Erik Olsson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix `AFURLEncodedStringFromStringWithEncoding` to correctly handle cases
|
|
|
|
|
where % is used as a literal rather than as part of a percent escape code
|
2012-04-25 09:35:40 -07:00
|
|
|
(Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix missing comma in `+defaultAcceptableContentTypes` for
|
2012-04-25 09:35:40 -07:00
|
|
|
`AFImageRequestOperation` (Michael Schneider)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
= 0.9.0 / 2012-01-23
|
|
|
|
|
|
|
|
|
|
* Add thread-safe behavior to `AFURLConnectionOperation` (Mattt Thompson)
|
|
|
|
|
|
|
|
|
|
* Add batching of operations for `AFHTTPClient` (Mattt Thompson)
|
|
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add authentication challenge callback block to override default
|
|
|
|
|
implementation of `connection:didReceiveAuthenticationChallenge:` in
|
2012-01-23 09:34:06 -08:00
|
|
|
`AFURLConnectionOperation` (Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add `_AFNETWORKING_PREFER_NSJSONSERIALIZATION_`, which, when defined,
|
|
|
|
|
short-circuits the standard preference ordering used in `AFJSONEncode` and
|
|
|
|
|
`AFJSONDecode` to use `NSJSONSerialization` when available, falling back on
|
2012-01-23 09:34:06 -08:00
|
|
|
third-party-libraries. (Mattt Thompson, Shane Vitarana)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add custom `description` for `AFURLConnectionOperation` and `AFHTTPClient`
|
2012-04-25 09:35:40 -07:00
|
|
|
(Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add `text/javascript` to default acceptable content types for
|
2012-04-25 09:35:40 -07:00
|
|
|
`AFJSONRequestOperation` (Jake Boxer)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add `imageScale` property to change resolution of images constructed from
|
2012-04-25 09:35:40 -07:00
|
|
|
cached data (Štěpán Petrů)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
* Add note about third party JSON libraries in README (David Keegan)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* `AFQueryStringFromParametersWithEncoding` formats `NSArray` values in the
|
2012-04-25 09:35:40 -07:00
|
|
|
form `key[]=value1&key[]=value2` instead of `key=(value1,value2)` (Dan Thorpe)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* `AFImageRequestOperation -responseImage` on OS X uses `NSBitmapImageRep` to
|
2012-04-25 09:35:40 -07:00
|
|
|
determine the correct pixel dimensions of the image (David Keegan)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* `AFURLConnectionOperation` `connection` has memory management policy `assign`
|
|
|
|
|
to avoid retain cycles caused by `NSURLConnection` retaining its delegate
|
2012-04-25 09:35:40 -07:00
|
|
|
(Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* `AFURLConnectionOperation` calls super implementation for `-isReady`,
|
2012-04-25 09:35:40 -07:00
|
|
|
following the guidelines for `NSOperation` subclasses (Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* `UIImageView -setImageWithURL:` and related methods call success callback
|
2012-04-25 09:35:40 -07:00
|
|
|
after setting image (Cameron Boehmer)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Cancel request if an authentication challenge has no suitable credentials in
|
|
|
|
|
`AFURLConnectionOperation -connection:didReceiveAuthenticationChallenge:`
|
2012-04-25 09:35:40 -07:00
|
|
|
(Jorge Bernal)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Remove exception from
|
|
|
|
|
`multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
|
2012-04-25 09:35:40 -07:00
|
|
|
raised when certain HTTP methods are used. (Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Remove `AFImageCache` from public API, moving it into private implementation
|
2012-04-25 09:35:40 -07:00
|
|
|
of `UIImageView+AFNetworking` (Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Mac example application makes better use of AppKit technologies and
|
2012-04-25 09:35:40 -07:00
|
|
|
conventions (Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix issue with multipart form boundaries in `AFHTTPClient
|
|
|
|
|
-multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
|
2012-04-25 09:35:40 -07:00
|
|
|
(Ray Morgan, Mattt Thompson, Sam Soffes)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
* Fix "File Upload with Progress Callback" code snippet in README (Larry Legend)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix to SBJSON invocations in `AFJSONEncode` and `AFJSONDecode` (Matthias
|
2012-04-25 09:35:40 -07:00
|
|
|
Tretter, James Frye)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix documentation for `AFHTTPClient requestWithMethod:path:parameters:`
|
2012-04-25 09:35:40 -07:00
|
|
|
(Michael Parker)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix `Content-Disposition` headers used for multipart form construction
|
2012-04-25 09:35:40 -07:00
|
|
|
(Michael Parker)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Add network reachability status change callback property to `AFHTTPClient`.
|
2012-04-25 09:35:40 -07:00
|
|
|
(Mattt Thompson, Kevin Harwood)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
* Fix exception handling in `AFJSONEncode` and `AFJSONDecode` (David Keegan)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix `NSData` initialization with string in `AFBase64EncodedStringFromString`
|
2012-04-25 09:35:40 -07:00
|
|
|
(Adam Ernst, Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix error check in `appendPartWithFileURL:name:error:` (Warren Moore,
|
2012-04-25 09:35:40 -07:00
|
|
|
Baldoph, Mattt Thompson)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:35:40 -07:00
|
|
|
* Fix compiler warnings for certain configurations (Charlie Williams)
|
2012-01-23 08:53:37 -08:00
|
|
|
|
2012-04-25 09:48:25 -07:00
|
|
|
* Fix bug caused by passing zero-length `responseData` to response object
|
2012-04-25 09:35:40 -07:00
|
|
|
initializers (Mattt Thompson, Serge Paquet)
|