AFNetworking Versions Save

A delightful networking framework for iOS, macOS, watchOS, and tvOS.

2.5.2

9 years ago
  • Add guards for unsupported features in iOS 8 App Extensions
  • Add missing delegate callbacks to UIWebView category
  • Add test and implementation of strict default certificate validation
  • Add #define for NS_DESIGNATED_INITIALIZER for unsupported versions of Xcode
  • Fix AFNetworkActivityIndicatorManager for iOS 7
  • Fix AFURLRequestSerialization property observation
  • Fix testUploadTasksProgressBecomesPartOfCurrentProgress
  • Fix warnings from Xcode 6.3 Beta
  • Fix AFImageWithDataAtScale handling of animated images
  • Remove AFNetworkReachabilityAssociation enumeration
  • Update to conditional use assign semantics for GCD properties based on OS_OBJECT_HAVE_OBJC_SUPPORT for better Swift support

2.5.1

9 years ago
  • Add NS_DESIGNATED_INITIALIZER macros. (Samir Guerdah)
  • Fix and clarify documentation for stringEncoding property. (Mattt Thompson)
  • Fix for NSProgress bug where two child NSProgress instances are added to a parent NSProgress. (Edward Povazan)
  • Fix incorrect file names in headers. (Steven Fisher)
  • Fix KVO issue when running testing target caused by lack of automaticallyNotifiesObserversForKey: implementation. (Mattt Thompson)
  • Fix use of variable arguments for UIAlertView category. (Kenta Tokumoto)
  • Fix genstrings warning for NSLocalizedString usage in UIAlertView+AFNetworking. (Adar Porat)
  • Fix NSURLSessionManager task observation for network activity indicator manager. (Phil Tang)
  • Fix UIButton category method caching of background image (Fernanda G. Geraissate)
  • Fix UIButton category method failure handling. (Maxim Zabelin)
  • Update multipart upload method requirements to ensure request.HTTPBody is non-nil. (Mattt Thompson)
  • Update to use builtin __Require macros from AssertMacros.h. (Cédric Luthi)
  • Update parameters parameter to accept id for custom serialization block. (@mooosu)

2.5.0

9 years ago
  • Add documentation for expected background session manager usage (Aaron Brager)
  • Add missing documentation for AFJSONRequestSerializer and AFPropertyListSerializer (Mattt Thompson)
  • Add tests for requesting HTTPS endpoints (Mattt Thompson)
  • Add init method declarations of AFURLResponseSerialization classes for Swift compatibility (Allen Rohner)
  • Change default User-Agent to use the version number instead of the build number (Tim Watson)
  • Change validatesDomainName to readonly property (Mattt Thompson, Brian King)
  • Fix checks when observing AFHTTPRequestSerializerObservedKeyPaths (Jacek Suliga)
  • Fix crash caused by attempting to set nil NSURLResponse -URL as key for userInfo dictionary (Elvis Nuñez)
  • Fix crash for multipart streaming requests in XPC services (Mattt Thompson)
  • Fix minor aspects of response serializer documentation (Mattt Thompson)
  • Fix potential race condition for AFURLConnectionOperation -description
  • Fix widespread crash related to key-value observing of NSURLSessionTask -state (Phil Tang)
  • Fix UIButton category associated object keys (Kristian Bauer, Mattt Thompson)
  • Remove charset parameter from Content-Type HTTP header field values for AFJSONRequestSerializer and AFPropertyListSerializer (Mattt Thompson)
  • Update CocoaDocs color scheme (@Orta)
  • Update Podfile to explicitly define sources (Kyle Fuller)
  • Update to relay downloadFileURL to the delegate if the manager picks a fileURL (Brian King)
  • Update AFSSLPinningModeNone to not validate domain name (Brian King)
  • Update UIButton category to cache images in sharedImageCache (John Bushnell)
  • Update UIRefreshControl category to set control state to current state of request (Elvis Nuñez)

2.4.1

9 years ago
  • Fix compiler warning generated on 32-bit architectures (John C. Daub)
  • Fix potential crash caused by failed validation with nil responseData (Mattt Thompson)
  • Fix to suppress compiler warnings for out-of-range enumerated type value assignment (Mattt Thompson)

