Updating Changes to 0.10.0

This commit is contained in:
Mattt Thompson 2012-06-26 08:25:11 -07:00
parent 4984262534
commit 58b9eb51b7

193
CHANGES
View file

@ -1,20 +1,85 @@
= 0.10.0 / 2012-06-26
* Add Twitter Mac Example application (Mattt Thompson)
* Add note in README about how to set `-fno-objc-arc` flag for multiple files
at once (Pål Brattberg)
* Add note in README about 64-bit architecture requirement (@rmuginov, Mattt
Thompson)
* Add note in `AFNetworkActivityIndicatorManager` about not having to manually
manage animation state (Mattt Thompson)
* Add missing block parameter name for `imageProcessingBlock` (Francois
Lambert)
* Add NextiveJson to list of supported JSON libraries (Mattt Thompson)
* Restore iOS 4.0 compatibility with `addAcceptableStatusCodes:` and
`addAcceptableContentTypes:` (Zachary Waldowski)
* Update `AFHTTPClient` to use HTTP pipelining for `GET` and `HEAD` requests by
default (Mattt Thompson)
* Remove @private ivar declaration in headers (Peter Steinberger, Mattt
Thompson)
* Fix potential premature deallocation of _skippedCharacterSet (Tom Wanielista,
Mattt Thompson)
* Fix potential issue in `setOutputStream` by closing any existing
`outputStream` (Mattt Thompson)
* Fix filename in AFHTTPClient header (Steven Fisher)
* Fix documentation for UIImageView+AFNetworking (Mattt Thompson)
* Fix HTTP multipart form format, which caused issues with Tornado web server
(Matt Chen)
* Fix `AFHTTPClient` to not append empty data into multipart form data (Jon
Parise)
* Fix URL encoding normalization to not conditionally escape percent-encoded
strings (João Prado Maia, Kendall Helmstetter Gelner, @cysp, Mattt Thompson)
* Fix `AFHTTPClient` documentation reference of
`HTTPRequestOperationWithRequest:success:failure` (Shane Vitarana)
* Add `AFURLRequestOperation -setRedirectResponseBlock:` (Kevin Harwood)
* Fix `AFURLConnectionOperation` compilation error by conditionally importing
UIKit framework (Steven Fisher)
* Fix issue where image processing block is not called correctly with success
block in `AFImageRequestOperation` (Sergey Gavrilyuk)
* Fix leaked dispatch group in batch operations (@andyegorov, Mattt Thompson)
* Fix support for non-LLVM compilers in `AFNetworkActivityIndicatorManager`
(Abraham Vegh, Bill Williams, Mattt Thompson)
* Fix AFHTTPClient to not add unnecessary data when constructing multipart form
request with nil parameters (Taeho Kim)
= 1.0RC1 / 2012-04-25 = 1.0RC1 / 2012-04-25
* Add `AFHTTPRequestOperation +addAcceptableStatusCodes / * Add `AFHTTPRequestOperation +addAcceptableStatusCodes /
+addAcceptableContentTypes` to dynamically add acceptable status codes and +addAcceptableContentTypes` to dynamically add acceptable status codes and
content types on the class level (Mattt Thompson) content types on the class level (Mattt Thompson)
* Add support for compound and complex `Accept` headers that include multiple * Add support for compound and complex `Accept` headers that include multiple
content types and / or specify a particular character encoding (Mattt Thompson) content types and / or specify a particular character encoding (Mattt Thompson)
* Add `AFURLConnectionOperation * Add `AFURLConnectionOperation
-setShouldExecuteAsBackgroundTaskWithExpirationHandler:` to have operations -setShouldExecuteAsBackgroundTaskWithExpirationHandler:` to have operations
finish once an app becomes inactive (Mattt Thompson) finish once an app becomes inactive (Mattt Thompson)
* Add support for pausing / resuming request operations (Peter Steinberger, * Add support for pausing / resuming request operations (Peter Steinberger,
Mattt Thompson) Mattt Thompson)
* Improve network reachability functionality in `AFHTTPClient`, including a * Improve network reachability functionality in `AFHTTPClient`, including a
distinction between WWan and WiFi reachability (Kevin Harwood, Mattt Thompson) distinction between WWan and WiFi reachability (Kevin Harwood, Mattt Thompson)
@ -123,87 +188,87 @@ where % is used as a literal rather than as part of a percent escape code
= 0.9.0 / 2012-01-23 = 0.9.0 / 2012-01-23
* Add thread-safe behavior to `AFURLConnectionOperation` (Mattt Thompson) * Add thread-safe behavior to `AFURLConnectionOperation` (Mattt Thompson)
* Add batching of operations for `AFHTTPClient` (Mattt Thompson) * Add batching of operations for `AFHTTPClient` (Mattt Thompson)
* Add authentication challenge callback block to override default * Add authentication challenge callback block to override default
implementation of `connection:didReceiveAuthenticationChallenge:` in implementation of `connection:didReceiveAuthenticationChallenge:` in
`AFURLConnectionOperation` (Mattt Thompson) `AFURLConnectionOperation` (Mattt Thompson)
* Add `_AFNETWORKING_PREFER_NSJSONSERIALIZATION_`, which, when defined, * Add `_AFNETWORKING_PREFER_NSJSONSERIALIZATION_`, which, when defined,
short-circuits the standard preference ordering used in `AFJSONEncode` and short-circuits the standard preference ordering used in `AFJSONEncode` and
`AFJSONDecode` to use `NSJSONSerialization` when available, falling back on `AFJSONDecode` to use `NSJSONSerialization` when available, falling back on
third-party-libraries. (Mattt Thompson, Shane Vitarana) third-party-libraries. (Mattt Thompson, Shane Vitarana)
* Add custom `description` for `AFURLConnectionOperation` and `AFHTTPClient` * Add custom `description` for `AFURLConnectionOperation` and `AFHTTPClient`
(Mattt Thompson) (Mattt Thompson)
* Add `text/javascript` to default acceptable content types for * Add `text/javascript` to default acceptable content types for
`AFJSONRequestOperation` (Jake Boxer) `AFJSONRequestOperation` (Jake Boxer)
* Add `imageScale` property to change resolution of images constructed from * Add `imageScale` property to change resolution of images constructed from
cached data (Štěpán Petrů) cached data (Štěpán Petrů)
* Add note about third party JSON libraries in README (David Keegan) * Add note about third party JSON libraries in README (David Keegan)
* `AFQueryStringFromParametersWithEncoding` formats `NSArray` values in the * `AFQueryStringFromParametersWithEncoding` formats `NSArray` values in the
form `key[]=value1&key[]=value2` instead of `key=(value1,value2)` (Dan Thorpe) form `key[]=value1&key[]=value2` instead of `key=(value1,value2)` (Dan Thorpe)
* `AFImageRequestOperation -responseImage` on OS X uses `NSBitmapImageRep` to * `AFImageRequestOperation -responseImage` on OS X uses `NSBitmapImageRep` to
determine the correct pixel dimensions of the image (David Keegan) determine the correct pixel dimensions of the image (David Keegan)
* `AFURLConnectionOperation` `connection` has memory management policy `assign` * `AFURLConnectionOperation` `connection` has memory management policy `assign`
to avoid retain cycles caused by `NSURLConnection` retaining its delegate to avoid retain cycles caused by `NSURLConnection` retaining its delegate
(Mattt Thompson) (Mattt Thompson)
* `AFURLConnectionOperation` calls super implementation for `-isReady`, * `AFURLConnectionOperation` calls super implementation for `-isReady`,
following the guidelines for `NSOperation` subclasses (Mattt Thompson) following the guidelines for `NSOperation` subclasses (Mattt Thompson)
* `UIImageView -setImageWithURL:` and related methods call success callback * `UIImageView -setImageWithURL:` and related methods call success callback
after setting image (Cameron Boehmer) after setting image (Cameron Boehmer)
* Cancel request if an authentication challenge has no suitable credentials in * Cancel request if an authentication challenge has no suitable credentials in
`AFURLConnectionOperation -connection:didReceiveAuthenticationChallenge:` `AFURLConnectionOperation -connection:didReceiveAuthenticationChallenge:`
(Jorge Bernal) (Jorge Bernal)
* Remove exception from * Remove exception from
`multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:` `multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
raised when certain HTTP methods are used. (Mattt Thompson) raised when certain HTTP methods are used. (Mattt Thompson)
* Remove `AFImageCache` from public API, moving it into private implementation * Remove `AFImageCache` from public API, moving it into private implementation
of `UIImageView+AFNetworking` (Mattt Thompson) of `UIImageView+AFNetworking` (Mattt Thompson)
* Mac example application makes better use of AppKit technologies and * Mac example application makes better use of AppKit technologies and
conventions (Mattt Thompson) conventions (Mattt Thompson)
* Fix issue with multipart form boundaries in `AFHTTPClient * Fix issue with multipart form boundaries in `AFHTTPClient
-multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:` -multipartFormRequestWithMethod:path:parameters:constructing BodyWithBlock:`
(Ray Morgan, Mattt Thompson, Sam Soffes) (Ray Morgan, Mattt Thompson, Sam Soffes)
* Fix "File Upload with Progress Callback" code snippet in README (Larry Legend) * Fix "File Upload with Progress Callback" code snippet in README (Larry Legend)
* Fix to SBJSON invocations in `AFJSONEncode` and `AFJSONDecode` (Matthias * Fix to SBJSON invocations in `AFJSONEncode` and `AFJSONDecode` (Matthias
Tretter, James Frye) Tretter, James Frye)
* Fix documentation for `AFHTTPClient requestWithMethod:path:parameters:` * Fix documentation for `AFHTTPClient requestWithMethod:path:parameters:`
(Michael Parker) (Michael Parker)
* Fix `Content-Disposition` headers used for multipart form construction * Fix `Content-Disposition` headers used for multipart form construction
(Michael Parker) (Michael Parker)
* Add network reachability status change callback property to `AFHTTPClient`. * Add network reachability status change callback property to `AFHTTPClient`.
(Mattt Thompson, Kevin Harwood) (Mattt Thompson, Kevin Harwood)
* Fix exception handling in `AFJSONEncode` and `AFJSONDecode` (David Keegan) * Fix exception handling in `AFJSONEncode` and `AFJSONDecode` (David Keegan)
* Fix `NSData` initialization with string in `AFBase64EncodedStringFromString` * Fix `NSData` initialization with string in `AFBase64EncodedStringFromString`
(Adam Ernst, Mattt Thompson) (Adam Ernst, Mattt Thompson)
* Fix error check in `appendPartWithFileURL:name:error:` (Warren Moore, * Fix error check in `appendPartWithFileURL:name:error:` (Warren Moore,
Baldoph, Mattt Thompson) Baldoph, Mattt Thompson)
* Fix compiler warnings for certain configurations (Charlie Williams) * Fix compiler warnings for certain configurations (Charlie Williams)
* Fix bug caused by passing zero-length `responseData` to response object * Fix bug caused by passing zero-length `responseData` to response object
initializers (Mattt Thompson, Serge Paquet) initializers (Mattt Thompson, Serge Paquet)