Alamofire/Alamofire
 Watch   
 Star   
 Fork   
15 days ago
Alamofire

5.10.1

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

Fixed

  • @Sendable in AdaptHandler and RetryHandler types.
  • Downstream JSONResponseSerializer wrapper by reverting output type to just Any.
  • Missing @Sendable on Authenticator.refresh.
21 days ago
Alamofire

5.10.0

Added

  • 🔥 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.

Updated

  • 🔥 Session.init(... eventMonitors:) to allow no EventMonitors at all, and CompositeEventMonitor to fix thread-safety. Potentially breaking if previously passing [] but still expecting Notifications to be posted. Pass [AlamofireNotifications()] if you need that behavior.
  • DownloadRequest.validate to read the fileSize rather than the whole file from disk.
  • Links to swiftlang repositories.

Fixed

  • Various documentation typos.
  • Passing queue parameter to DataStream serializers.
  • testThatDatesCanBeEncodedAsFormatted when running with a non-Gregorian calendar.
2024-03-31 09:21:38
Alamofire

5.9.1

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.
2024-03-04 10:17:59
Alamofire

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 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.
2023-10-27 03:47:55
Alamofire

5.8.1

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.
2023-09-01 06:50:52
Alamofire

5.8.0

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.
2023-05-10 23:59:02
Alamofire

5.7.1

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)+
2023-05-10 06:58:41
Alamofire

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 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.
2022-11-22 11:23:08
Alamofire

5.6.4

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

2022-11-21 12:41:19
Alamofire

5.6.3

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