2.4.0

9 years ago
  • Add CocoaDocs color scheme (Orta)
  • Add image cache to UIButton category (Kristian Bauer, Mattt Thompson)
  • Add test for success block on 204 response (Mattt Thompson)
  • Add tests for encodable and re-encodable query string parameters (Mattt Thompson)
  • Add AFHTTPRequestSerializer -valueForHTTPHeaderField: (Kyle Fuller)
  • Add AFNetworkingOperationFailingURLResponseDataErrorKey key to user info of serialization error (Yannick Heinrich)
  • Add imageResponseSerializer property to UIButton category (Kristian Bauer, Mattt Thompson)
  • Add removesKeysWithNullValues setting to serialization and copying (Jon Shier)
  • Change request and response serialization tests to be factored out into separate files (Mattt Thompson)
  • Change signature of success parameters in UIButton category methods to match those in UIImageView (Mattt Thompson)
  • Change to remove charset parameter from application/x-www-form-urlencoded content type (Mattt Thompson)
  • Change AFImageCache to conform to NSObject protocol ( Marcelo Fabri)
  • Change AFMaximumNumberOfToRecreateBackgroundSessionUploadTask to AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask (Mattt Thompson)
  • Fix documentation error for NSSecureCoding (Robert Ryan)
  • Fix documentation for URLSessionDidFinishEventsForBackgroundURLSession delegate method (Mattt Thompson)
  • Fix expired ADN certificate in example project (Carson McDonald)
  • Fix for interoperability within Swift project (Stephan Krusche)
  • Fix for potential deadlock due to KVO subscriptions within a lock (Alexander Skvortsov)
  • Fix iOS 7 bug where session tasks can have duplicate identifiers if created from different threads (Mattt Thompson)
  • Fix iOS 8 bug by adding explicit synthesis for delegate of AFMultipartBodyStream (Mattt Thompson)
  • Fix issue caused by passing nil as body of multipart form part (Mattt Thompson)
  • Fix issue caused by passing nil as destination in download task method (Mattt Thompson)
  • Fix issue with AFHTTPRequestSerializer returning a request and silently handling an error from a queryStringSerialization block (Kyle Fuller, Mattt Thompson)
  • Fix potential issues by ensuring invalidateSessionCancelingTasks only executes on main thread (Mattt Thompson)
  • Fix potential memory leak caused by deferred opening of output stream (James Tomson)
  • Fix properties on session managers such that default values will not trump values set in the session configuration (Mattt Thompson)
  • Fix README to include explicit call to start reachability manager (Mattt Thompson)
  • Fix request serialization error handling in AFHTTPSessionManager convenience methods (Kyle Fuller, Lars Anderson, Mattt Thompson)
  • Fix stray localization macro (Devin McKaskle)
  • Fix to ensure connection operation -copyWithZone: calls super implementation (Chris Streeter)
  • Fix UIButton category to only cancel request for specified state (@xuzhe, Mattt Thompson)

2.3.1

9 years ago
  • Fix issue with unsynthesized streamStatus & streamError properties on AFMultipartBodyStream (Mattt Thompson)

2.3.0

