@jshier jshier released this Dec 7, 2018 · 2 commits to master since this release

Assets 2

Released on 2018-12-06. 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.


  • Support for Decodable response serialization with responseDecodable.
  • Support for Brotli Content-Encoding in Alamofire's default headers.
  • HTTPHeaders type and convenience APIs.
  • Support for Encodable parameter types with JSONParameterEncoder and URLEncodedFormParameterEncoder.
  • Customizable empty reponse handling in response serializers.
  • EventMonitor protocol, to tap in to internal Alamofire lifetime events.
  • ServerTrustFailureReason to AFError.
  • Asynchronous request creation.


  • ResponseSerializer and associated protocols' requirements and implementations.
  • RequestAdapter to allow for asynchronous adaptation.
  • SessionManager to Session, with rewritten implementation and API.
  • Request, DataRequest, UploadRequest, and DownloadRequest with rewritten implementation and API.
  • Top level request API to be inside a real AF namespace enum rather than unnecessary Alamofire. usage.


  • Support for iOS < 10, macOS < 10.12, tvOS < 10, watchOS < 3.
  • Support for PropertyListSerialization and responsePropertyList.
  • Support for URLSessionStreamTask.
  • Closure override and customization API.
  • Timeline type, as Alamofire now gathers URLSessionTaskMetrics for every request.