Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

AFNetworking 2.5.0

Mattt Thompson mattt released this · 56 commits to master since this release

  • 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)

Downloads

AFNetworking 2.4.1

Mattt Thompson mattt released this · 114 commits to master since this release

  • 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)

Downloads

AFNetworking 2.4.0

Mattt Thompson mattt released this · 120 commits to master since this release

  • 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)

Downloads

AFNetworking 2.3.1

Mattt Thompson mattt released this · 180 commits to master since this release

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

Downloads

AFNetworking 2.3.0

Mattt Thompson mattt released this · 183 commits to master since this release

  • 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)

Downloads

AFNetworking 2.2.4

Mattt Thompson mattt released this · 248 commits to master since this release

  • 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)

Downloads

AFNetworking 2.2.3

Mattt Thompson mattt released this · 282 commits to master since this release

  • 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)

Downloads

AFNetworking 2.2.2

Mattt Thompson mattt released this · 297 commits to master since this release

  • Add unit test for checking content type (Diego Torres)
  • Add boundary property to AFHTTPBodyPart -copyWithZone:
  • Add removesKeysWithNullValues property to AFJSONResponsSerializer to automatically remove NSNull values in dictionaries serialized from JSON (Mattt Thompson)
  • Change to accept id parameter type in HTTP manager convenience methods (Mattt Thompson)
  • Change to deprecate setAuthorizationHeaderFieldWithToken:, in favor of users specifying an Authorization header field value themselves (Mattt Thompson)
  • Change to use long long type to prevent a difference in stream size caps on 32-bit and 64-bit architectures (Yung-Luen Lan, Cédric Luthi)
  • Fix calculation of Content-Length in taskDidSendBodyData (Christos Vasilakis)
  • Fix for comparison of image view request operations (Mattt Thompson)
  • Fix for SSL certificate validation to check status codes at runtime (Dave Anderson)
  • Fix to add missing call to delegate in URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:
  • Fix to call taskDidComplete if delegate is missing (Jeff Ward)
  • Fix to implement respondsToSelector: for NSURLSession delegate methods to conditionally respond to conditionally respond to optional selectors if and only if a custom block has been set (Mattt Thompson)
  • Fix to prevent illegal state values from being assigned for AFURLConnectionOperation (Kyle Fuller)
  • Fix to re-establish AFNetworkingURLSessionTaskDelegate objects after restoring from a background configuration (Jeff Ward)
  • Fix to reduce memory footprint by nil-ing out request operation outputStream after closing, as well as image view request operation after setting image (Teun van Run, Mattt Thompson)
  • Remove unnecessary call in class constructor (Bernhard Loibl)
  • Remove unnecessary check for respondsToSelector: for UIScreen scale in User-Agent string (Samuel Goodwin)
  • Update App.net certificate and API base URL (Cédric Luthi)
  • Update examples in README (@petard, @orta, Mattt Thompson)
  • Update Travis CI icon to use SVG format (Maximilian Tagher)

Downloads

AFNetworking 1.3.4

Mattt Thompson mattt released this · 775 commits to master since this release

  • 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)

Downloads

AFNetworking 2.2.1

Mattt Thompson mattt released this · 359 commits to master since this release

  • Fix behavior of SSL pinning. In case of validatesDomainName == YES, it now explicitly uses SecPolicyCreateSSL, which also validates the domain name. Otherwise, SecPolicyCreateBasicX509 is used. AFSSLPinningModeCertificate now uses SecTrustSetAnchorCertificates, which allows explicit specification of all trusted certificates. For AFSSLPinningModePublicKey, the number of trusted public keys determines if the server should be trusted. (Oliver Letterer, Eric Allam)
  • Fix -Wsign-conversion warning in AFURLConnectionOperation (Jesse Collis)
  • Fix -Wshorten-64-to-32 warning (Jesse Collis)
  • Remove unnecessary #imports in UIImageView & UIWebView categories (Jesse Collis)
  • Fix call to CFStringTransform() by checking return value before setting as User-Agent (Kevin Cassidy Jr)
  • Fix small documentation bug (@jkoepcke)
  • Update AFJSONResponseSerializer adding @autorelease to relieve memory pressure (Mattt Thompson, Michal Pietras)
  • Update AFJSONRequestSerializer to accept id (Daren Desjardins)

Downloads

AFNetworking 2.2.0

