New
5.11.0
Released on 2025-12-20. All issues associated with this milestone can be found using this filter.
Added
- Lazy
Requestsetup by default.Requests are now inert untilresume()'d, whether automatically or manually. Previous behavior can be restored by usingSession(requestSetup: .eager). - Inline, per-
RequestRequestAdapter,RequestRetrier,RequestInterceptor, andEventMonitorAPIs, to add instances afterRequestinitialization. - Per-
Requestautomaticresume()control, with theshouldAutomaticallyResumeparameter. OfflineRetrier, to retry requests based onNWPathMonitorstatus, as a replacement forNetworkReachabilityManager.- Added by Jon Shier and gourav kumar in Pull Request #3948.
Updated
- Alamofire to require Xcode 16.0 and the Swift 6 compiler (Swift 5 or 6 mode).
- Deployment targets for the test targets to match XCTest and Swift Testing availability.
Emptyto beHashable.Requestinternals to use more atomic locking.- Deprecated
NetworkReachabilityManageron iOS 17.4 and later. - Linux and Android CI builds.
- Updated by Marc Prud'hommeaux in Pull Request #3929.
Fixed
- Missing
@SendableinRetryPolicy.- Fixed by Colin Willson in Pull Request #3994.
- Example in Usage.md.
- Deleted
.swiftpmfolder from repo to prevent Xcode from creating Alamofire schemes when used as a package.
New Contributors
- @marcprux made their first contribution in https://github.com/Alamofire/Alamofire/pull/3929
- @kybeen made their first contribution in https://github.com/Alamofire/Alamofire/pull/3955
- @gouravkmar made their first contribution in https://github.com/Alamofire/Alamofire/pull/3948
- @CWftw made their first contribution in https://github.com/Alamofire/Alamofire/pull/3994
Full Changelog: https://github.com/Alamofire/Alamofire/compare/5.10.2...5.11.0