AFNetworking breaking changes
AFNetworking 4.0.0 is its newest release with breaking changes, 4 of them. The first: Removes all APIs deprecated in earlier versions in AFNetworking 4.0.0. Every breaking API change we have recorded in AFNetworking on CocoaPods: 23 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.1, released April 20, 2020. The registry marks it deprecated: The latest podspec (4.0.1) is marked deprecated. Source repository
Its 3.0.0 release requires iOS 7 or later. iOS end of life dates.
- From 3.0.0 to 4.0.0: 4 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 16 breaking changes in 2 versions.
AFNetworking 4.0.0 breaking changes
- Removed
Code that calls previously deprecated APIs will no longer compile and must switch to their replacements. github.com - Removed
Apps that target older iOS or macOS versions can no longer use this release and must raise their deployment target. github.com - Removed
UIWebView
The UIWebView extensions are gone, so code using them must be changed. github.com - Behavior changed
AFJSONObjectByRemovingKeysWithNullValues
The function now strips NSNull values from NSArrays as well, so callers that expected those values to remain will see different output. github.com
AFNetworking 3.0.0 breaking changes
- Removed
The UIAlertView category was deleted because it was already deprecated; the application must handle alerts itself. github.com - Removed
Deprecated 2.x methods, properties and notifications were deleted, so code that still uses them will no longer compile or work. github.com - Removed
AFNetworking now relies only on NSURLSession, so code that uses NSURLConnection-based APIs must move to NSURLSession-based APIs. github.com - Removed
AFBase64EncodedStringFromString
The static function is gone and callers must stop using it. github.com - Removed
AFHTTPRequestOperation
The class is removed in this release; migrate requests to AFHTTPSessionManager tasks. github.com - Removed
AFHTTPRequestOperationManager
Code using AFHTTPRequestOperationManager must migrate to AFHTTPSessionManager. github.com - Removed
AFURLConnectionOperation
The class is removed in this release and must no longer be used. github.com - Behavior changed
SSL pinning errors now carry a different error code, so error handling that checks the old code must be updated. github.com - Configuration changed
The release requires iOS 7 or later, Mac OS X 10.9 or later, watchOS 2, tvOS 9 and Xcode 7, so older targets cannot use it. github.com - Signature changed
Block parameters are now NSURLSessionTask objects, so code that expects AFHTTPRequestOperation must be updated. github.com
And 2 more in this version. Sign up to see every change
AFNetworking 2.0.0 breaking changes
- Removed
AFHTTPClient
AFHTTPClient was split into AFHTTPRequestOperationManager and AFHTTPSessionManager, with serialization and reachability moved into separate modules. Code using AFHTTPClient must be migrated to one of the new managers. github.com - Renamed
failureQueue
completionQueue replaces failureQueue; the completion block now dispatches to it after serializing the response. github.com - Renamed
getPath:parameters:success:failure:
The getPath-style AFHTTPClient methods were renamed to verb-named methods that return session data tasks. Update call sites to the new names and expect a different return type. github.com - Renamed
successQueue
completionQueue replaces successQueue; the completion block now dispatches to it after serializing the response. github.com - Behavior changed
baseURL
Managers can be created without a baseURL, but then network reachability monitoring is unavailable and full URL strings must be passed to convenience methods. github.com - Configuration changed
AFNetworking 2.0 officially supports iOS 6 and later, Mac OS X 10.8 and later, and Xcode 5. Projects targeting older SDKs must stay on the 1.x release. github.com
AFNetworking 2.0.0-RC2 breaking changes
- Configuration changed
The release notes state AFNetworking 2.0 requires iOS 7.0 or later, or Mac OS 10.9 Mavericks or later, which conflicts with the migration guide's iOS 6 figure. github.com
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.