All Versions
Latest Version
Avg Release Cycle
182 days
Latest Release
1521 days ago

Changelog History
Page 2

  • v3.0.0-beta.3 Changes

    December 04, 2015


    For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide. All 3.0.0 beta changes will be tracked with this filter.

    πŸš€ Release Notes

    πŸš€ Beta 3 introduces API changes for tracking NSProgress. Feedback from the community is welcome as the 3.0.0 release will soon be finalized. Please provide feedback in #3187.

    πŸš€ The following changes have been made since 3.0.0-beta.2:

    βž• Added
    • Added support for
      • Implemented by Cédric Luthi and Kevin Harwood in #3196.
      • Please help us increase overall coverage by submitting a pull request!
    • βž• Added support for IPv6 to Reachability
      • Implemented by SAMUKEI and Kevin Harwood in #3174.
    • βž• Added support for Objective-C light weight generics
      • Implemented by Kevin Harwood in #3166.
    • βž• Added nullability attributes to response object in success block
      • Implemented by Nathan Racklyeft in #3154.
    πŸ”„ Changed
    • Split the iOS and OS X AppDelegate classes in the Example Project
      • Implemented by Cédric Luthi in #3193.
    • πŸ”„ Changed SSL Pinning Error to be NSURLErrorServerCertificateUntrusted
      • Implemented by Cédric Luthi and Kevin Harwood in #3191.
    • πŸ†• New Progress Reporting API using NSProgress
      • Implemented by Kevin Harwood in #3187.
    • πŸ”„ Changed pinnedCertificates type in AFSecurityPolicy from NSArray to NSSet
      • Implemented by Cédric Luthi in #3164.
    πŸ›  Fixed
    • πŸ›  Fixed certificate validation for servers providing incomplete chains
      • Implemented by André Pacheco Neves in #3159.
    • πŸ›  Fixed bug in AFMultipartBodyStream that may cause the input stream to read more bytes than required.
      • Implemented by bang in #3153.
    βœ‚ Removed
    • βœ‚ Removed AFBase64EncodedStringFromString static function
      • Implemented by Cédric Luthi in #3188.
    • βœ‚ Removed code supporting conditional compilation for unsupported development configurations.
      • Implemented by Cédric Luthi in #3177.
    • βœ‚ Removed deprecated methods, properties, and notifications from AFN 2.x
      • Implemented by Kevin Harwood in #3168.
  • v2.7.0 Changes

    February 13, 2019

    πŸš€ Released on Tuesday, February 12, 2019. All issues associated with this milestone can be found using this filter.

    πŸ›  Fixed
    • ⚑️ Update Podfile to work on modern CocoaPods
    • βž• Add nullability specifiers to all id responseObject parameters
    • πŸ›  Fix empty content crash on
  • v2.6.3 Changes

    November 11, 2015

    πŸš€ Released on Wednesday, November 11, 2015. All issues associated with this milestone can be found using this filter.

    πŸ›  Fixed
    • πŸ›  Fixed clang analyzer warning suppression that prevented building under some project configurations
    • βͺ Restored Xcode 6 compatibility
  • v2.6.2 Changes

    June 11, 2015

    πŸš€ Released on Friday, November 06, 2015. All issues associated with this milestone can be found using this filter.

    ⬆️ Important Upgrade Note for Swift

    • πŸš€ #3130 fixes a swift interop error that does have a breaking API change if you are using Swift. This was identified after 2.6.2 was released. It changes the method from throws to an error pointer, since that method does return an object and also handles an error pointer, which does not play nicely with the Swift/Objective-C error conversion. See #2810 for additional notes. This affects AFURLRequestionSerializer and AFURLResponseSerializer.
    βž• Added
    ⚑️ Updated
    • ⚑️ Updated travis to run on 7.1
    • Simplifications of if and return statements in AFSecurityPolicy
    πŸ›  Fixed
    • πŸ›  Fixed swift interop issue that prevented returning a nil NSURL for a download task
    • ⚠ Suppressed false positive memory leak warning in Reachability Manager
    • πŸ›  Fixed swift interop issue with throws and Request/Response serialization.
    • πŸ›  Fixed race condition in reachability callback delivery
    • πŸ›  Fixed URLs that were redirecting in the README
    • πŸ›  Fixed Project Warnings
    • πŸ›  Fixed README link to WWDC session
    • Switched from OS_OBJECT_HAVE_OBJC_SUPPORT to OS_OBJECT_USE_OBJC for watchOS 2 support.
    • βž• Added missing __nullable attributes to failure blocks in AFHTTPRequestOperationManager and AFHTTPSessionManager
    • πŸ›  Fixed memory leak in NSURLSession handling
  • v2.6.1 Changes

    πŸš€ Released on Tuesday, October 13th, 2015. All issues associated with this milestone can be found using this filter.

    Future Compatibility Note

    πŸš€ Note that AFNetworking 3.0 will soon be released, and will drop support for all NSURLConnection based API's (AFHTTPRequestOperationManager, AFHTTPRequestOperation, and AFURLConnectionOperation. If you have not already migrated to NSURLSession based API's, please do so soon. For more information, please see the 3.0 migration guide.

    πŸ›  Fixed
    • πŸ›  Fixed a bug that prevented empty x-www-form-urlencoded bodies.
    • πŸ›  Fixed bug that prevented AFNetworking from being installed for watchOS via Cocoapods.
    • βž• Added missing nullable attributes to AFURLRequestSerialization and AFURLSessionManager.
    • Migrated to OS_OBJECT_USE_OBJC.
    • βž• Added missing nullable tags to UIKit extensions.
    • πŸ›  Fixed potential infinite recursion loop if multiple versions of AFNetworking are loaded in a target.
    • ⚑️ Updated Travis CI test script
    • Migrated to FOUNDATION_EXPORT from extern.
    • πŸ›  Fixed issue where AFURLConnectionOperation could get stuck in an infinite loop.
    • πŸ›  Fixed regression where URL request serialization would crash on iOS 8 for long URLs.
  • v2.6.0 Changes

    πŸš€ Released on Wednesday, August 19th, 2015. All issues associated with this milestone can be found using this filter.

    ⬆️ Important Upgrade Notes

    Please note the following API/project changes have been made:

    • πŸš€ iOS 6 and OS X 10.8 support has been dropped from the project to facilitate support for watchOS 2. The final release supporting iOS 6 and OS X 10.8 is 2.5.4.
    • 🚚 Full Certificate Chain Validation has been removed from AFSecurityPolicy. As discussed in #2744, there was no documented security advantage to pinning against an entire certificate chain. If you were using full certificate chain, please determine and select the most ideal certificate in your chain to pin against.
    • The request url will now be returned by the UIImageView category if the image is returned from cache. In previous releases, both the request and the response were nil. Going forward, only the response will be nil.
    • πŸ‘Œ Support for App Extension Targets is now baked in using NS_EXTENSION_UNAVAILABLE_IOS. You no longer need to define AF_APP_EXTENSIONS in order to include code in a extension target.
    • πŸš€ This release now supports watchOS 2.0, which relys on target conditionals that are only present in Xcode 7 and iOS 9/watchOS 2.0/OS X 10.10. If you install the library using CocoaPods, AFNetworking will define these target conditionals for on older platforms, allowing your code to compile. If you do not use Cocoapods, you will need to add the following code your to PCH file.
    #ifndef TARGET_OS_IOS
    #ifndef TARGET_OS_WATCH
      #define TARGET_OS_WATCH 0
    • πŸš€ This release migrates query parameter serialization to model AlamoFire and adhere to RFC standards. Note that / and ? are no longer encoded by default.

    Note that support for NSURLConnection based API's will be removed in a future update. If you have not already done so, it is recommended that you transition to the NSURLSession APIs in the very near future.

    βž• Added
    πŸ›  Fixed
    • πŸ›  Fixed a crash related for objects that observe notifications but don't properly unregister.
    • πŸ›  Fixed a race condition crash that occured with AFImageResponseSerialization.
    • πŸ›  Fixed an issue where tests failed to run on CI due to unavailable simulators.
    • πŸ›  Fixed "method override not found" warnings in Xcode 7 Betas
    • βœ‚ Removed Duplicate Import and UIKit Header file.
    • βœ‚ Removed the ability to include duplicate certificates in the pinned certificate chain.
    • πŸ›  Fixed potential memory leak in AFNetworkReachabilityManager.
    πŸ“š Documentation Improvements
    • Clarified best practices for Reachability per Apple recommendations.
    • βž• Added startMonitoring call to the Reachability section of the README
    • πŸ›  Fixed documentation error around how baseURL is used for reachability monitoring.
    • πŸ“š Numerous spelling corrections in the documentation.
  • v2.5.4 Changes

    May 14, 2015

    πŸš€ Released on 2015-05-14. All issues associated with this milestone can be found using this filter.

    ⚑️ Updated
    • ⚑️ Updated the CI test script to run iOS tests on all versions of iOS that are installed on the build machine.
    πŸ›  Fixed
    • πŸ›  Fixed an issue where AFNSURLSessionTaskDidResumeNotification and AFNSURLSessionTaskDidSuspendNotification were not being properly called due to implementation differences in NSURLSessionTask in iOS 7 and iOS 8, which also affects the AFNetworkActivityIndicatorManager.
    • πŸ›  Fixed an issue where the OS X test linker would throw a warning during tests.
    • πŸ›  Fixed an issue where tests would randomly fail due to mocked objects not being cleaned up.
  • v2.5.3 Changes

    April 20, 2015
    • βž• Add security policy tests for default policy

    • βž• Add network reachability tests

    • πŸ”’ Change validatesDomainName property to default to YES under all * security policies

    • πŸ›  Fix NSURLSession subspec compatibility with iOS 6 / OS X 10.8

    • πŸ›  Fix leak of data task used in NSURLSession swizzling

    • πŸ›  Fix leak for observers from addObserver:...:withBlock:

    • πŸ›  Fix issue with network reachability observation on domain name

  • v2.5.2 Changes

    March 26, 2015

    NOTE This release contains a security vulnerabilty. All users should upgrade to a 2.5.3 or greater. Please reference this statement if you have any further questions about this release.

    • βž• 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

  • v2.5.1 Changes

    February 09, 2015

    NOTE This release contains a security vulnerabilty. All users should upgrade to a 2.5.3 or greater. Please reference this statement if you have any further questions about this release.

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