All Versions
78
Latest Version
Avg Release Cycle
40 days
Latest Release
6 days ago

Changelog History
Page 2

  • v5.0.0-beta.6

    April 24, 2019

    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.
  • v5.0.0-beta.5

    April 13, 2019

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

    • Request.didResumeTaskNotification, Request.didSuspendTaskNotification, Request.didCancelTaskNotification, and Request.didCompleteTaskNotification notifications.
    • Separate URLSessionTask lifetime events to EventMonitor.

    ⚡️ Updated

    • SessionStateProvider to no longer be public and renamed the file it lives in.
    • MultipartUpload to no longer be public.
    • 👍 Request, DataRequest, UploadRequest, and DownloadRequest to longer be open, as Alamofire does not support subclassing these types.
    • Names of the notifications posted by Request to include Notification.
    • httpHeaders extensions on URLRequest, HTTPURLResponse, and URLSessionConfiguration to be headers instead.

    🛠 Fixed

    • Issue in Request where calling cancel() inside a response serializer would result in the serializer running again.
    • Issue in Session where the delegate precondition would be triggered when running with a swizzled URLSessionDelegate.
    • Compiler error in the example app.
    • Issues Request where certain lifetime events could be triggered more than once by repeatedly calling resume(), suspend(), or cancel().
    • 🚀 Framework version string to be compatible with TestFlight and AppStore releases.
  • v5.0.0-beta.4

    March 29, 2019

    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.
  • v5.0.0-beta.3

    March 08, 2019

    Released on 2019-01-07. 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 EmptyResponse protocol, to allow any type to provides values to stand in for an empty response.
    • Request and response bodies to Request's debugDescription.

    ⚡️ Updated

    • 📦 Package.swift for Swift 5 support, moving Swift 4.2 support to Package@swift-4.2.swift.
    • 0️⃣ Use of Array to Range in Request's default acceptableResponseCodes.
    • RetryPolicy to allow subclasses to override retry(_:, for: Session, dueTo:, completion:).
    • Alamofire's didResume notification to didFinish, which is now called when a Request finished, not when tasks resume.

    🛠 Fixed

    • Requests not finishing when their controlling Session is deinitd or invalidated.
    • Memory leak when using validate() due to reference cycle from implicit self capture when using an @autoclosure.
    • 📜 Crash when using requestDidParseAnyResponse when using ClosureEventMonitor.
    • RetryPolicy to properly conform to RequestInterceptor.
    • 📚 Typos in documentation.
  • v5.0.0-beta.2

    February 07, 2019

    Released on 2019-01-07. 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

    • 👌 Support for controlling redirect behavior per Session and per Request using the RedirectHandler protocol.
    • 👌 Support for controlling cached response behavior per Session and per Request using the CachedResponseHandler protocol.
    • 👌 Support for controlling retry behavior per Session and per Request using the RequestInterceptor protocol.
    • The Adapter, Retrier, and Interceptor types to provide fine grained control of retry behavior.
    • 👌 Support for exponential backoff retry policies through the new RetryPolicy and ConnectionLostRetryPolicy types.

    ⚡️ Updated

    • The RequestRetrier protocol to take a RetryResult in the completion closure allowing custom retry errors to be thrown.
    • The Hashable implementation on Request to use new hash(into:) API.
  • v5.0.0-beta.1

    December 07, 2018

    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.

    ➕ Added

    • 👌 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 response handling in response serializers.
    • EventMonitor protocol, to tap in to internal Alamofire lifetime events.
    • ServerTrustFailureReason to AFError.
    • Asynchronous request creation.

    ⚡️ Updated

    • 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.

    ✂ Removed

    • 👌 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.

  • v5.0.0.beta

    December 07, 2018

    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.

    ➕ Added

    • 👌 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.

    ⚡️ Updated

    • 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.

    ✂ Removed

    • 👌 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.
  • v4.9.1

    October 26, 2019

    🚀 Released on 2019-10-26. All issues associated with this milestone can be found using this filter.

    ➕ Added

    • 👌 Support for GitHub Actions for CI.

    ⚡️ Updated

    • DataResponse and DownloadResponse debugDescription to include more useful information.

    🛠 Fixed

    • Dynamic bundle identifier causing issues with Xcode and precompiled binaries by removing the dynamic behavior.
    • ⚡️ Compiler warnings when building for Catalyst by updating the usage of deprecated API.
  • v4.9.0

    September 04, 2019

    🚀 Released on 2019-09-03. All issues associated with this milestone can be found using this filter.

    ➕ Added

    • API to cancel DownloadRequests without producing resume data.

    ⚡️ Updated

    • Bundle identifiers to include the platform name, fixing ITMS-90806.

    🛠 Fixed

    • NetworkReachabilityManager behavior regression from 4.8.1.
    • Memory leak when using validate().
  • v4.8.2

    March 27, 2019

    🚀 Released on 2019-03-27. All issues associated with this milestone can be found using this filter.

    🛠 Fixed

    • Compatability with SPM from Xcode 10.2.

    ⚡️ Updated

    • Project for compatability with Xcode 10.2.
    • MultipartFormData to have a mutable boundary.