---
title: "github.com/alamofire/alamofire 5.0.0 Breaking Changes"
description: "What each github.com/alamofire/alamofire release removed, renamed or changed: 57 breaking changes in 14 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/alamofire/alamofire
last_updated: 2026-12-04
---

# github.com/alamofire/alamofire breaking changes

github.com/alamofire/alamofire 5.0.0 is its newest release with breaking changes. The first: Behavior changed AF. Every breaking API change we have recorded in github.com/alamofire/alamofire on Swift Package Index: 57 breaking changes in 14 versions. Below, its 14 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): 22 breaking changes in 7 versions.

## github.com/alamofire/alamofire 5.0.0 breaking changes

github.com/alamofire/alamofire 5.0.0: 1 breaking change.

- **Behavior changed** `AF`  

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

## github.com/alamofire/alamofire 5.0.0-rc.3 breaking changes

github.com/alamofire/alamofire 5.0.0-rc.3: 1 breaking change.

- **Behavior changed** `Request`  

Requests no longer resume immediately after creation; they resume once a response handler is attached. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.3)

## github.com/alamofire/alamofire 5.0.0-rc.1 breaking changes

github.com/alamofire/alamofire 5.0.0-rc.1: 5 breaking changes.

- **Renamed** `flatMap`  

Use tryMap on DataRequest and DownloadRequest instead of flatMap. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed**  

GET requests carrying body data now fail validation, so remove body data from GET requests. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed** `AFError`  

Responses now start with an AFError failure type, so error handling code may need changes. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Behavior changed** `HTTPMethod`  

Code that switches over HTTPMethod cases or relies on enum behavior must be updated. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)
- **Configuration changed**  

Bundle identifiers changed, which may affect apps that depend on the existing identifier. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.1)

## github.com/alamofire/alamofire 5.0.0-beta.7 breaking changes

github.com/alamofire/alamofire 5.0.0-beta.7: 1 breaking change.

- **Behavior changed** `URLEncodedFormEncoder`  

Empty parameters are no longer encoded as an empty String, so check code that depends on that output. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.7)

## github.com/alamofire/alamofire 5.0.0-beta.4 breaking changes

github.com/alamofire/alamofire 5.0.0-beta.4: 2 breaking changes.

- **Removed**  

The project now builds only with Swift 5. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)
- **Removed** `Result`  

Use AFResult, which typealiases Swift.Result, and drop uses of the removed public extensions. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)

## github.com/alamofire/alamofire 5.0.0-beta.3 breaking changes

github.com/alamofire/alamofire 5.0.0-beta.3: 3 breaking changes.

- **Renamed** `didResume`  

The notification now fires when a request finishes, not when tasks resume. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.3)
- **Behavior changed** `Package.swift`  

Swift 4.2 users must use Package@swift-4.2.swift. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.3)
- **Default changed** `acceptableResponseCodes`  

Default acceptableResponseCodes now uses a Range in github.com/Alamofire/Alamofire 5.0.0-beta.3 [github.com](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.3)

## Older versions

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

### github.com/alamofire/alamofire 5.0.0-beta.1 breaking changes

github.com/alamofire/alamofire 5.0.0-beta.1: 9 breaking changes.

- **Removed**  

Alamofire no longer supports older Apple platform versions. Apps targeting them must stay on Alamofire 4. [github.com](https://github.com/Alamofire/Alamofire/blob/5.0.0/CHANGELOG.md)
- **Removed**  

Code relying on closure overrides must move to the new API. [github.com](https://github.com/Alamofire/Alamofire/blob/5.0.0/CHANGELOG.md)

And 7 more in this version.

### github.com/alamofire/alamofire 4.0.0 breaking changes

github.com/alamofire/alamofire 4.0.0: 13 breaking changes.

- **Removed** `downloadProgress`  

The Int64 variant of downloadProgress was removed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0)
- **Removed** `uploadProgress`  

The Int64 variant of uploadProgress was removed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0)

And 11 more in this version.

### github.com/alamofire/alamofire 4.0.0-beta.1 breaking changes

github.com/alamofire/alamofire 4.0.0-beta.1: 5 breaking changes.

- **Renamed** `Error`  

The Error enum was renamed to AFError and now conforms to the Error protocol. Update references. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0-beta.1)
- **Renamed** `Manager`  

The Manager class was renamed to SessionManager. Update code that references Manager. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/4.0.0-beta.1)

And 3 more in this version.

### github.com/alamofire/alamofire 3.0.0-beta.1 breaking changes

github.com/alamofire/alamofire 3.0.0-beta.1: 6 breaking changes.

- **Behavior changed** `TaskDelegate`  

TaskDelegate now stores its error as an NSError. Code that reads the stored error must expect NSError. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)
- **Signature changed**  

All response serializers return the new Response type. Update code that relies on the previous serializer return types. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)

And 4 more in this version.

### github.com/alamofire/alamofire 2.0.0-beta.4 breaking changes

github.com/alamofire/alamofire 2.0.0-beta.4: 2 breaking changes.

- **Behavior changed** `Result`  

Result types store an ErrorType instead of NSError, so code reading the error as NSError must change. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4)
- **Signature changed** `download`  

The download APIs now take parameters and encoding parameters, so calls to them may need updating. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4)

### github.com/alamofire/alamofire 2.0.0-beta.3 breaking changes

github.com/alamofire/alamofire 2.0.0-beta.3: 1 breaking change.

- **Removed** `NSMutableURLRequest`  

The override for NSMutableURLRequest for the URLRequestConvertible protocol conformance was removed. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.3)

### github.com/alamofire/alamofire 2.0.0-beta.2 breaking changes

github.com/alamofire/alamofire 2.0.0-beta.2: 3 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](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2)
- **Behavior changed** `ServerTrustPolicyManager`  

Server trust host validation was changed to use SSL policy evaluation, so validation results can differ from before. [github.com](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2)

And 1 more in this version.

### github.com/alamofire/alamofire 2.0.0-beta.1 breaking changes

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

And 3 more in this version.

## Related packages

- [Alamofire](https://since.dev/packages/cocoapods/Alamofire.md):  on CocoaPods
- [github.com/alamofire/alamofireimage](https://since.dev/packages/swift/github.com/alamofire/alamofireimage.md)

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