Alamofire v5.5.0 Release Notes
-
๐ Released on 2021-12-13. All issues associated with this milestone can be found using this filter.
โ Added
- ๐ [๐ฅ Experimental ๐ฅ] support for Swift Concurrency, including
async
-await
for requests andStreamOf
for streaming values. - Generic static accessors for various protocols types for Swift 5.5.
.indexInBrackets
options for array encoding in query parameters.- Added by Tiago Lopes in Pull Request #3516.
RequestAdapterState
and new protocol requirements forRequestAdapter
to allow for additional state to be available.- Added by Christian Noon in Pull Request #3504.
โก๏ธ Updated
Session
to more safely target provided customDispatchQueue
s for internal use.AFError
message regarding unacceptableContent-Type
s to sort the types.- Updated by Timur Yusipov in Pull Request #3518.
- Base Swift language version requirement to 5.3.
- Sample app to show proper loading state for requests.
- Updated by Tiago Lopes in Pull Request #3514.
๐ Deprecated
responseJSON
and associated methods, in preference toresponseDecodable
.
๐ Fixed
- ๐ Use of
Protected
wrapper when accessing properties of the wrapped values to ensure proper thread-safety. - ๐ Various documentation typos.
- Fixed by Christos Koninis, Tiago Lopes, and Eugene Berdnikov in various Pull Requests.
- ๐ [๐ฅ Experimental ๐ฅ] support for Swift Concurrency, including