Skip to content

Releases: Alamofire/Alamofire

5.9.1

31 Mar 01:22
f455c29
Compare
Choose a tag to compare

Released on 2024-03-30. All issues associated with this milestone can be found using this filter.

Updated

  • HTTPHeaders and HTTPHeader to be Sendable.
  • HTTPMethod to be Sendable.

Fixed

  • CocoaPods visionOS support by explicitly declaring it in podspec.

5.9.0

04 Mar 02:19
723fa5a
Compare
Choose a tag to compare

Released on 2024-03-03. All issues associated with this milestone can be found using this filter.

Added

  • [🔥 Experimental 🔥] WebSocketRequest, as a wrapper for URLSessionWebSocketTask. 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.
  • AlamofireDynamic target, to force dynamic linking in Xcode when using SPM. Only use when you know you need it.
  • AFInfo enum and a public version 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 various Request subclasses into their own files.
  • Empty type to be Sendable.
  • .swiftformat to remove duplicate rules.

Fixed

  • Platform deprecation warnings in Package.swift in newer Xcode versions.
  • Alamofire.podspec after project restructuring.
  • Various documentation typos.

5.8.1

26 Oct 19:49
3dc6a42
Compare
Choose a tag to compare

Released on 2023-10-26. All issues associated with this milestone can be found using this filter.

Updated

  • Internal: Protected to no longer be a @propertyWrapper.

Fixed

  • URLEncodedFormEncoder encoding of Encodable values with optional properties using encodeIfPresent.
  • Missing "Skip Install" setting for visionOS target.

5.8.0

31 Aug 22:52
b2fa556
Compare
Choose a tag to compare

Released on 2023-08-31. All issues associated with this milestone can be found using this filter.

Added

Updated

Fixed

  • MultipartFormData stream to properly obey bodyContentLength.
  • Unnecessary call to empty init.
  • Documentation typos.

5.7.1

10 May 16:00
bc268c2
Compare
Choose a tag to compare

Released on 2023-05-10. All issues associated with this milestone can be found using this filter.

Updated

  • Deployment targets reverted to (macOS 10.12, iOS 10, tvOS 10, and watchOS 3)+

5.7.0

09 May 23:00
1342183
Compare
Choose a tag to compare

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 to URLEncodedFormEncoder and URLEncoding.
  • KeyPathEncoding to URLEncodedFormEncoder.
  • NilEncoding to URLEncodedFormEncoder.

Updated

  • Alamofire now requires Swift 5.5+ and (macOS 10.13, iOS 11, tvOS 11, and watchOS 4)+.
  • flatMap to map in HTTPHeaders.
  • Various CI integrations.

Fixed

  • Reachability API usage safety.
  • Unused bufferingPolicy in StreamOf.
  • Various documentation typos.

5.6.4

22 Nov 03:23
78424be
Compare
Choose a tag to compare

Released on 2022-11-21. All issues associated with this milestone can be found using this filter.

Fixed

New Contributors

Full Changelog: 5.6.3...5.6.4

5.6.3

21 Nov 04:42
f512df4
Compare
Choose a tag to compare

Released on 2022-11-20. All issues associated with this milestone can be found using this filter.

Updated

  • Swift package to 5.7, CI to Xcode 14.1.

Fixed

  • Calls to deprecated cancellation handler function.
  • Unnecessary protocol conformance on Combine publishers.
  • Don't attempt retry when Request has already been cancelled.

New Contributors

Full Changelog: 5.6.2...5.6.3

Safer Encoding

18 Jul 02:25
8dd85ae
Compare
Choose a tag to compare

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 through JSONSerialization.

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

Missing Cancellation Parameter

17 Apr 20:22
354dda3
Compare
Choose a tag to compare

Released on 2022-04-17. All issues associated with this milestone can be found using this filter.

Fixed

  • Missing automaticallyCancelling parameter in serializingDownloadedFileURL.