5.10.0
- 🔥 Full Swift concurrency support with
Sendable
requirements. Most APIs are also marked@preconcurrency
, so there should be no breaking changes. Swift 5.9 now required to build. - Existential
any
now required internally by Alamofire.- Added by Keita Watanabe in Pull Request #3881.
- 🔥
Session.init(... eventMonitors:)
to allow noEventMonitor
s at all, andCompositeEventMonitor
to fix thread-safety. Potentially breaking if previously passing[]
but still expectingNotification
s to be posted. Pass[AlamofireNotifications()]
if you need that behavior. DownloadRequest.validate
to read thefileSize
rather than the whole file from disk.- Links to
swiftlang
repositories.- Updated by LamTrinh.Dev in Pull Request #3882.
- Various documentation typos.
- Fixed by Alexander Cyon in Pull Request #3891.
- Passing
queue
parameter toDataStream
serializers. testThatDatesCanBeEncodedAsFormatted
when running with a non-Gregorian calendar.- Fixed by Kittisak Phetrungnapha in Pull Request #3858.
5.9.1
Released on 2024-03-30. All issues associated with this milestone can be found using this filter.
HTTPHeaders
andHTTPHeader
to beSendable
.HTTPMethod
to beSendable
.
- CocoaPods visionOS support by explicitly declaring it in podspec.
- Fixed by Tamás Jäger in Pull Request #3845.
5.9.0
Released on 2024-03-03. All issues associated with this milestone can be found using this filter.
- [🔥 Experimental 🔥]
WebSocketRequest
, as a wrapper forURLSessionWebSocketTask
. This preview release is undocumented behind@_spi(WebSocket)
. Its API will change in the future, especially to adopt typed throws, but it is largely feature complete, tested, and usable now. API feedback, missing use cases, and bug reports are much appreciated before it goes fully public. PrivacyInfo.xcprivacy
file and integration with SPM, CocoaPods, and Carthage.- Added by Dmitry Kuleshov and Jon Shier in Pull Requests #3792, #3831, and #3839.
AlamofireDynamic
target, to force dynamic linking in Xcode when using SPM. Only use when you know you need it.AFInfo
enum and a publicversion
value to get Alamofire's current version,AFInfo.version
.
- Alamofire to require Swift 5.7.1.
- Project structure to break apart large
Request.swift
file and consolidate variousRequest
subclasses into their own files. Empty
type to beSendable
.- Updated by Antoine van der Lee in Pull Request #3816.
.swiftformat
to remove duplicate rules.
- Platform deprecation warnings in
Package.swift
in newer Xcode versions. Alamofire.podspec
after project restructuring.- Various documentation typos.
- Fixed by JaewoongLee-swift, TaeHyun, and hugo-syn in various Pull Requests.
5.8.0
Released on 2023-08-31. All issues associated with this milestone can be found using this filter.
Added
- visionOS support.
- Hooks for initial
HTTPURLResponse
values. - Android build support.
- Added by Hugo Gonzalez in Pull Request #3744.
Updated
- Async integration to obey automatic cancellation by default.
- Platform
#if
checks. - Windows CI.
- Updated by Saleem Abdulrasool in Pull Request #3763.
URL
conversion tests for 2023URL
changes.- for-loop to
contains
.- Updated by Mayank Kumar Gupta in Pull Request #3726.
Fixed
5.7.0
Released on 2023-05-09. All issues associated with this milestone can be found using this filter.
Added
- Request body compression support. This is disabled by default.
ArrayEncoding.custom
toURLEncodedFormEncoder
andURLEncoding
.- Added by Mike Naquin in Pull Request #3699.
KeyPathEncoding
toURLEncodedFormEncoder
.NilEncoding
toURLEncodedFormEncoder
.
Updated
- Alamofire now requires Swift 5.5+ and (macOS 10.13, iOS 11, tvOS 11, and watchOS 4)+.
flatMap
tomap
inHTTPHeaders
.- Various CI integrations.
Fixed
5.6.4
Released on 2022-11-21. All issues associated with this milestone can be found using this filter.
Fixed
- Deprecated OS version support in Swift 5.7 SPM Package.
- Fixed by Guglielmo Faglioni in Pull Request #3665.
New Contributors
- @guidev made their first contribution in https://github.com/Alamofire/Alamofire/pull/3665
Full Changelog: https://github.com/Alamofire/Alamofire/compare/5.6.3...5.6.4
5.6.3
Released on 2022-11-20. All issues associated with this milestone can be found using this filter.
Updated
Fixed
- Calls to deprecated cancellation handler function.
- Fixed by Sven Münnich in Pull Request #3641.
- Unnecessary protocol conformance on Combine publishers.
- Fixed by MoonkiKim(김문기) in Pull Request #3641.
- Don't attempt retry when
Request
has already been cancelled.
New Contributors
- @tedKim5178 made their first contribution in https://github.com/Alamofire/Alamofire/pull/3650
- @svenmuennich made their first contribution in https://github.com/Alamofire/Alamofire/pull/3657
Full Changelog: https://github.com/Alamofire/Alamofire/compare/5.6.2...5.6.3