Alamofire v5.0.0-beta.5 Release Notes
Release Date: 2019-04-13 // almost 5 years ago-
Released on 2019-04-12. All issues associated with this milestone can be found using this filter. Note: Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.
โ Added
Request.didResumeTaskNotification
,Request.didSuspendTaskNotification
,Request.didCancelTaskNotification
, andRequest.didCompleteTaskNotification
notifications.- Added by Christian Noon in Pull Request #2803.
- Separate
URLSessionTask
lifetime events toEventMonitor
.
โก๏ธ Updated
SessionStateProvider
to no longer bepublic
and renamed the file it lives in.- Updated by Christian Noon in Pull Request #2801.
MultipartUpload
to no longer bepublic
.- Updated by Christian Noon in Pull Request #2805.
- ๐
Request
,DataRequest
,UploadRequest
, andDownloadRequest
to longer beopen
, as Alamofire does not support subclassing these types.- Updated by Christian Noon in Pull Request #2804.
- Names of the notifications posted by
Request
to includeNotification
.- Updated by Christian Noon in Pull Request #2803.
httpHeaders
extensions onURLRequest
,HTTPURLResponse
, andURLSessionConfiguration
to beheaders
instead.- Updated by Christian Noon in Pull Request #2802.
๐ Fixed
- Issue in
Request
where callingcancel()
inside a response serializer would result in the serializer running again.- Fixed by Christian Noon in Pull Request #2778.
- Issue in
Session
where the delegateprecondition
would be triggered when running with a swizzledURLSessionDelegate
.- Fixed by Christian Noon in Pull Request #2783.
- Compiler error in the example app.
- Fixed by Christian Noon in Pull Request #2786.
- Issues
Request
where certain lifetime events could be triggered more than once by repeatedly callingresume()
,suspend()
, orcancel()
. - ๐ Framework version string to be compatible with TestFlight and AppStore releases.
- Fixed by Christian Noon in Pull Request #2799 in Regards to Issue #2797.