Alamofire Versions Save

Elegant HTTP Networking in Swift

5.9.1

3 weeks ago

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

1 month ago

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

5 months ago

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

7 months ago

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

11 months ago

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

11 months ago

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

1 year ago

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

Fixed

New Contributors

Full Changelog: https://github.com/Alamofire/Alamofire/compare/5.6.3...5.6.4

5.6.3

1 year ago

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: https://github.com/Alamofire/Alamofire/compare/5.6.2...5.6.3

5.6.2

1 year ago

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

5.6.1

2 years ago

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

Fixed

  • Missing automaticallyCancelling parameter in serializingDownloadedFileURL.