5.9.0
版本发布时间: 2024-03-04 10:19:13
Alamofire/Alamofire最新发布版本:5.9.1(2024-03-31 09:22:33)
Released on 2024-03-03. All issues associated with this milestone can be found using this filter.
Added
- [🔥 Experimental 🔥]
WebSocketRequest
, as a wrapper forURLSessionWebSocketTask
. This preview release is undocumented behind@_spi(WebSocket)
. Its API will change in the future, especially to adopt typed throws, but it is largely feature complete, tested, and usable now. API feedback, missing use cases, and bug reports are much appreciated before it goes fully public. -
PrivacyInfo.xcprivacy
file and integration with SPM, CocoaPods, and Carthage.- Added by Dmitry Kuleshov and Jon Shier in Pull Requests #3792, #3831, and #3839.
-
AlamofireDynamic
target, to force dynamic linking in Xcode when using SPM. Only use when you know you need it. -
AFInfo
enum and a publicversion
value to get Alamofire's current version,AFInfo.version
.
Updated
- Alamofire to require Swift 5.7.1.
- Project structure to break apart large
Request.swift
file and consolidate variousRequest
subclasses into their own files. -
Empty
type to beSendable
.- Updated by Antoine van der Lee in Pull Request #3816.
-
.swiftformat
to remove duplicate rules.
Fixed
- Platform deprecation warnings in
Package.swift
in newer Xcode versions. -
Alamofire.podspec
after project restructuring. - Various documentation typos.
- Fixed by JaewoongLee-swift, TaeHyun, and hugo-syn in various Pull Requests.