Alamofire 5.5 is the first release where we're labeling features we consider experimental. These features, while fully designed and well tested, rely on language or framework features which may change or require breaking bug fixes, and we'd rather not have to make a major release in that case. So [
Experimental
] features may require breaking changes in minor, rather than major, releases. This will be rare and compatibility should be preserved in most cases, but cannot be guaranteed.
All issues associated with this milestone can be found using this filter.
Added
- [
Experimental
] support for Swift Concurrency, including async-awaitfor requests andStreamOffor streaming values. - Generic static accessors for various protocols types for Swift 5.5.
.indexInBracketsoptions for array encoding in query parameters.- Added by Tiago Lopes in Pull Request #3516.
RequestAdapterStateand new protocol requirements forRequestAdapterto allow for additional state to be available.- Added by Christian Noon in Pull Request #3504.
Updated
Sessionto more safely target provided customDispatchQueues for internal use.AFErrormessage regarding unacceptableContent-Types 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
responseJSONand associated methods, in preference toresponseDecodable.
Fixed
- Use of
Protectedwrapper 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.