---
title: "Alamofire 5.0.0 Breaking Changes on CocoaPods | Since.dev"
description: "What each Alamofire release removed, renamed or changed: 59 breaking changes in 15 versions on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/Alamofire
last_updated: 2026-12-04
---

# Alamofire breaking changes

Alamofire 5.0.0 is its newest release with breaking changes. The first: Behavior changed AF. Every breaking API change we have recorded in Alamofire on CocoaPods: 59 breaking changes in 15 versions. Below, its 15 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.12.2`, released September 10, 2026. [Source repository](https://github.com/Alamofire/Alamofire)

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 27 breaking changes in 9 versions.

## Alamofire 5.0.0 breaking changes

Alamofire 5.0.0: 1 breaking change.

- **Behavior changed** `AF`  

The AF namespace is now a reference to Session.default. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0)

## Alamofire 5.0.0-rc.3 breaking changes

Alamofire 5.0.0-rc.3: 1 breaking change.

- **Behavior changed** `Request.resume`  

Requests now resume automatically after the first response handler is added instead of immediately after task creation. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.3)

## Alamofire 5.0.0-rc.1 breaking changes

Alamofire 5.0.0-rc.1: 5 breaking changes.

- **Renamed** `DataRequest.flatMap`  

DataRequest and DownloadRequest functional API renames flatMap to tryMap. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed**  

Responses now start with an AFError Failure type instead of other error types. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed** `HTTPMethod`  

HTTPMethod is now a struct rather than an enum, so enum-style switching and pattern matching may break. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed** `NetworkReachabilityManager`  

NetworkReachabilityManager's API was simplified and modernized. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed** `Request`  

Internal URLRequest validation makes GET requests with body data produce an error. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)

## Alamofire 5.0.0-beta.7 breaking changes

Alamofire 5.0.0-beta.7: 1 breaking change.

- **Behavior changed** `Request`  

Appending a response serializer to a completed Request now triggers the normal lifetime methods instead of producing an error. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.7)

## Alamofire 5.0.0-beta.5 breaking changes

Alamofire 5.0.0-beta.5: 5 breaking changes.

- **Removed** `MultipartUpload`  

MultipartUpload is no longer public. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5)
- **Removed** `SessionStateProvider`  

SessionStateProvider is no longer public and its file was renamed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5)
- **Renamed** `httpHeaders`  

The httpHeaders extensions on URLRequest, HTTPURLResponse and URLSessionConfiguration are now headers. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5)
- **Renamed** `Request.didResumeTaskNotification`  

Names of the notifications posted by Request now include Notification. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5)
- **Behavior changed** `Request`  

These types are no longer open because subclassing is not supported. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5)

## Alamofire 5.0.0-beta.4 breaking changes

Alamofire 5.0.0-beta.4: 3 breaking changes.

- **Removed**  

The Xcode project, source, SPM package and podspec now support Swift 5 only. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)
- **Removed** `Alamofire.Result`  

The Alamofire Result type is now an AFResult typealias on Swift.Result, and all public extensions were removed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)
- **Signature changed** `MultipartFormData`  

MultipartFormData data APIs were condensed using optional parameters. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)

## Older versions

9 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### Alamofire 5.0.0-beta.3 breaking changes

Alamofire 5.0.0-beta.3: 2 breaking changes.

- **Behavior changed** `didResume`  

The notification is now posted when a Request finishes rather than when tasks resume. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.3)
- **Default changed** `Request.acceptableResponseCodes`  

Request's default acceptableResponseCodes switched from an Array to a Range. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.3)

### Alamofire 5.0.0-beta.2 breaking changes

Alamofire 5.0.0-beta.2: 1 breaking change.

- **Signature changed** `RequestRetrier`  

The RequestRetrier protocol's completion closure takes a RetryResult, allowing custom retry errors. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.2)

### Alamofire 5.0.0.beta.1 breaking changes

Alamofire 5.0.0.beta.1: 8 breaking changes.

- **Removed**  

Platform versions below the new minimums are no longer supported. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0.beta.1)
- **Removed** `Alamofire.request`  

Top-level request calls must use the AF namespace instead of Alamofire. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0.beta.1)

And 6 more in this version.

### Alamofire 4.0.0 breaking changes

Alamofire 4.0.0: 11 breaking changes.

- **Removed** `downloadProgress`  

The Int64 variants of downloadProgress and uploadProgress were removed. Use the remaining progress APIs. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0)
- **Removed** `URLStringConvertible`  

The URLStringCovertible protocol was renamed to URLConvertible and its protocol property removed. Update conforming types and references. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0)

And 9 more in this version.

### Alamofire 4.0.0-beta.1 breaking changes

Alamofire 4.0.0-beta.1: 6 breaking changes.

- **Removed** `SessionDelegate`  

SessionDelegate, TaskDelegate and subclasses were pulled into the global namespace. Update references that used the nested names. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0-beta.1)
- **Renamed** `Error`  

The Error enum was renamed to AFError, which now conforms to the Error protocol. Update references to the new name. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0-beta.1)

And 4 more in this version.

### Alamofire 3.0.0-beta.1 breaking changes

Alamofire 3.0.0-beta.1: 5 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](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)
- **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](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)

And 3 more in this version.

### Alamofire 2.0.0-beta.4 breaking changes

Alamofire 2.0.0-beta.4: 3 breaking changes.

- **Removed** `AFNetworking`  

Documentation sections comparing with AFNetworking were removed; no code impact. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4)
- **Behavior changed** `Result`  

Result types now store an ErrorType instead of NSError. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4)

And 1 more in this version.

### Alamofire 2.0.0-beta.2 breaking changes

Alamofire 2.0.0-beta.2: 3 breaking changes.

- **Removed** `Manager.init`  

The required declaration on the Manager init method was removed, so subclasses no longer must implement it. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2)
- **Behavior changed** `ServerTrustPolicyManager`  

Server trust host validation now uses SSL policy evaluation, which may change which certificates are accepted. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2)

And 1 more in this version.

### Alamofire 2.0.0-beta.1 breaking changes

Alamofire 2.0.0-beta.1: 4 breaking changes.

- **Removed** `ParameterEncoding`  

Explicit string raw values on ParameterEncoding cases were removed because they are now implied. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.1)
- **Removed** `Request.CustomDebugStringConvertible`  

The OSX cookie check in the CustomDebugStringConvertible conformance of Request was removed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.1)

And 2 more in this version.

## Related packages

- [github.com/alamofire/alamofire](https://since.dev/packages/swift/github.com/alamofire/alamofire.md):  on Swift Package Index

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
