Changelog History
Page 4
-
v5.0.0-beta.2 Changes
February 07, 2019Released on 2019-01-07. All issues associated with this milestone can be found using this filter. Note: Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.
β Added
- π Support for controlling redirect behavior per
Session
and perRequest
using theRedirectHandler
protocol.- Added by Christian Noon in Pull Request #2699.
- π Support for controlling cached response behavior per
Session
and perRequest
using theCachedResponseHandler
protocol.- Added by Christian Noon in Pull Request #2701.
- π Support for controlling retry behavior per
Session
and perRequest
using theRequestInterceptor
protocol.- Added by Christian Noon in Pull Request #2704 in regards to Issue #2241.
- The
Adapter
,Retrier
, andInterceptor
types to provide fine grained control of retry behavior.- Added by Christian Noon in Pull Request #2704.
- π Support for exponential backoff retry policies through the new
RetryPolicy
andConnectionLostRetryPolicy
types.- Added by Christian Noon in Pull Request #2704.
β‘οΈ Updated
- The
RequestRetrier
protocol to take aRetryResult
in thecompletion
closure allowing custom retry errors to be thrown.- Updated by Christian Noon in Pull Request #2704.
- The
Hashable
implementation onRequest
to use newhash(into:)
API.- Updated by Jeff Kelley in Pull Request #2696.
- π Support for controlling redirect behavior per
-
v5.0.0-beta.1 Changes
December 07, 2018Released on 2018-12-06. All issues associated with this milestone can be found using this filter. Note: Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.
β Added
- π Support for
Decodable
response serialization withresponseDecodable
. - π Support for Brotli
Content-Encoding
in Alamofire's default headers. HTTPHeaders
type and convenience APIs.- π Support for
Encodable
parameter types withJSONParameterEncoder
andURLEncodedFormParameterEncoder
. - Customizable empty response handling in response serializers.
EventMonitor
protocol, to tap in to internal Alamofire lifetime events.ServerTrustFailureReason
toAFError
.- Asynchronous request creation.
β‘οΈ Updated
ResponseSerializer
and associated protocols' requirements and implementations.RequestAdapter
to allow for asynchronous adaptation.SessionManager
toSession
, with rewritten implementation and API.Request
,DataRequest
,UploadRequest
, andDownloadRequest
with rewritten implementation and API.- Top level
request
API to be inside a realAF
namespace enum rather than unnecessaryAlamofire.
usage.
β Removed
- π Support for iOS < 10, macOS < 10.12, tvOS < 10, watchOS < 3.
- π Support for
PropertyListSerialization
andresponsePropertyList
. - π Support for
URLSessionStreamTask
. - Closure override and customization API.
Timeline
type, as Alamofire now gathersURLSessionTaskMetrics
for every request.
- π Support for
-
v5.0.0.beta Changes
December 07, 2018Released on 2018-12-06. All issues associated with this milestone can be found using this filter. Note: Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.
β Added
- π Support for
Decodable
response serialization withresponseDecodable
. - π Support for Brotli
Content-Encoding
in Alamofire's default headers. HTTPHeaders
type and convenience APIs.- π Support for
Encodable
parameter types withJSONParameterEncoder
andURLEncodedFormParameterEncoder
. - Customizable empty reponse handling in response serializers.
EventMonitor
protocol, to tap in to internal Alamofire lifetime events.ServerTrustFailureReason
toAFError
.- Asynchronous request creation.
β‘οΈ Updated
ResponseSerializer
and associated protocols' requirements and implementations.RequestAdapter
to allow for asynchronous adaptation.SessionManager
toSession
, with rewritten implementation and API.Request
,DataRequest
,UploadRequest
, andDownloadRequest
with rewritten implementation and API.- Top level
request
API to be inside a realAF
namespace enum rather than unnecessaryAlamofire.
usage.
β Removed
- π Support for iOS < 10, macOS < 10.12, tvOS < 10, watchOS < 3.
- π Support for
PropertyListSerialization
andresponsePropertyList
. - π Support for
URLSessionStreamTask
. - Closure override and customization API.
Timeline
type, as Alamofire now gathersURLSessionTaskMetrics
for every request.
- π Support for
-
v4.9.1 Changes
October 26, 2019π Released on 2019-10-26. All issues associated with this milestone can be found using this filter.
β Added
β‘οΈ Updated
DataResponse
andDownloadResponse
debugDescription
to include more useful information.
π Fixed
-
v4.9.0 Changes
September 04, 2019π Released on 2019-09-03. All issues associated with this milestone can be found using this filter.
β Added
- API to cancel
DownloadRequest
s without producing resume data.
β‘οΈ Updated
- Bundle identifiers to include the platform name, fixing ITMS-90806.
π Fixed
- API to cancel
-
v4.8.2 Changes
March 27, 2019π Released on 2019-03-27. All issues associated with this milestone can be found using this filter.
π Fixed
β‘οΈ Updated
- Project for compatability with Xcode 10.2.
- MultipartFormData to have a mutable boundary.
- Updated by Ondrej Stocek in Pull Request #2705.
-
v4.8.1 Changes
January 15, 2019π Released on 2019-01-15. All issues associated with this milestone can be found using this filter.
π Fixed
- Issue where the network reachability listener closure was not being called immediately when launching an app in airplane mode.
- Fixed by Christian Noon in Pull Request #2688 regards to Issues #2275 and #2677.
- Issue where the network reachability listener closure was not being called immediately when launching an app in airplane mode.
-
v4.8.0 Changes
π Released on 2018-11-24. All issues associated with this milestone can be found using this filter.
β Added
- Optional encoding completion callback queue for multipart upload.
- Added by jaltreuter in Pull Request #2620.
- π Versioned Swift package manifests.
- Added by Wanbok Choi (Wayne) in Pull Request #2621 and Jon Shier in Pull Request #2648.
β‘οΈ Updated
- Project Swift version to 4.
- Various
Result
methods to bethrow
/rethrows
.- Updated by StΓ©phane Copin in Pull Request #2488.
- cURL representation implementation readability.
- Optional encoding completion callback queue for multipart upload.
-
v4.7.3 Changes
π Released on 2018-7-8. All issues associated with this milestone can be found using this filter.
β‘οΈ Updated
-
v4.7.2 Changes
π Released on 2018-4-15. All issues associated with this milestone can be found using this filter.
π Fixed
- Leak of
Requests
after retry.- Fixed by Artem Shimankski in Pull Request #2412.
- Leak of