5.10.0
版本发布时间: 2024-10-14 06:22:50
Alamofire/Alamofire最新发布版本:5.10.2(2024-11-25 23:11:48)
Added
- 🔥 Full Swift concurrency support with
Sendable
requirements. Most APIs are also marked@preconcurrency
, so there should be no breaking changes. Swift 5.9 now required to build. - Existential
any
now required internally by Alamofire.- Added by Keita Watanabe in Pull Request #3881.
Updated
- 🔥
Session.init(... eventMonitors:)
to allow noEventMonitor
s at all, andCompositeEventMonitor
to fix thread-safety. Potentially breaking if previously passing[]
but still expectingNotification
s to be posted. Pass[AlamofireNotifications()]
if you need that behavior. -
DownloadRequest.validate
to read thefileSize
rather than the whole file from disk. - Links to
swiftlang
repositories.- Updated by LamTrinh.Dev in Pull Request #3882.
Fixed
- Various documentation typos.
- Fixed by Alexander Cyon in Pull Request #3891.
- Passing
queue
parameter toDataStream
serializers. -
testThatDatesCanBeEncodedAsFormatted
when running with a non-Gregorian calendar.- Fixed by Kittisak Phetrungnapha in Pull Request #3858.