Releases: Alamofire/Alamofire
5.9.1
Released on 2024-03-30. All issues associated with this milestone can be found using this filter.
Updated
HTTPHeaders
andHTTPHeader
to beSendable
.HTTPMethod
to beSendable
.
Fixed
- 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.
Added
- [🔥 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
.
Updated
- 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.
Fixed
- 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.1
Released on 2023-10-26. All issues associated with this milestone can be found using this filter.
Updated
Fixed
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.1
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
Full Changelog: 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 #3657.
- Unnecessary protocol conformance on Combine publishers.
- Fixed by MoonkiKim(김문기) in Pull Request #3650.
- Don't attempt retry when
Request
has already been cancelled.
New Contributors
- @tedKim5178 made their first contribution in #3650
- @svenmuennich made their first contribution in #3657
Full Changelog: 5.6.2...5.6.3
Safer Encoding
Released on 2022-07-17. All issues associated with this milestone can be found using this filter.
Added
- Error when object provided to
JSONEcoding
contains values that can't be passed throughJSONSerialization
.
Updated
- CI support for all supported Xcode, macOS, and Linux versions.
- Support for various Xcode versions.
Cache-Control
header tests to not require hard-coded delays.
Fixed
- Swift version check for
SecTrustCopyCertificateChain
. - Various documentation issues.
- Fixed by Jacob Lange, rain2540, bondxf, Ikko Ashimine, and Elon Park in various Pull Requests.