Mattt Thompson mattt released this · 379 commits to master since this release

  • Add default initializer to make AFHTTPRequestOperationManager consistent with AFHTTPSessionManager (Marcelo Fabri)
  • Add documentation about UIWebView category and implementing UIWebViewDelegate` (Mattt Thompson)
  • Add missing NSCoding and NSCopying implementations for AFJSONRequestSerializer` (Mattt Thompson)
  • Add note about use of -startMonitoring in AFNetworkReachabilityManager` (Mattt Thompson)
  • Add setter for needsNewBodyStream block (Carmen Cerino)
  • Add support for specifying a response serializer on a per-instance of AFURLSessionManagerTaskDelegate` (Blake Watters)
  • Add AFHTTPRequestSerializer requestWithMultipartFormRequest:writingStreamContentsToFile:completionHandler as a workaround for a bug in NSURLSession that removes the Content-Length header from streamed requests (Mattt Thompson)
  • Add NSURLRequest factory properties on AFHTTPRequestSerializer (Mattt Thompson)
  • Add UIRefreshControl+AFNetworking (Mattt Thompson)
  • Change example project to enable certificate pinning (JP Simard)
  • Change to allow self-signed certificates (Frederic Jacobs)
  • Change to make reachabilityManager property readwrite (Mattt Thompson)
  • Change to sort NSSet members during query string parameter serialization (Mattt Thompson)
  • Change to use case sensitive compare when sorting keys in query string serialization (Mattt Thompson)
  • Change to use xcpretty instead of xctool for automated testing (Kyle Fuller, Marin Usalj, Carson McDonald)
  • Change to use @selector values as keys for associated objects (Mattt Thompson)
  • Change setImageWithURL:placeholder:, et al. to only set placeholder mage if not nil (Alejandro Martinez)
  • Fix auto property synthesis warnings (Oliver Letterer)
  • Fix domain name validation for SSL certificates (Oliver Letterer)
  • Fix issue with session task delegate KVO observation (Kyle Fuller)
  • Fix placement of baseURL method declaration (Oliver Letterer)
  • Fix podspec linting error (Ari Braginsky)
  • Fix potential concurrency issues by adding lock around setting isFinishedstate inAFURLConnectionOperation` (Mattt Thompson)
  • Fix potential vulnerability caused by hard-coded multipart form data boundary (Mathias Bynens, Tom Van Goethem, Mattt Thompson)
  • Fix protocol name in #pragma mark declaration (@sevntine)
  • Fix regression causing inflated images to have incorrect orientation (Mattt Thompson)
  • Fix to AFURLSessionManager NSCoding implementation, to accommodate NSURLSessionConfiguration no longer conforming to NSCoding.
  • Fix Travis CI integration (Kyle Fuller, Marin Usalj, Carson McDonald)
  • Fix various static analyzer warnings (Philippe Casgrain, Jim Young, Steven Fisher, Mattt Thompson)
  • Fix with download progress calculation of completion units (Kyle Fuller)
  • Fix Xcode 5.1 compiler warnings (Nick Banks)
  • Fix AFHTTPRequestOperationManager to default shouldUseCredentialStorage to YES, as documented (Mattt Thompson)
  • Remove Unused format property in AFJSONRequestSerializer (Mattt Thompson)
  • Remove unused acceptablePathExtensions class method in AFJSONRequestSerializer (Mattt Thompson)
  • Update #ifdef declarations in UIKit categories to be simpler (Mattt Thompson)
  • Update podspec to includ social_media_url (Kyle Fuller)
  • Update types for 64 bit architecture (Bruno Tortato Furtado, Mattt Thompson)

Downloads

AFNetworking 2.1.0

Mattt Thompson mattt released this · 477 commits to master since this release

  • Add domain name verification for SSL certificates (Oliver Letterer)
  • Add leaf certificate checking (Alex Leverington, Carson McDonald, Mattt Thompson)
  • Add test case for stream failure handling (Kyle Fuller)
  • Add underlying error properties to response serializers to forward errors to subsequent validation steps (Mattt Thompson)
  • Add AFImageCache protocol, to allow for custom image caches to be specified for UIImageView (Mattt Thompson)
  • Add error out parameter for request serializer, deprecating existing request constructor methods (Adam Becevello)
  • Add CONTRIBUTING (Kyle Fuller)
  • Change request serializer protocol to take id type for parameters (Mattt Thompson)
  • Change to add validation of download task responses (Mattt Thompson)
  • Change to force upload progress, by using original request Content-Length (Mateusz Malczak)
  • Change to use NSDictionary object literals for NSError userInfo construction (Mattt Thompson)
  • Fix #pragma declaration to be NSURLConnectionDataDelegate, rather than NSURLConnectionDelegate (David Paschich)
  • Fix a bug when appending a file part to multipart request from a URL (Kyle Fuller)
  • Fix analyzer warning about weak receiver being set to nil, capture strong reference (Stewart Gleadow)
  • Fix appending file part to multipart request to use suggested file name, rather than temporary one (Kyle Fuller)
  • Fix availability macros for network activity indicator (Mattt Thompson)
  • Fix crash in iOS 6.1 caused by KVO on isCancelled property of AFURLConnectionOperation (Sam Page)
  • Fix dead store issues in AFSecurityPolicy (Andrew Hershberger)
  • Fix incorrect documentation for -HTTPRequestOperationWithRequest:... (Kyle Fuller)
  • Fix issue in reachability callbacks, where reachability managers created for a particular domain would initially report no reachability (Mattt Thompson)
  • Fix logic for handling data task turning into download task (Kyle Fuller)
  • Fix property list response serializer to handle 204 response (Kyle Fuller)
  • Fix README multipart example (Johan Forssell)
  • Fix to add check for non-nil delegate in URLSession:didCompleteWithError: (Kaom Te)
  • Fix to dramatically improve creation of images in AFInflatedImageFromResponseWithDataAtScale, including handling of CMYK, 16 / 32 bpc images, and colorspace alpha settings (Robert Ryan)
  • Fix Travis CI integration and unit testing (Kyle Fuller, Carson McDonald)
  • Fix typo in comments (@palringo)
  • Fix UIWebView category to use supplied success callback (Mattt Thompson)
  • Fix various static analyzer warnings (Kyle Fuller, Jesse Collis, Mattt Thompson)
  • Fix +batchOfRequestOperations:... completion block to execute in dispatch_async (Mattt Thompson)
  • Remove synchronous SCNetworkReachabilityGetFlags call when initializing managers, which had the potential to block in certain network conditions (Yury Korolev, Mattt Thompson)
  • Remove unnecessary check for completionHandler in HTTP manager (Mattt Thompson)
  • Remove unused conditional clauses (Luka Bratos)
  • Update documentation for AFCompoundResponseSerializer (Mattt Thompson)
  • Update httpbin certificates (Carson McDonald)
  • Update notification constant names to be consistent with NSURLSession terminology (Mattt Thompson)

Downloads

AFNetworking 2.0.3

Mattt Thompson mattt released this · 581 commits to master since this release

  • Fix a bug where AFURLConnectionOperation -pause did not correctly reset the state of AFURLConnectionOperation, causing the Network Thread to enter an infinite loop (Erik Chen)

  • Fix a bug where AFURLConnectionOperation -cancel does not set the appropriate error on the NSOperation (Erik Chen)

  • Fix to post AFNetworkingTaskDidFinishNotification only on main queue (Jakub Hladik)

  • Fix issue where the query string serialization block was not used (Kevin Harwood)

  • Fix project file and repository directory items (Andrew Newdigate)

  • Fix NSURLSession subspec (Mattt Thompson)

  • Fix to session task delegate KVO by moving observer removal to -didCompleteWithError: (Mattt Thompson)

  • Add AFNetworking 1.x behavior for image construction in inflation to ensure correct orientation (Mattt Thompson)

  • Add NSParameterAssert for internal task constructors in order to catch invalid constructions early (Mattt Thompson)

  • Update replacing NSParameterAssert with early nil return if session was unable to create a task (Mattt Thompson)

  • Update AFHTTPRequestOperationManager and AFHTTPSessionManager to use relative self class to create class constructor instances (Bogdan Poplauschi)

  • Update to break out of loop if output stream does not have space to write bytes (Mattt Thompson)

  • Update documentation and README with various fixes (Max Goedjen, Mattt Thompson)

  • Remove unnecessary willChangeValueForKey and didChangeValueForKey method calls (Mindaugas Vaičiūnas)

  • Remove deletion of all task delegates in URLSessionDidFinishEventsForBackgroundURLSession: (Jeremy Mailen)

  • Remove empty, unused else branch (Luka Bratos)

Downloads

AFNetworking 2.0.2

Mattt Thompson mattt released this · 614 commits to master since this release

  • Fix iOS 6 compatibility (Matt Baker, Mattt Thompson)

  • Fix example applications (Sam Soffes, Kyle Fuller)

  • Fix usage of NSSearchPathForDirectoriesInDomains in README (Leo Lou)

  • Fix names of exposed private methods downloadProgress and uploadProgress (Hermes Pique)

  • Fix initial upload/download task progress updates (Vlas Voloshin)

  • Fix podspec to include AFNetworking.h #import (@haikusw)

  • Fix request serializers to not override existing header field values with defaults (Mattt Thompson)

  • Fix unused format string placeholder (Thorsten Lockert)

  • Fix AFHTTPRequestOperation -initWithCoder: to call super (Josh Avant)

  • Fix UIProgressView selector name (Allen Tu)

  • Fix UIButton response serializer (Sam Grossberg)

  • Fix setPinnedCertificates: and pinned public keys (Kyle Fuller)

  • Fix timing of batched operation completion block (Denys Telezhkin)

  • Fix GCC_WARN_ABOUT_MISSING_NEWLINE compiler warning (Chuck Shnider)

  • Fix a format string missing argument issue in tests (Kyle Fuller)

  • Fix location of certificate chain bundle location (Kyle Fuller)

  • Fix memory leaks in AFSecurityPolicyTests (Kyle Fuller)

  • Fix potential concurrency issues in AFURLSessionManager by adding locks around access to mutiple delegates dictionary (Mattt Thompson)

  • Fix unused variable compiler warnings by wrapping OSStatus and NSCAssert with NS_BLOCK_ASSERTIONS macro (Mattt Thompson)

  • Fix compound serializer error handling (Mattt Thompson)

  • Fix string encoding for responseString (Juan Enrique)

  • Fix UIImageView -setBackgroundImageWithRequest: (Taichiro Yoshida)

  • Fix regressions nested multipart parameters (Mattt Thompson)

  • Add responseObject property to AFHTTPRequestOperation (Mattt Thompson)

  • Add support for automatic network reachability monitoring for request operation and session managers (Mattt Thompson)

  • Update documentation and README with various corrections and fixes (@haikusw, Chris Hellmuth, Dave Caunt, Mattt Thompson)

  • Update default User-Agent such that only ASCII character set is used (Maximillian Dornseif)

  • Update SSL pinning mode to have default pinned certificates by default (Kevin Harwood)

  • Update AFSecurityPolicy to use default authentication handling unless a credential exists for the server trust (Mattt Thompson)

  • Update Prefix.pch (Steven Fisher)

  • Update minimum iOS test target to iOS 6

  • Remove unused protection space block type (Kyle Fuller)

  • Remove unnecessary Podfile.lock (Kyle Fuller)

Downloads

AFNetworking 2.0.1

Mattt Thompson mattt released this · 644 commits to master since this release

  • Fix iOS 6 compatibility (Matt Baker, Mattt Thompson)

  • Fix example applications (Sam Soffes, Kyle Fuller)

  • Fix usage of NSSearchPathForDirectoriesInDomains in README (Leo Lou)

  • Fix names of exposed private methods downloadProgress and
    uploadProgress (Hermes Pique)

  • Fix initial upload/download task progress updates (Vlas Voloshin)

  • Fix podspec to include AFNetworking.h #import (@haikusw)

  • Fix request serializers to not override existing header field values with
    defaults (Mattt Thompson)

  • Fix unused format string placeholder (Thorsten Lockert)

  • Fix AFHTTPRequestOperation -initWithCoder: to call super (Josh Avant)

  • Fix UIProgressView selector name (Allen Tu)

  • Fix UIButton response serializer (Sam Grossberg)

  • Fix setPinnedCertificates: and pinned public keys (Kyle Fuller)

  • Fix timing of batched operation completion block (Denys Telezhkin)

  • Fix GCC_WARN_ABOUT_MISSING_NEWLINE compiler warning (Chuck Shnider)

  • Fix a format string missing argument issue in tests (Kyle Fuller)

  • Fix location of certificate chain bundle location (Kyle Fuller)

  • Fix memory leaks in AFSecurityPolicyTests (Kyle Fuller)

  • Fix potential concurrency issues in AFURLSessionManager by adding locks
    around access to mutiple delegates dictionary (Mattt Thompson)

  • Fix unused variable compiler warnings by wrapping OSStatus and
    NSCAssert with NS_BLOCK_ASSERTIONS macro (Mattt Thompson)

  • Fix compound serializer error handling (Mattt Thompson)

  • Fix string encoding for responseString (Juan Enrique)

  • Fix UIImageView -setBackgroundImageWithRequest: (Taichiro Yoshida)

  • Fix regressions nested multipart parameters (Mattt Thompson)

  • Add responseObject property to AFHTTPRequestOperation (Mattt Thompson)

  • Add support for automatic network reachability monitoring for request
    operation and session managers (Mattt Thompson)

  • Update documentation and README with various corrections and fixes
    (@haikusw, Chris Hellmuth, Dave Caunt, Mattt Thompson)

  • Update default User-Agent such that only ASCII character set is used
    (Maximillian Dornseif)

  • Update SSL pinning mode to have default pinned certificates by default
    (Kevin Harwood)

  • Update AFSecurityPolicy to use default authentication handling unless a
    credential exists for the server trust (Mattt Thompson)

  • Update Prefix.pch (Steven Fisher)

  • Update minimum iOS test target to iOS 6

  • Remove unused protection space block type (Kyle Fuller)

  • Remove unnecessary Podfile.lock (Kyle Fuller)

Downloads

AFNetworking 1.3.3

Mattt Thompson mattt released this · 775 commits to master since this release

Changes

  • Add stream error handling to AFMultipartBodyStream (Nicolas Bachschmidt, Mattt Thompson)

  • Add stream error handling to AFURLConnectionOperation -connection:didReceiveData: (Ian Duggan, Mattt Thompson)

  • Fix parameter query string encoding of square brackets according to RFC 3986 (Kra Larivain)

  • Fix AFHTTPBodyPart determination of end of input stream data (Brian Croom)

  • Fix unit test timeouts (Carson McDonald)

  • Fix truncated User-Agent header field when app contained non-ASCII characters (Diego Torres)

  • Fix outdated link in documentation (Jonas Schmid)

  • Fix AFHTTPRequestOperation HTTPError property to be thread-safe (Oliver Letterer, Mattt Thompson)

  • Fix API compatibility with iOS 5 (Blake Watters, Mattt Thompson)

  • Fix potential race condition in AFURLConnectionOperation -cancelConnection (@mm-jkolb, Mattt Thompson)

  • Remove implementation of connection:needNewBodyStream: delegate method in AFURLConnectionOperation, which fixes stream errors on authentication challenges (Mattt Thompson)

  • Fix calculation of network reachability from flags (Tracy Pesin, Mattt Thompson)

  • Update AFHTTPClient documentation to clarify scope of parameterEncoding property (Thomas Catterall)

  • Update UIImageView category to allow for nested calls to setImageWithURLRequest: (Philippe Converset)

  • Change UIImageView category to accept invalid SSL certificates when _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ is defined (Flávio Caetano)

  • Change to replace #pragma clang with cast (Cédric Luthi)

Downloads

AFNetworking 2.0-RC2

Mattt Thompson mattt released this · 863 commits to master since this release

Read the AFNetworking 2.0 Migration Guide for an overview of the architectural and API changes.

What's New

  • Support for NSURLSession
  • Serialization Modules
  • Expanded UIKit Extensions
  • Real-time functionality with Rocket

Requirements

AFNetworking 2.0 and higher requires either iOS 7.0 and above, or Mac OS 10.9 Mavericks (64-bit with modern Cocoa runtime) and above.

Downloads

AFNetworking 2.0.0-RC1

Mattt Thompson mattt released this · 863 commits to master since this release

AFNetworking 2.0 is a major update to the framework. Building on 2 years of development, this new version introduces powerful new features, while providing an easy upgrade path for existing users.

What's New

  • Support for NSURLSession
  • Serialization Modules
  • Expanded UIKit Extensions
  • Real-time functionality with Rocket

Coming Soon

  • Complete & Updated Documentation
  • Unit Tests Ported to 2.0
  • Migration Guide from 1.x
  • Proper Modularization with Sub-Specs

Requirements

AFNetworking 2.0 and higher requires either iOS 7.0 and above, or Mac OS 10.9 Mavericks (64-bit with modern Cocoa runtime) and above.

Downloads

Something went wrong with that request. Please try again.