Alamofire 5.0.3 has been released with some important fixes, including:
- Cancelling a
DownloadRequestis now more reliable, as we've worked around an issue withURLSessionDownloadTasknot cancelling properly in an async context when usingcancel(). (FB7619240). - A memory leak on watchOS due to never receiving the
didFinishCollectingevent from theURLSession. Collection ofURLSessionTaskMetricsseems completely broken on watchOS, despite the fact that I can see the_metricsproperty inside tasks, so we know it's getting collected. (FB7624529)
Alamofire can also now perform tests using SPM, at least for macOS.