diff --git a/Alamofire.podspec b/Alamofire.podspec index 3c4c5729d..818ff9f5c 100644 --- a/Alamofire.podspec +++ b/Alamofire.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Alamofire' - s.version = '5.0.0-beta.5' + s.version = '5.0.0-beta.6' s.license = 'MIT' s.summary = 'Elegant HTTP Networking in Swift' s.homepage = 'https://github.com/Alamofire/Alamofire' @@ -17,6 +17,6 @@ Pod::Spec.new do |s| s.swift_version = '5.0' s.source_files = 'Source/*.swift' - + s.frameworks = 'CFNetwork' end diff --git a/CHANGELOG.md b/CHANGELOG.md index 705b5440d..d626b9800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. `Alamofire` adheres to [Semantic Versioning](https://semver.org/). #### 5.x Releases -- `5.0.0` Betas - [5.0.0-beta.1](#500-beta1) | [5.0.0-beta.2](#500-beta2) | [5.0.0-beta.3](#500-beta3) | [5.0.0-beta.4](#500-beta4) | [5.0.0-beta.5](#500-beta5) +- `5.0.0` Betas - [5.0.0-beta.1](#500-beta1) | [5.0.0-beta.2](#500-beta2) | [5.0.0-beta.3](#500-beta3) | [5.0.0-beta.4](#500-beta4) | [5.0.0-beta.5](#500-beta5) | [5.0.0-beta.6](#500-beta6) #### 4.x Releases - `4.8.x` Releases - [4.8.0](#480) | [4.8.1](#481) @@ -38,6 +38,23 @@ All notable changes to this project will be documented in this file. --- +## [5.0.0-beta.6](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.6) +Released on 2019-04-23. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/milestone/56?closed=1). **Note:** Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released. + +#### Updated +- `ServerTrustEvaluation` logic by simplifying public key equality checks for `SecKey` types. + - Updated by [Aleksandar Vacić](https://github.com/radianttap) in Pull Request [#2800](https://github.com/Alamofire/Alamofire/pull/2800). +- `Request.State` access to lock access and task updates using internal locking API. + - Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2814](https://github.com/Alamofire/Alamofire/pull/2814). + +#### Fixed +- Issues in `DownloadRequest` where some events were being duplicated and some were missing. + - Fixed by [Jon Shier](https://github.com/jshier) in Pull Request [#2807](https://github.com/Alamofire/Alamofire/pull/2807). +- Issue with AppStore submissions where the pre-release version in the bundle short versions string was being rejected when built with Carthage or as a submodule. + - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2808](https://github.com/Alamofire/Alamofire/pull/2808). +- Issue where response serializer completions were not called when appended to a completed `Request`. + - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2810](https://github.com/Alamofire/Alamofire/pull/2810). + ## [5.0.0-beta.5](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.5) Released on 2019-04-12. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/milestone/55). **Note:** Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released. @@ -116,7 +133,7 @@ Released on 2019-01-07. All issues associated with this milestone can be found u - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2713](https://github.com/Alamofire/Alamofire/pull/2713). - Alamofire's `didResume` notification to `didFinish`, which is now called when a `Request` finished, not when tasks resume. - Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2728](https://github.com/Alamofire/Alamofire/pull/2728). - + #### Fixed - `Request`s not finishing when their controlling `Session` is `deinit`d or invalidated. - Fixed by [Jon Shier](https://github.com/jshier) in Pull Request [#2728](https://github.com/Alamofire/Alamofire/pull/2728). @@ -167,10 +184,10 @@ Released on 2018-12-06. All issues associated with this milestone can be found u - `EventMonitor` protocol, to tap in to internal Alamofire lifetime events. - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521). - `ServerTrustFailureReason` to `AFError`. - - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2608](https://github.com/Alamofire/Alamofire/pull/2608). + - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2608](https://github.com/Alamofire/Alamofire/pull/2608). - Asynchronous request creation. - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521). - + #### Updated - `ResponseSerializer` and associated protocols' requirements and implementations. - Updated by [Jon Shier](https://github.com/jshier) in Pull Requests [#2265](https://github.com/Alamofire/Alamofire/pull/2265) and [#2639](https://github.com/Alamofire/Alamofire/pull/2639). @@ -214,7 +231,7 @@ Released on 2018-11-24. All issues associated with this milestone can be found u - Added by [Wanbok Choi (Wayne)](https://github.com/wanbok) in Pull Request [#2621](https://github.com/Alamofire/Alamofire/pull/2621) and [Jon Shier](https://github.com/jshier) in Pull Request [#2648](https://github.com/Alamofire/Alamofire/pull/2648). #### Updated -- Project Swift version to 4. +- Project Swift version to 4. - Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2648](https://github.com/Alamofire/Alamofire/pull/2648). - Various `Result` methods to be `throw`/`rethrows`. - Updated by [Stéphane Copin](https://github.com/stephanecopin) in Pull Request [#2488](https://github.com/Alamofire/Alamofire/pull/2488). @@ -283,9 +300,9 @@ Released on 2017-12-3. All issues associated with this milestone can be found us - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2361](https://github.com/Alamofire/Alamofire/pull/2361). - Separation of Usage and Advanced Usage docs from README. - - Added by [Jon Shier](https://github.com/jshier) in Pull Request + - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2360](https://github.com/Alamofire/Alamofire/pull/2360). - + #### Updated - Travis CI and Ruby dependencies. - Updated by [Jon Shier](https://github.com/jshier) in Pull Requests @@ -293,7 +310,7 @@ Released on 2017-12-3. All issues associated with this milestone can be found us - Swift Package Manager instructions. - Updated by [Ryosuke Hayashi](https://github.com/hayashikun) in Pull Request [#2341](https://github.com/Alamofire/Alamofire/pull/2341). - + #### Fixed - `#session-manager` link in Advanced Usage docs. - Fixed by [Naeem Shaikh](https://github.com/naeemshaikh90) in Pull Request @@ -443,7 +460,7 @@ Released on 2017-02-26. All issues associated with this milestone can be found u - Typo in the README in the Swift Package Manager section. - Fixed by [Sebastian Limbach](https://github.com/bastilimbach) in Pull Request [#1918](https://github.com/Alamofire/Alamofire/pull/1918). -- Issue in the "Modifying the Session Configuration" example code of the README where the +- Issue in the "Modifying the Session Configuration" example code of the README where the `defaultHTTPHeaders` property was called incorrectly. - Fixed by [Artur Antonov](https://github.com/goingreen) in Pull Request [#1927](https://github.com/Alamofire/Alamofire/pull/1927). @@ -453,7 +470,7 @@ Released on 2017-02-26. All issues associated with this milestone can be found u - Issue in the README where the POST request with parameters example was using the wrong method. - Fixed by [Pablo Bartolome](https://github.com/pbartolome) in Pull Request [#1984](https://github.com/Alamofire/Alamofire/pull/1984). -- Issue where `taskDidComplete` override closure was not calling task delegate leading to +- Issue where `taskDidComplete` override closure was not calling task delegate leading to potential memory leaks. - Fixed by [Jon Shier](https://github.com/jshier) in regards to Issue [#1938](https://github.com/Alamofire/Alamofire/pull/1938). @@ -784,7 +801,7 @@ Released on 2016-09-11. All issues associated with this milestone can be found u - `BaseTestCase` to delete contents of common directories at the start of each test. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#1457](https://github.com/Alamofire/Alamofire/pull/1457). -- Response handler extensions by moving them into `DataRequest` and added equivalents +- Response handler extensions by moving them into `DataRequest` and added equivalents for `DownloadRequest`. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#1457](https://github.com/Alamofire/Alamofire/pull/1457). @@ -891,8 +908,8 @@ Released on 2016-08-28. All issues associated with this milestone can be found u #### Updated - All source, test and example logic as well as project settings to compile against the Xcode 8 beta releases. - - Updated by [Kevin Harwood](https://github.com/kcharwood), - [Jon Shier](https://github.com/jshier) and + - Updated by [Kevin Harwood](https://github.com/kcharwood), + [Jon Shier](https://github.com/jshier) and [Christian Noon](https://github.com/cnoon). - Deployment targets to iOS 9.0, macOS 10.11, tvOS 9.0 and watchOS 2.0. - Updated by [Christian Noon](https://github.com/cnoon). @@ -957,8 +974,8 @@ Released on 2016-09-07. All issues associated with this milestone can be found u [#1452](https://github.com/Alamofire/Alamofire/issues/1452). - All source, test and example logic as well as project settings to compile against Xcode 7 and 8 against Swift 2.2 or 2.3 respectively. - - Updated by [Kevin Harwood](https://github.com/kcharwood), - [Jon Shier](https://github.com/jshier) and + - Updated by [Kevin Harwood](https://github.com/kcharwood), + [Jon Shier](https://github.com/jshier) and [Christian Noon](https://github.com/cnoon). - The Travis CI yaml file to support both Xcode 7.3 and 8 simultaneously. - Updated by [Christian Noon](https://github.com/cnoon). @@ -1063,7 +1080,7 @@ Released on 2016-05-08. All issues associated with this milestone can be found u - The `SesionDelegate` to no longer be `final` to allow subclassing. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#1172](https://github.com/Alamofire/Alamofire/issues/1172) in regards to Issue - [#1145](https://github.com/Alamofire/Alamofire/issues/1145). + [#1145](https://github.com/Alamofire/Alamofire/issues/1145). - The `SessionDelegate` subscript public to allow full control when subclassing. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#1172](https://github.com/Alamofire/Alamofire/issues/1172). @@ -1197,7 +1214,7 @@ Released on 2016-02-07. All issues associated with this milestone can be found u [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.2.0). #### Added -- Notifications that post when an `NSURLSessionTask` changes state to allow support for the +- Notifications that post when an `NSURLSessionTask` changes state to allow support for the network activity indicator. - Added by [Christian Noon](https://github.com/cnoon). - `Timeline` struct to capture timings throughout the lifecycle of a `Request`. @@ -1270,7 +1287,7 @@ Released on 2015-12-16. All issues associated with this milestone can be found u [#955](https://github.com/Alamofire/Alamofire/pull/955). - `ParameterEncoding` to early out when passed an empty parameters dictionary. - Updated by [Anthony Miller](https://github.com/AnthonyMDev) in Pull Request - [#954](https://github.com/Alamofire/Alamofire/pull/954). + [#954](https://github.com/Alamofire/Alamofire/pull/954). - The `certificatesInBundle` to support `cer`, `crt` and `der` extensions. - Updated by [Jacob Jennings](https://github.com/jacobjennings) in Pull Request [#956](https://github.com/Alamofire/Alamofire/pull/956). @@ -1477,7 +1494,7 @@ conforms to `ErrorType`. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#791](https://github.com/Alamofire/Alamofire/pull/791). - All response serializers to use the new `Response` type. - - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request - + - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request - [#792](https://github.com/Alamofire/Alamofire/pull/792). - The designated initializer for a `Manager` to accept a `SessionDelegate` parameter allowing dependency injection for better background session support. @@ -1504,7 +1521,7 @@ Released on 2015-09-20. All issues associated with this milestone can be found u [#206](https://github.com/Alamofire/Alamofire/issues/206). ## [2.0.1](https://github.com/Alamofire/Alamofire/releases/tag/2.0.1) -Released on 2015-09-16. All issues associated with this milestone can be found using this +Released on 2015-09-16. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.1). #### Updated @@ -1523,7 +1540,7 @@ Released on 2015-09-16. All issues associated with this milestone can be found u [#721](https://github.com/Alamofire/Alamofire/pull/721). ## [2.0.0](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0) -Released on 2015-09-09. All issues associated with this milestone can be found using this +Released on 2015-09-09. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0). #### Added @@ -1534,7 +1551,7 @@ Released on 2015-09-09. All issues associated with this milestone can be found u --- ## [2.0.0-beta.4](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4) -Released on 2015-09-06. All issues associated with this milestone can be found using this +Released on 2015-09-06. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.4). #### Added @@ -1604,7 +1621,7 @@ conformance that could cause unwanted URL request referencing. - Removed by [Christian Noon](https://github.com/cnoon). ## [2.0.0-beta.2](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2) -Released on 2015-08-24. All issues associated with this milestone can be found using this +Released on 2015-08-24. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.2). #### Added @@ -1660,7 +1677,7 @@ in the test suite. [#693](https://github.com/Alamofire/Alamofire/issues/693). ## [2.0.0-beta.1](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.1) -Released on 2015-08-10. All issues associated with this milestone can be found using this +Released on 2015-08-10. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.1). #### Added @@ -1762,7 +1779,7 @@ better support `.Custom` encoding. --- ## [1.3.1](https://github.com/Alamofire/Alamofire/releases/tag/1.3.1) -Released on 2015-08-10. All issues associated with this milestone can be found using this +Released on 2015-08-10. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.3.1). #### Fixed @@ -1772,7 +1789,7 @@ task override closure was set. [#622](https://github.com/Alamofire/Alamofire/issues/622). ## [1.3.0](https://github.com/Alamofire/Alamofire/releases/tag/1.3.0) -Released on 2015-07-24. All issues associated with this milestone can be found using this +Released on 2015-07-24. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.3.0). #### Added @@ -1903,7 +1920,7 @@ much more powerful form of response serialization. --- ## [1.2.3](https://github.com/Alamofire/Alamofire/releases/tag/1.2.3) -Released on 2015-06-12. All issues associated with this milestone can be found using this +Released on 2015-06-12. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.2.3). #### Added @@ -1966,7 +1983,7 @@ Released on 2015-06-12. All issues associated with this milestone can be found u [#516](https://github.com/Alamofire/Alamofire/pull/516). ## [1.2.2](https://github.com/Alamofire/Alamofire/releases/tag/1.2.2) -Released on 2015-05-13. All issues associated with this milestone can be found using this +Released on 2015-05-13. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.2.2). #### Added @@ -2061,7 +2078,7 @@ Released on 2015-04-09. test. - Added by [Mattt Thompson](https://github.com/mattt) in regards to Issue [#370](https://github.com/Alamofire/Alamofire/pull/370). -- New `backgroundCompletionHandler` property to the `Manager` called when the +- New `backgroundCompletionHandler` property to the `Manager` called when the session background tasks finish. - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#317](https://github.com/Alamofire/Alamofire/pull/317). @@ -2088,9 +2105,9 @@ per the HTTP/1.1 specification. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#317](https://github.com/Alamofire/Alamofire/pull/317). - `SessionDelegate` class to `final`. - - Updated by [Mattt Thompson](https://github.com/mattt). + - Updated by [Mattt Thompson](https://github.com/mattt). - `SessionDelegate` header documentation for method override properties. - - Updated by [Mattt Thompson](https://github.com/mattt). + - Updated by [Mattt Thompson](https://github.com/mattt). - Xcode project to set `APPLICATION_EXTENSION_API_ONLY` to `YES` for OS X target. - Updated by [Mattt Thompson](https://github.com/mattt). @@ -2139,7 +2156,7 @@ Released on 2015-03-26. - Ono XML response serializer example in the README. - Updated by [Mattt Thompson](https://github.com/mattt). - Travis-CI settings to only build the master branch. - - Updated by [Mattt Thompson](https://github.com/mattt). + - Updated by [Mattt Thompson](https://github.com/mattt). - Code signing identities for the frameworks and targets to better support Carthage. - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#400](https://github.com/Alamofire/Alamofire/pull/400). @@ -2202,7 +2219,7 @@ Embedded Frameworks. - Spec validation error with CocoaPods 0.36.0.beta-1 by disabling -b flags in `cURL` debug on OSX. - Fixed by [Mattt Thompson](https://github.com/mattt). -- Travis-CI build issue by adding suppport for an `iOS Example` scheme. +- Travis-CI build issue by adding suppport for an `iOS Example` scheme. - Fixed by [Yasuharu Ozaki](https://github.com/yasuoza) in Pull Request [#322](https://github.com/Alamofire/Alamofire/pull/322). @@ -2354,7 +2371,7 @@ Released on 2014-10-20. - Response handler threading issue by adding a `subdelegateQueue` to the `SessionDelegate`. - Fixed by [Essan Parto](https://github.com/parto) in Pull Request [#171](https://github.com/Alamofire/Alamofire/pull/171). -- Challenge issue where basic auth credentials were not being unwrapped. +- Challenge issue where basic auth credentials were not being unwrapped. - Fixed by [Mattt Thompson](https://github.com/mattt). ## [1.0.0](https://github.com/Alamofire/Alamofire/releases/tag/1.0.0) diff --git a/docs/Classes.html b/docs/Classes.html index 94749fa1f..9d80a8791 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -1454,7 +1454,7 @@