5.0.0-beta.5
版本发布时间: 2019-04-13 10:44:44
Alamofire/Alamofire最新发布版本:5.10.2(2024-11-25 23:11:48)
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.