9 years ago
  • Add check for AF_APP_EXTENSIONS macro to conditionally compile background method that makes API call unavailable to App Extensions in iOS 8 / OS X 10.10
  • Add further explanation for network reachability in documentation (Steven Fisher)
  • Add notification for initial change from AFNetworkReachabilityStatusUnknown to any other state (Jason Pepas, Sebastian S.A., Mattt Thompson)
  • Add tests for AFNetworkActivityIndicatorManager (Dave Weston, Mattt Thompson)
  • Add tests for AFURLSessionManager task progress (Ullrich Schäfer)
  • Add attemptsToRecreateUploadTasksForBackgroundSessions property, which attempts Apple's recommendation of retrying a failed upload task if initial creation did not succeed (Mattt Thompson)
  • Add completionQueue and completionGroup properties to AFHTTPRequestOperationManager (Robert Ryan)
  • Change serialization tests to be split over two different files (Mattt Thompson)
  • Change to make NSURLSession subspec not depend on NSURLConnection subspec (Mattt Thompson)
  • Change to make Serialization subspec not depend on NSURLConnection subspec (Nolan Waite, Mattt Thompson)
  • Change completionHandler of application:handleEventsForBackgroundURLSession:completion: to be run on main thread (Padraig Kennedy)
  • Change UIImageView category to accept any object conforming to AFURLResponseSerialization, rather than just AFImageResponseSerializer (Romans Karpelcevs)
  • Fix calculation and behavior of NSProgress (Padraig Kennedy, Ullrich Schäfer)
  • Fix deprecation warning for backgroundSessionConfiguration: in iOS 8 / OS X 10.10 (Mattt Thompson)
  • Fix implementation of copyWithZone: in serializer subclasses (Chris Streeter)
  • Fix issue in Xcode 6 caused by implicit synthesis of overridden NSStream properties (Clay Bridges, Johan Attali)
  • Fix KVO handling for NSURLSessionTask on iOS 8 / OS X 10.10 (Mattt Thompson)
  • Fix KVO leak for NSURLSessionTask (@Zyphrax)
  • Fix potential crash caused by attempting to use non-existent error of failing requests due to URLs exceeding a certain length (Boris Bügling)
  • Fix to check existence of uploadProgress block inside a referencing dispatch_async to avoid potential race condition (Kyungkoo Kang)
  • Fix UIImageView category race conditions (Sunny)
  • Remove unnecessary default operation response serializer setters (Mattt Thompson)

2.2.4

10 years ago
  • Add NSSecureCoding support to all AFNetworking classes (Kyle Fuller, Mattt Thompson)
  • Change behavior of request operation NSOutputStream property to only nil out if responseData is non-nil, meaning that no custom object was set (Mattt Thompson)
  • Fix data tasks to not attempt to track progress, and rare related crash (Padraig Kennedy)
  • Fix issue with -downloadTaskDidFinishDownloading: not being called (Andrej Mihajlov)
  • Fix KVO leak on invalidated session tasks (Mattt Thompson)
  • Fix missing import of `UIRefreshControl+AFNetworking" (@BB9z)
  • Fix potential compilation errors on Mac OS X, caused by import order of <AssertionMacros.h>, which signaled an incorrect deprecation warning (Mattt Thompson)
  • Fix race condition in UIImageView+AFNetworking when making several image requests in quick succession (Alexander Crettenand)
  • Update documentation for -downloadTaskWithRequest: to warn about blocks being disassociated on app termination and backgrounding (Robert Ryan)

2.2.3

10 years ago
  • Change removesKeysWithNullValues property to recursively remove null values from dictionaries nested in arrays (@jldagon)
  • Change to not override Content-Type header field values set by HTTPRequestHeaders property (Aaron Brager, Mattt Thompson)
  • Fix AFErrorOrUnderlyingErrorHasCodeInDomain function declaration for AFXMLDocumentResponseSerializer (Mattt Thompson)
  • Fix error domain check in AFErrorOrUnderlyingErrorHasCodeInDomain (Mattt Thompson)
  • Fix UIImageView category to only nil out request operation properties belonging to completed request (Mattt Thompson)
  • Fix removesKeysWithNullValues to respect NSJSONReadingMutableContainers option (Mattt Thompson)

1.3.4

10 years ago
  • Fix potential non-terminating loop in connection:didReceiveData: (Mattt Thompson)
  • Fix SSL certificate validation to assert that no impossible pinning configuration exists (Maximillian Dornseif)
  • Fix SSL certificate validation to provide a human readable Warning when SSL Pinning fails (Maximillian Dornseif)
  • Fix to add explicit cast to NSUInteger in format string (Alexander Kempgen)
  • Fix to call call SecTrustEvaluate before calling SecTrustGetCertificateCount in SSL certificate validation (Josh Chung)
  • Fix to check CFStringTransform() call for success before using result (Kevin Cassidy Jr)
  • Fix to prevent unused assertion results with macros (Indragie Karunaratne)
  • Fix AFHTTPMultipartBodyStream to randomly generate form boundary, to prevent attack based on a known value (Mathias Bynens, Tom Van Goethem, Mattt Thompson)
  • Remove unused variable kAFStreamToStreamBufferSize (Alexander Kempgen)