AFNetworking/CHANGES

147 lines
5.5 KiB
Text
Raw Normal View History

2012-04-25 09:35:40 -07:00
= 0.9.1 / 2012-03-19
2012-04-25 09:35:40 -07:00
* Create Twitter example application (Mattt Thompson)
* Add support for nested array and dictionary parameters for query string and
form-encoded requests (Mathieu Hausherr, Josh Chung, Mattt Thompson)
2012-04-25 09:35:40 -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-04-25 09:35:40 -07:00
* Add `_AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_` macros for
NSURLConnection authentication delegate methods (Mattt Thompson)
* Add properties for custom success / failure callback queues (Peter
Steinberger)
* Add notifications for network reachability changes to `AFHTTPClient` (Mattt
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)
* Improve performance of image request decoding by dispatching to background
queue (Mattt Thompson)
* Document crashing behavior in iOS 4 loading a file:// URL (Mattt Thompson)
* Fix crash caused by `AFHTTPClient -cancelAllHTTPOperationsWithMethod:` not
checking operation to be instance of `AFHTTPRequestOperation` (Mattt Thompson)
* Fix crash caused by passing `nil` URL in requests (Sam Soffes)
* Fix errors caused by connection property not being nil'd out after an
operation finishes (Kevin Harwood, @zdzisiekpu)
* Fix crash caused by passing `NULL` error pointer when setting `NSInvocation`
in `AFJSONEncode` and `AFJSONDecode` (Tyler Stromberg)
* Fix batch operation completion block returning on background thread (Patrick
Hernandez)
* Fix documentation for UIImageView+AFNetworking (Dominic Dagradi)
* Fix race condition caused by `AFURLConnectionOperation` being cancelled on
main thread, rather than network thread (Erik Olsson)
* Fix `AFURLEncodedStringFromStringWithEncoding` to correctly handle cases
where % is used as a literal rather than as part of a percent escape code
(Mattt Thompson)
* Fix missing comma in `+defaultAcceptableContentTypes` for
`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)
* 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-04-25 09:35:40 -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-04-25 09:35:40 -07:00
* Add custom `description` for `AFURLConnectionOperation` and `AFHTTPClient`
(Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Add `text/javascript` to default acceptable content types for
`AFJSONRequestOperation` (Jake Boxer)
2012-04-25 09:35:40 -07:00
* Add `imageScale` property to change resolution of images constructed from
cached data (Štěpán Petrů)
2012-04-25 09:35:40 -07:00
* Add note about third party JSON libraries in README (David Keegan)
2012-04-25 09:35:40 -07:00
* `AFQueryStringFromParametersWithEncoding` formats `NSArray` values in the
form `key[]=value1&key[]=value2` instead of `key=(value1,value2)` (Dan Thorpe)
2012-04-25 09:35:40 -07:00
* `AFImageRequestOperation -responseImage` on OS X uses `NSBitmapImageRep` to
determine the correct pixel dimensions of the image (David Keegan)
2012-04-25 09:35:40 -07:00
* `AFURLConnectionOperation` `connection` has memory management policy `assign`
to avoid retain cycles caused by `NSURLConnection` retaining its delegate
(Mattt Thompson)
2012-04-25 09:35:40 -07:00
* `AFURLConnectionOperation` calls super implementation for `-isReady`,
following the guidelines for `NSOperation` subclasses (Mattt Thompson)
2012-04-25 09:35:40 -07:00
* `UIImageView -setImageWithURL:` and related methods call success callback
after setting image (Cameron Boehmer)
2012-04-25 09:35:40 -07:00
* Cancel request if an authentication challenge has no suitable credentials in
`AFURLConnectionOperation -connection:didReceiveAuthenticationChallenge:`
(Jorge Bernal)
2012-04-25 09:35:40 -07:00
* Remove exception from
`multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
raised when certain HTTP methods are used. (Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Remove `AFImageCache` from public API, moving it into private implementation
of `UIImageView+AFNetworking` (Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Mac example application makes better use of AppKit technologies and
conventions (Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Fix issue with multipart form boundaries in `AFHTTPClient
-multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
(Ray Morgan, Mattt Thompson, Sam Soffes)
2012-04-25 09:35:40 -07:00
* Fix "File Upload with Progress Callback" code snippet in README (Larry Legend)
2012-04-25 09:35:40 -07:00
* Fix to SBJSON invocations in `AFJSONEncode` and `AFJSONDecode` (Matthias
Tretter, James Frye)
2012-04-25 09:35:40 -07:00
* Fix documentation for `AFHTTPClient requestWithMethod:path:parameters:`
(Michael Parker)
2012-04-25 09:35:40 -07:00
* Fix `Content-Disposition` headers used for multipart form construction
(Michael Parker)
2012-04-25 09:35:40 -07:00
* Add network reachability status change callback property to `AFHTTPClient`.
(Mattt Thompson, Kevin Harwood)
2012-04-25 09:35:40 -07:00
* Fix exception handling in `AFJSONEncode` and `AFJSONDecode` (David Keegan)
2012-04-25 09:35:40 -07:00
* Fix `NSData` initialization with string in `AFBase64EncodedStringFromString`
(Adam Ernst, Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Fix error check in `appendPartWithFileURL:name:error:` (Warren Moore,
Baldoph, Mattt Thompson)
2012-04-25 09:35:40 -07:00
* Fix compiler warnings for certain configurations (Charlie Williams)
2012-04-25 09:35:40 -07:00
* Fix bug caused by passing zero-length `responseData` to response object
initializers (Mattt Thompson, Serge Paquet)