Alamofire Versions Save

Elegant HTTP Networking in Swift

5.6.0

2 years ago

Released on 2022-04-13. All issues associated with this milestone can be found using this filter.

Added

  • Support for HTTPMethod.query to support the upcoming standard.
  • Compile-time Swift version check to enforce minimum supported Swift version.
  • GitHub Sponsors support. You can now sponsor Alamofire directly through GitHub.

Updated

  • Swift version required to build [🔥 Experimental 🔥] Swift Concurrency support to 5.6.0 to avoid various Apple bugs with Xcode 13.2.0 and 13.2.1. Support now requires Xcode 13.3.1.
  • DownloadRequest to avoid producing resume data when not explicitly requested on cancellation.
  • Testing infrastructure to use XCTestPlans on Apple platforms.
  • GitHub Actions support for greater OS coverage, more SPM platforms, and Swift 5.6.

Fixed

5.5.0

2 years ago

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.

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 and StreamOf for streaming values.
  • Generic static accessors for various protocols types for Swift 5.5.
  • .indexInBrackets options for array encoding in query parameters.
  • RequestAdapterState and new protocol requirements for RequestAdapter to allow for additional state to be available.

Updated

  • Session to more safely target provided custom DispatchQueues for internal use.
  • AFError message regarding unacceptable Content-Types to sort the types.
  • Base Swift language version requirement to 5.3.
  • Sample app to show proper loading state for requests.

Deprecated

  • responseJSON and associated methods, in preference to responseDecodable.

Fixed

5.4.4

2 years ago

Released on 2021-09-20. All issues associated with this milestone can be found using this filter.

Added

  • Support for Xcode 13, including a workaround for Combine compilation on older architectures.
  • Testing on watchOS.
  • Support for building on Windows and Linux. Alamofire is unsupported on these platforms but should build correctly.

Updated

  • Usage of .count >= 0 to !.isEmpty.

Fixed

5.4.3

3 years ago

Released on 2021-04-21. All issues associated with this milestone can be found using this filter.

Fixed

  • Change in multipart upload creation order.
  • Typo in Alamofire 5 migration guide.

5.4.2

3 years ago

Released on 2021-04-03. All issues associated with this milestone can be found using this filter.

Updated

  • Resume data handling for DownloadRequests to access resume data from errors as well as cancellation.
  • Project files and templates for Xcode 12.4 and GitHub templates.

Fixed

  • MultipartUpload thread-safety.
  • Multipart body stream length handling to better handle partial streams.

5.4.1

3 years ago

Released on 2020-12-20. All issues associated with this milestone can be found using this filter.

Updated

  • Project and CocoaPods installation of Obj-C header.

5.4.0

3 years ago

Released on 2020-11-04. All issues associated with this milestone can be found using this filter.

Added

  • URLResponseSerializer and attendant convenience methods so downloads can produce a non-optional URL.

Updated

  • Handing of file:// URLs, removing error added in 5.3.0 and adding support for DownloadRequest.

5.3.0

3 years ago

Released on 2020-10-17. All issues associated with this milestone can be found using this filter.

Added

  • Closure callback APIs for the production of URLRequests and URLSessionTasks.
  • URLSessionTaskMetrics gathering on watchOS 7+.

Updated

Fixed

  • Double lock crash in AuthenticationInterceptor caused by synchronous refresh implementations.
  • Crash when requesting file:// URLs by producing validation error.
  • Missing rethrow of error produced when writing temporary multipart files fails.
  • Objective-C module conflicts in Xcode 12 by removing Obj-C module support.

5.2.2

3 years ago

Released on 2020-07-17. All issues associated with this milestone can be found using this filter.

Added

  • macOS(Catalyst) User-Agent string.

Updated

  • debugDescription of DataRequest and DownloadRequest to better handle non-text and long content, with better formatting.
  • Code to use switch instead of if else statement.

Fixed

  • Linking on some Apple OS versions when using Swift Package Manager.
  • Reliability issues with DataStreamRequest.

5.2.1

3 years ago

Released on 2020-05-25. All issues associated with this milestone can be found using this filter.

Updated

  • Usage of .background DispatchQoS to .utility to avoid low-power issues.

Fixed