Alamofire v5.0.0 Release Notes

Release Date: 2019-07-30 // 6 months ago
  • Released on 2019-07-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

    • URLEncodedFormEncoder.DataEncoding and URLEncodedFormEncoder.KeyEncoding to customize the encoding of Data and CodingKeys in URLEncodedFormEncoder.
    • Asynchronous cURLDescription method to produce cURL commands for Requests which are in the process of creating their initial URLRequest.

    ⚡️ Updated

    • 📚 All inline API documentation.
    • Handling of response serializers appended after a Request has completed. This no longer produces an error but will instead trigger the normal Request lifetime methods.

    🛠 Fixed

    • Empty parameters being encoded as an empty String instead of nil by URLEncodedFormEncoder.
    • Handling of os_unfair_lock to prevent rare crash.

Previous changes from v5.0.0-beta.6

  • Released on 2019-04-23. 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.

    ⚡️ Updated

    • ServerTrustEvaluation logic by simplifying public key equality checks for SecKey types.
    • ⚡️ Request.State access to lock access and task updates using internal locking API.

    🛠 Fixed

    • Issues in DownloadRequest where some events were being duplicated and some were missing.
    • 🚀 Issue with AppStore submissions where the pre-release version in the bundle short versions string was being rejected when built with Carthage or as a submodule.
    • Issue where response serializer completions were not called when appended to a completed Request.