github.com/alamofire/alamofire breaking changes
Updated December 4, 2026
On this page
Latest version 5.12.2, released September 10, 2026. Source repository
github.com/alamofire/alamofire 5.0.0 breaking changes
- Behavior changed
AF
The AF namespace is now a reference to Session.default, which changes what AF calls go to. github.com
github.com/alamofire/alamofire 5.0.0-rc.3 breaking changes
- Behavior changed
Request
Requests no longer resume immediately after creation; they resume once a response handler is attached. github.com
github.com/alamofire/alamofire 5.0.0-rc.1 breaking changes
- Renamed
flatMap
Use tryMap on DataRequest and DownloadRequest instead of flatMap. github.com - Behavior changed
GET requests carrying body data now fail validation, so remove body data from GET requests. github.com - Behavior changed
AFError
Responses now start with an AFError failure type, so error handling code may need changes. github.com - Behavior changed
HTTPMethod
Code that switches over HTTPMethod cases or relies on enum behavior must be updated. github.com - Configuration changed
Bundle identifiers changed, which may affect apps that depend on the existing identifier. github.com
github.com/alamofire/alamofire 5.0.0-beta.7 breaking changes
- Behavior changed
URLEncodedFormEncoder
Empty parameters are no longer encoded as an empty String, so check code that depends on that output. github.com
github.com/alamofire/alamofire 5.0.0-beta.4 breaking changes
- Removed
The project now builds only with Swift 5. github.com - Removed
Result
Use AFResult, which typealiases Swift.Result, and drop uses of the removed public extensions. github.com
github.com/alamofire/alamofire 5.0.0-beta.3 breaking changes
- Renamed
didResume
The notification now fires when a request finishes, not when tasks resume. github.com - Behavior changed
Package.swift
Swift 4.2 users must use Package@swift-4.2.swift. github.com - Default changed
acceptableResponseCodes
Default acceptableResponseCodes now uses a Range in github.com/Alamofire/Alamofire 5.0.0-beta.3 github.com
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
github.com/alamofire/alamofire 5.0.0-beta.1 breaking changes
- Removed
Alamofire no longer supports older Apple platform versions. Apps targeting them must stay on Alamofire 4. github.com - Removed
Code relying on closure overrides must move to the new API. github.com
And 7 more in this version.
github.com/alamofire/alamofire 4.0.0 breaking changes
- Removed
downloadProgress
The Int64 variant of downloadProgress was removed. github.com - Removed
uploadProgress
The Int64 variant of uploadProgress was removed. github.com
And 11 more in this version.
github.com/alamofire/alamofire 4.0.0-beta.1 breaking changes
- Renamed
Error
The Error enum was renamed to AFError and now conforms to the Error protocol. Update references. github.com - Renamed
Manager
The Manager class was renamed to SessionManager. Update code that references Manager. github.com
And 3 more in this version.
github.com/alamofire/alamofire 3.0.0-beta.1 breaking changes
- Behavior changed
TaskDelegate
TaskDelegate now stores its error as an NSError. Code that reads the stored error must expect NSError. github.com - Signature changed
All response serializers return the new Response type. Update code that relies on the previous serializer return types. github.com
And 4 more in this version.
github.com/alamofire/alamofire 2.0.0-beta.4 breaking changes
- Behavior changed
Result
Result types store an ErrorType instead of NSError, so code reading the error as NSError must change. github.com - Signature changed
download
The download APIs now take parameters and encoding parameters, so calls to them may need updating. github.com
github.com/alamofire/alamofire 2.0.0-beta.3 breaking changes
- Removed
NSMutableURLRequest
The override for NSMutableURLRequest for the URLRequestConvertible protocol conformance was removed. github.com
github.com/alamofire/alamofire 2.0.0-beta.2 breaking changes
- Behavior changed
Result
The Result failure case stores an ErrorType instead of NSError, so code that casts or reads the error as NSError must change. github.com - Behavior changed
ServerTrustPolicyManager
Server trust host validation was changed to use SSL policy evaluation, so validation results can differ from before. github.com
And 1 more in this version.
github.com/alamofire/alamofire 2.0.0-beta.1 breaking changes
- Removed
ParameterEncoding
The explicit string raw values of ParameterEncoding were removed because they are now implied. Code that relied on writing them explicitly may need changes. github.com - Behavior changed
All HTTP requests are changed to HTTPS to better align with App Transport Security, so requests to plain HTTP URLs behave differently. github.com
And 3 more in this version.
Related packages
- Alamofire on CocoaPods
- github.com/alamofire/alamofireimage
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.