github AFNetworking/AFNetworking 4.0.0
A Long Time Coming

latest release: 4.0.1
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.

Don't miss a new AFNetworking release

NewReleases is sending notifications on new releases.