AFNetworking v4.0.0 Release Notes

Release Date: 2020-03-29 // almost 4 years ago
  • ๐Ÿš€ Released on Sunday, March 29, 2020. All issues associated with this milestone can be found using this filter.

    โž• Added

    • ๐Ÿšš Notificate when a downloaded file has been moved successfully.
      • Implemented by xingheng in #4393.
    • ๐Ÿ“Œ Specific error for certificate pinning failure.
      • Implemented by 0xced in #3425.
    • WKWebView extensions.
      • Implemented by tjanela in #4439.
    • ๐Ÿ“Œ Automatic location of certificates in the main bundle for certificate pinning.
      • Implemented by 0xced in #3752.
    • ๐Ÿ‘‰ User-Agent support for tvOS.
      • Implemented by ghking in #4014.
    • Ability for AFHTTPSessionManager to recreate its underlying NSURLSession.
      • Implemented by Kaspik in #4256.
    • Ability to set HTTP headers per request.
      • Implemented by stnslw in #4113.
    • Ability to capture NSURLSessionTaskMetrics.
      • Implemented by Caelink in #4237.

    โšก๏ธ Updated

    • dataTaskWithHTTPMethod to be public.
      • Implemented by smartinspereira in #4007.
    • Reachability notification to include the instance which issued the notification.
      • Implemented by LMsgSendNilSelf in #4051.
    • AFJSONObjectByRemovingKeysWithNullValues to be public.
      • Implemented by ashfurrow in #4051.
    • ๐Ÿšš AFJSONObjectByRemovingKeysWithNullValues to remove NSNull values from NSArrays.
      • Implemented by ashfurrow in #4052.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ท Automated CI to GitHub Actions.
      • Implemented by jshier in #4523.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Explicit NSSecureCoding support.
      • Implemented by jshier in #4523.
    • ๐Ÿ—„ Deprecated API usage on Catalyst.
      • Implemented by jshier in #4523.
    • Nullability annotations.
      • Implemented by jshier in #4523.
    • AFImageDownloader to more accurately cancel downloads.
      • Implemented by kinarobin in #4407.
    • Double KVO notifications in AFNetworkActivityManager.
      • Implemented by kinarobin in #4406.
    • Availability annotations around NSURLSessionTaskMetrics.
      • Implemented by ElfSundae in #4516.
    • Issues with associated_object and subclasses.
      • Implemented by welcommand in #3872.
    • Memory leak in example application.
      • Implemented by svoit in #4196.
    • Crashes in mulithreaded scenarios and dispatch_barrier.
      • Implemetned by streeter in #4474.
    • Issues with NSSecureCoding.
      • Implemented by ElfSudae in #4409.
    • ๐Ÿ’… Code style issues.
      • Implemented by svoit in #4200.
    • Race condition in AFImageDownloader.
      • Implemented by bbeversdorf in #4246.
    • ๐Ÿ’… Coding style issues.
      • Implemented by LeeHongHwa in #4002.

    โœ‚ Removed

    • ๐Ÿ‘Œ Support for iOS < 9, macOS < 10.10.
      • Implemented by jshier in #4523.
    • ๐Ÿ—„ All previously deprecated APIs.
      • Implemented by jshier in #4523.
    • Unnecessary __block capture.
      • Implemented by kinarobin in #4526.
    • โ†ช Workaround for NSURLSessionUploadTask creation on iOS 7.
      • Implemented by kinarobin in #4525.
    • โ†ช Workaround for safe NSURLSessionTask creation on iOS < 8.
      • Implemented by kinarobin in #4401.
    • UIWebView extensions.
      • Implemented by tjanela in #4439.