Alamofire v5.0.0-beta.4 Release Notes

Release Date: 2019-03-29 // almost 5 years ago
  • Released on 2019-03-29. 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

    • The AlamofireExtended protocol and used it to namespace all public extensions.
    • The ability to retry requests after encountering response serialization errors.

    โšก๏ธ Updated

    • The switch and DispatchQueue logic throughout codebase to simplify usage patterns.
    • The MultipartFormData data APIs by condensing them using optional parameters.
    • ๐Ÿ‘ The upload APIs for MultipartFormData to support custom boundaries.
    • ๐Ÿ“ฆ The Xcode project, source code, SPM package, and podspec to support Swift 5 only.
    • ๐Ÿšš The Alamofire Result type to be a new AFResult typealias on the new Swift.Result type in Swift 5 and removed all public extensions.

    ๐Ÿ›  Fixed

    • Issue in RequestInterceptor closures where callback arguments were not marked as @escaping.
    • Issue in response serializers where emptyResponseAllowed logic was not working as expected.