Alamofire breaking changes
Updated December 4, 2026
On this page
Latest version 5.12.2, released September 10, 2026. Source repository
Alamofire 5.0.0 breaking changes
- Behavior changed
AF
The AF namespace is now a reference to Session.default. github.com
Alamofire 5.0.0-rc.3 breaking changes
- Behavior changed
Request.resume
Requests now resume automatically after the first response handler is added instead of immediately after task creation. github.com
Alamofire 5.0.0-rc.1 breaking changes
- Renamed
DataRequest.flatMap
DataRequest and DownloadRequest functional API renames flatMap to tryMap. github.com - Behavior changed
Responses now start with an AFError Failure type instead of other error types. github.com - Behavior changed
HTTPMethod
HTTPMethod is now a struct rather than an enum, so enum-style switching and pattern matching may break. github.com - Behavior changed
NetworkReachabilityManager
NetworkReachabilityManager's API was simplified and modernized. github.com - Behavior changed
Request
Internal URLRequest validation makes GET requests with body data produce an error. github.com
Alamofire 5.0.0-beta.7 breaking changes
- Behavior changed
Request
Appending a response serializer to a completed Request now triggers the normal lifetime methods instead of producing an error. github.com
Alamofire 5.0.0-beta.5 breaking changes
- Removed
MultipartUpload
MultipartUpload is no longer public. github.com - Removed
SessionStateProvider
SessionStateProvider is no longer public and its file was renamed. github.com - Renamed
httpHeaders
The httpHeaders extensions on URLRequest, HTTPURLResponse and URLSessionConfiguration are now headers. github.com - Renamed
Request.didResumeTaskNotification
Names of the notifications posted by Request now include Notification. github.com - Behavior changed
Request
These types are no longer open because subclassing is not supported. github.com
Alamofire 5.0.0-beta.4 breaking changes
- Removed
The Xcode project, source, SPM package and podspec now support Swift 5 only. github.com - Removed
Alamofire.Result
The Alamofire Result type is now an AFResult typealias on Swift.Result, and all public extensions were removed. github.com - Signature changed
MultipartFormData
MultipartFormData data APIs were condensed using optional parameters. github.com
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
Alamofire 5.0.0-beta.3 breaking changes
- Behavior changed
didResume
The notification is now posted when a Request finishes rather than when tasks resume. github.com - Default changed
Request.acceptableResponseCodes
Request's default acceptableResponseCodes switched from an Array to a Range. github.com
Alamofire 5.0.0-beta.2 breaking changes
- Signature changed
RequestRetrier
The RequestRetrier protocol's completion closure takes a RetryResult, allowing custom retry errors. github.com
Alamofire 5.0.0.beta.1 breaking changes
- Removed
Platform versions below the new minimums are no longer supported. github.com - Removed
Alamofire.request
Top-level request calls must use the AF namespace instead of Alamofire. github.com
And 6 more in this version.
Alamofire 4.0.0 breaking changes
- Removed
downloadProgress
The Int64 variants of downloadProgress and uploadProgress were removed. Use the remaining progress APIs. github.com - Removed
URLStringConvertible
The URLStringCovertible protocol was renamed to URLConvertible and its protocol property removed. Update conforming types and references. github.com
And 9 more in this version.
Alamofire 4.0.0-beta.1 breaking changes
- Removed
SessionDelegate
SessionDelegate, TaskDelegate and subclasses were pulled into the global namespace. Update references that used the nested names. github.com - Renamed
Error
The Error enum was renamed to AFError, which now conforms to the Error protocol. Update references to the new name. github.com
And 4 more in this version.
Alamofire 3.0.0-beta.1 breaking changes
- Behavior changed
All response serializers now return the original server data as NSData? and use the new Response type. Code that consumes serializer output must handle the new return shape. github.com - Behavior changed
TaskDelegate
The TaskDelegate now stores an error as an NSError instead of ErrorType. Code that reads this error must expect NSError. github.com
And 3 more in this version.
Alamofire 2.0.0-beta.4 breaking changes
- Removed
AFNetworking
Documentation sections comparing with AFNetworking were removed; no code impact. github.com - Behavior changed
Result
Result types now store an ErrorType instead of NSError. github.com
And 1 more in this version.
Alamofire 2.0.0-beta.2 breaking changes
- Removed
Manager.init
The required declaration on the Manager init method was removed, so subclasses no longer must implement it. github.com - Behavior changed
ServerTrustPolicyManager
Server trust host validation now uses SSL policy evaluation, which may change which certificates are accepted. github.com
And 1 more in this version.
Alamofire 2.0.0-beta.1 breaking changes
- Removed
ParameterEncoding
Explicit string raw values on ParameterEncoding cases were removed because they are now implied. github.com - Removed
Request.CustomDebugStringConvertible
The OSX cookie check in the CustomDebugStringConvertible conformance of Request was removed. github.com
And 2 more in this version.
Related packages
- github.com/alamofire/alamofire on Swift Package Index
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.