3.1.0

@kcharwood kcharwood released this Mar 31, 2016 · 24 commits to master since this release

Released on Thursday, March 31, 2016. All issues associated with this milestone can be found using this filter.

Added

  • Improved AFImageResponseSerializer test coverage
    • Implemented by quellish in #3367.
  • Exposed AFQueryStringFromParameters and AFPercentEscapedStringFromString for public use.
    • Implemented by Kevin Harwood in #3160.

Updated

  • Updated Test Suite to run on Xcode 7.3
    • Implemented by Kevin Harwood in #3418.
  • Added white space to URLs in code comment to allow Xcode to properly parse them
    • Implemented by Draveness in #3384.
  • Updated documentation to match method names and correct compiler warnings
    • Implemented by Hakon Hanesand in #3369.
  • Use NSKeyValueChangeNewKey constant in change dictionary rather than hardcoded string.
    • Implemented by Wenbin Zhang in #3360.
  • Resolved compiler warnings for documentation errors
    • Implemented by Ricardo Santos in #3336.

Changed

  • Reverted NSURLSessionAuthChallengeDisposition to NSURLSessionAuthChallengeCancelAuthenticationChallenge for SSL Pinning
    • Implemented by Kevin Harwood in #3417.

Fixed

  • Removed trailing question mark in query string if parameters are empty
    • Implemented by Kevin Harwood in #3386.
  • Fixed crash if bad URL was passed into the image downloader
    • Implemented by Christian Wen and Kevin Harwood in #3385.
  • Fixed image memory calculation
    • Implemented by 周明宇 in #3344.
  • Fixed issue where UIButton image downloading called wrong cancel method
    • Implemented by duanhong in #3332.
  • Fixed image downloading cancellation race condition
    • Implemented by Kevin Harwood in #3325.
  • Fixed static analyzer warnings on AFNetworkReachabilityManager
    • Implemented by Jeff Kelley in #3315.
  • Fixed issue where download progress would not be reported in iOS 7
    • Implemented by zwm in #3294.
  • Fixed status code 204/205 handling
    • Implemented by Kevin Harwood in #3292.
  • Fixed crash when passing nil/null for progress in UIWebView extension
    • Implemented by Kevin Harwood in #3289.

Removed

  • Removed workaround for NSJSONSerialization bug that was fixed in iOS 7
    • Implemented by Cédric Luthi in #3253.

Downloads

3.0.4

@kcharwood kcharwood released this Dec 18, 2015 · 109 commits to master since this release

Released on Friday, December 18, 2015. All issues associated with this milestone can be found using this filter.

Fixed

  • Fixed issue where AFNSURLSessionTaskDidResumeNotification was removed twice
    • Implemented by Kevin Harwood in #3236.

Downloads

3.0.3

@kcharwood kcharwood released this Dec 16, 2015 · 114 commits to master since this release

Released on Wednesday, December 16, 2015. All issues associated with this milestone can be found using this filter.

Added

  • Added tests for response serializers to increase test coverage
    • Implemented by Kevin Harwood in #3233.

Fixed

  • Fixed AFImageResponseSerializer serialization macros on watchOS and tvOS
    • Implemented by Charles Joseph in #3229.

Downloads

3.0.2

@kcharwood kcharwood released this Dec 14, 2015 · 122 commits to master since this release

Released on Monday, December 14, 2015. All issues associated with this milestone can be found using this filter.

Fixed

  • Fixed a crash in AFURLSessionManager when resuming download tasks
    • Implemented by Chongyu Zhu in #3222.
  • Fixed issue where background button image would not be updated
    • Implemented by eofs in #3220.

Downloads

3.0.1

@kcharwood kcharwood released this Dec 11, 2015 · 128 commits to master since this release

Released on Friday, December 11, 2015. All issues associated with this milestone can be found using this filter.

Added

  • Added Xcode 7.2 support to Travis
    • Implemented by Kevin Harwood in #3216.

Fixed

  • Fixed race condition with ImageView/Button image downloading when starting/cancelling/starting the same request
    • Implemented by Kevin Harwood in #3215.

Downloads

3.0.0

@kcharwood kcharwood released this Dec 10, 2015 · 134 commits to master since this release

Released on Thursday, December 10, 2015. All issues associated with this milestone can be found using this filter.

Migration

For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide.

Changes

Added

  • Added support for older versions of Xcode to Travis
    • Implemented by Kevin Harwood in #3209.
  • Added support for Codecov.io
    • Implemented by Cédric Luthi and Kevin Harwood in #3196.
  • 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.
  • Migrated to Fastlane for CI and Deployment
    • Implemented by Kevin Harwood in #3148.
  • Added support for tvOS
    • Implemented by Kevin Harwood in #3128.
  • New image downloading architecture
    • Implemented by Kevin Harwood in #3122.
  • Added Carthage Support
    • Implemented by Kevin Harwood in #3121.
  • Added a method to create a unique reachability manager
    • Implemented by Mo Bitar in #3111.
  • Added a initial delay to the network indicator per the Apple HIG
    • Implemented by Kevin Harwood in #3094.

Updated

  • Improved testing reliability for continuous integration
    • Implemented by Kevin Harwood in #3124.
  • Example project now consumes AFNetworking as a library.
    • Implemented by Kevin Harwood in #3068.
  • Migrated to using instancetype where applicable
    • Implemented by Kyle Fuller in #3064.
  • Tweaks to project to support Framework Project
    • Implemented by Christian Noon in #3062.

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

  • Improved task creation performance for iOS 8+
    • Implemented by nikitahils, Nikita G and Kevin Harwood in #3208.
  • 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.
  • Fixed race condition crash from Resume/Suspend task notifications
    • Implemented by Kevin Harwood in #3152.
  • Fixed AFImageDownloader stalling after numerous failures
    • Implemented by Rick Silva in #3150.
  • Fixed warnings generated in UIWebView category
    • Implemented by Kevin Harwood in #3126.

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.
  • Removed support for NSURLConnection
    • Implemented by Kevin Harwood in #3120.
  • Removed UIAlertView category support since it is now deprecated
    • Implemented by Kevin Harwood in #3034.

Downloads

3.0.0-beta.3

@kcharwood kcharwood released this Dec 4, 2015 · 149 commits to master since this release

Build Statuscodecov.io

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 Codecov.io
    • 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.

Downloads

3.0.0-beta.2

@kcharwood kcharwood released this Nov 13, 2015 · 194 commits to master since this release

Build Status

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.

In addition to all the relevant changes from 2.6.2 and 2.6.3, the following changes have been made since 3.0.0-beta.1:

Added

  • Added nullability attributes to response object in success block
  • Migrated to Fastlane for CI and Deployment
  • Added a method to create a unique reachability manager
  • Added a initial delay to the network indicator per the Apple HIG

Updated

  • Improved testing reliability for continuous integration

Fixed

  • Fixed certificate validation for servers providing incomplete chains
  • Fixed bug in AFMultipartBodyStream that may cause the input stream to read more bytes than required.
  • Fixed race condition crash from Resume/Suspend task notifications
  • Fixed AFImageDownloader stalling after numerous failures
  • Fixed warnings generated in UIWebView category

Downloads

2.6.3

@kcharwood kcharwood released this Nov 11, 2015 · 318 commits to master since this release

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

Downloads

2.6.2

@kcharwood kcharwood released this Nov 6, 2015 · 318 commits to master since this release

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

Downloads