AFNetworking v3.0.0 Release Notes

Release Date: 2015-12-10 // over 6 years ago
  • ๐Ÿš€ Released on Thursday, December 10, 2015. All issues associated with this milestone can be found using this filter.

    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.

    โž• Added

    • โž• Added support for older versions of Xcode to Travis
      • Implemented by Kevin Harwood in #3209.
    • โž• Added support for Codecov.io
      • Implemented by Ceฬ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.
    • ๐Ÿš€ 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 Ceฬdric Luthi in #3193.
    • ๐Ÿ”„ Changed SSL Pinning Error to be NSURLErrorServerCertificateUntrusted
      • Implemented by Ceฬ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 Ceฬ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 Andreฬ 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 Ceฬdric Luthi in #3188.
    • โœ‚ Removed code supporting conditional compilation for unsupported development configurations.
      • Implemented by Ceฬ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.