From bfb9f132cdfa1033bea847e4cf9cfde4fee254e3 Mon Sep 17 00:00:00 2001
From: Jon Shier
Date: Mon, 5 Mar 2018 00:22:16 -0500
Subject: [PATCH] Update for 4.7 release.
---
Alamofire.podspec | 2 +-
Alamofire.xcodeproj/project.pbxproj | 4 +-
CHANGELOG.md | 24 ++
Gemfile.lock | 4 +-
LICENSE | 2 +-
README.md | 4 +-
Source/Info-tvOS.plist | 2 +-
Source/Info.plist | 2 +-
docs/Classes.html | 34 +-
docs/Classes/DataRequest.html | 52 ++-
docs/Classes/DownloadRequest.html | 60 +--
.../DownloadRequest/DownloadOptions.html | 22 +-
docs/Classes/MultipartFormData.html | 40 +-
docs/Classes/NetworkReachabilityManager.html | 94 ++++-
.../ConnectionType.html | 18 +-
.../NetworkReachabilityStatus.html | 20 +-
docs/Classes/Request.html | 54 +--
docs/Classes/Request/ValidationResult.html | 18 +-
docs/Classes/ServerTrustPolicyManager.html | 20 +-
docs/Classes/SessionDelegate.html | 110 ++---
docs/Classes/SessionManager.html | 68 +--
.../MultipartFormDataEncodingResult.html | 18 +-
docs/Classes/TaskDelegate.html | 20 +-
docs/Classes/UploadRequest.html | 20 +-
docs/Enums.html | 20 +-
docs/Enums/AFError.html | 58 +--
.../MultipartEncodingFailureReason.html | 40 +-
.../ParameterEncodingFailureReason.html | 20 +-
.../ResponseSerializationFailureReason.html | 28 +-
.../ResponseValidationFailureReason.html | 24 +-
docs/Enums/HTTPMethod.html | 32 +-
docs/Enums/Result.html | 110 ++---
docs/Enums/ServerTrustPolicy.html | 32 +-
docs/Extensions.html | 18 +-
docs/Extensions/Notification.html | 14 +-
docs/Extensions/Notification/Key.html | 43 +-
docs/Extensions/Notification/Name.html | 14 +-
docs/Extensions/Notification/Name/Task.html | 22 +-
docs/Extensions/String.html | 16 +-
docs/Extensions/URL.html | 16 +-
docs/Extensions/URLComponents.html | 16 +-
docs/Extensions/URLRequest.html | 16 +-
docs/Functions.html | 44 +-
docs/Protocols.html | 26 +-
.../DataResponseSerializerProtocol.html | 18 +-
.../DownloadResponseSerializerProtocol.html | 18 +-
docs/Protocols/ParameterEncoding.html | 16 +-
docs/Protocols/RequestAdapter.html | 16 +-
docs/Protocols/RequestRetrier.html | 16 +-
docs/Protocols/URLConvertible.html | 16 +-
docs/Protocols/URLRequestConvertible.html | 18 +-
docs/Structs.html | 44 +-
docs/Structs/DataResponse.html | 68 +--
docs/Structs/DataResponseSerializer.html | 20 +-
docs/Structs/DefaultDataResponse.html | 28 +-
docs/Structs/DefaultDownloadResponse.html | 32 +-
docs/Structs/DownloadResponse.html | 72 ++--
docs/Structs/DownloadResponseSerializer.html | 20 +-
docs/Structs/JSONEncoding.html | 26 +-
docs/Structs/PropertyListEncoding.html | 28 +-
docs/Structs/Timeline.html | 36 +-
docs/Structs/URLEncoding.html | 197 ++++++++-
docs/Structs/URLEncoding/ArrayEncoding.html | 399 ++++++++++++++++++
docs/Structs/URLEncoding/BoolEncoding.html | 398 +++++++++++++++++
docs/Structs/URLEncoding/Destination.html | 20 +-
docs/Typealiases.html | 18 +-
docs/badge.svg | 4 +-
.../Contents/Resources/Documents/Classes.html | 34 +-
.../Documents/Classes/DataRequest.html | 52 ++-
.../Documents/Classes/DownloadRequest.html | 60 +--
.../DownloadRequest/DownloadOptions.html | 22 +-
.../Documents/Classes/MultipartFormData.html | 40 +-
.../Classes/NetworkReachabilityManager.html | 94 ++++-
.../ConnectionType.html | 18 +-
.../NetworkReachabilityStatus.html | 20 +-
.../Resources/Documents/Classes/Request.html | 54 +--
.../Classes/Request/ValidationResult.html | 18 +-
.../Classes/ServerTrustPolicyManager.html | 20 +-
.../Documents/Classes/SessionDelegate.html | 110 ++---
.../Documents/Classes/SessionManager.html | 68 +--
.../MultipartFormDataEncodingResult.html | 18 +-
.../Documents/Classes/TaskDelegate.html | 20 +-
.../Documents/Classes/UploadRequest.html | 20 +-
.../Contents/Resources/Documents/Enums.html | 20 +-
.../Resources/Documents/Enums/AFError.html | 58 +--
.../MultipartEncodingFailureReason.html | 40 +-
.../ParameterEncodingFailureReason.html | 20 +-
.../ResponseSerializationFailureReason.html | 28 +-
.../ResponseValidationFailureReason.html | 24 +-
.../Resources/Documents/Enums/HTTPMethod.html | 32 +-
.../Resources/Documents/Enums/Result.html | 110 ++---
.../Documents/Enums/ServerTrustPolicy.html | 32 +-
.../Resources/Documents/Extensions.html | 18 +-
.../Documents/Extensions/Notification.html | 14 +-
.../Extensions/Notification/Key.html | 43 +-
.../Extensions/Notification/Name.html | 14 +-
.../Extensions/Notification/Name/Task.html | 22 +-
.../Documents/Extensions/String.html | 16 +-
.../Resources/Documents/Extensions/URL.html | 16 +-
.../Documents/Extensions/URLComponents.html | 16 +-
.../Documents/Extensions/URLRequest.html | 16 +-
.../Resources/Documents/Functions.html | 44 +-
.../Resources/Documents/Protocols.html | 26 +-
.../DataResponseSerializerProtocol.html | 18 +-
.../DownloadResponseSerializerProtocol.html | 18 +-
.../Protocols/ParameterEncoding.html | 16 +-
.../Documents/Protocols/RequestAdapter.html | 16 +-
.../Documents/Protocols/RequestRetrier.html | 16 +-
.../Documents/Protocols/URLConvertible.html | 16 +-
.../Protocols/URLRequestConvertible.html | 18 +-
.../Contents/Resources/Documents/Structs.html | 44 +-
.../Documents/Structs/DataResponse.html | 68 +--
.../Structs/DataResponseSerializer.html | 20 +-
.../Structs/DefaultDataResponse.html | 28 +-
.../Structs/DefaultDownloadResponse.html | 32 +-
.../Documents/Structs/DownloadResponse.html | 72 ++--
.../Structs/DownloadResponseSerializer.html | 20 +-
.../Documents/Structs/JSONEncoding.html | 26 +-
.../Structs/PropertyListEncoding.html | 28 +-
.../Resources/Documents/Structs/Timeline.html | 36 +-
.../Documents/Structs/URLEncoding.html | 197 ++++++++-
.../Structs/URLEncoding/ArrayEncoding.html | 399 ++++++++++++++++++
.../Structs/URLEncoding/BoolEncoding.html | 398 +++++++++++++++++
.../Structs/URLEncoding/Destination.html | 20 +-
.../Resources/Documents/Typealiases.html | 18 +-
.../Contents/Resources/Documents/index.html | 47 ++-
.../Contents/Resources/Documents/search.json | 2 +-
.../Contents/Resources/docSet.dsidx | Bin 147456 -> 155648 bytes
docs/docsets/Alamofire.tgz | Bin 240039 -> 243046 bytes
docs/docsets/Alamofire.xml | 2 +-
docs/index.html | 47 ++-
docs/search.json | 2 +-
docs/undocumented.json | 48 ++-
133 files changed, 4308 insertions(+), 1490 deletions(-)
create mode 100644 docs/Structs/URLEncoding/ArrayEncoding.html
create mode 100644 docs/Structs/URLEncoding/BoolEncoding.html
create mode 100644 docs/docsets/Alamofire.docset/Contents/Resources/Documents/Structs/URLEncoding/ArrayEncoding.html
create mode 100644 docs/docsets/Alamofire.docset/Contents/Resources/Documents/Structs/URLEncoding/BoolEncoding.html
diff --git a/Alamofire.podspec b/Alamofire.podspec
index b612ec228..83f4f2051 100644
--- a/Alamofire.podspec
+++ b/Alamofire.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Alamofire'
- s.version = '4.6.0'
+ s.version = '4.7.0'
s.license = 'MIT'
s.summary = 'Elegant HTTP Networking in Swift'
s.homepage = 'https://github.com/Alamofire/Alamofire'
diff --git a/Alamofire.xcodeproj/project.pbxproj b/Alamofire.xcodeproj/project.pbxproj
index 0f41784b8..9fdce00a6 100644
--- a/Alamofire.xcodeproj/project.pbxproj
+++ b/Alamofire.xcodeproj/project.pbxproj
@@ -287,8 +287,8 @@
/* Begin PBXFileReference section */
312D1E0B1FC2551400E51FF1 /* Usage.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = Usage.md; path = Documentation/Usage.md; sourceTree = ""; };
312D1E0C1FC2551400E51FF1 /* AdvancedUsage.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = AdvancedUsage.md; path = Documentation/AdvancedUsage.md; sourceTree = ""; };
- 316250E41F00ABE900E207A6 /* ISSUE_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = ISSUE_TEMPLATE.md; sourceTree = ""; };
- 316250E51F00ACD000E207A6 /* PULL_REQUEST_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = PULL_REQUEST_TEMPLATE.md; sourceTree = ""; };
+ 316250E41F00ABE900E207A6 /* ISSUE_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = ISSUE_TEMPLATE.md; path = .github/ISSUE_TEMPLATE.md; sourceTree = ""; };
+ 316250E51F00ACD000E207A6 /* PULL_REQUEST_TEMPLATE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = PULL_REQUEST_TEMPLATE.md; path = .github/PULL_REQUEST_TEMPLATE.md; sourceTree = ""; };
31ED52E61D73889D00199085 /* AFError+AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AFError+AlamofireTests.swift"; sourceTree = ""; };
4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResponseSerializationTests.swift; sourceTree = ""; };
4C0B62501BB1001C009302D3 /* Response.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Response.swift; sourceTree = ""; };
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 31854b60e..848bb3879 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
`Alamofire` adheres to [Semantic Versioning](http://semver.org/).
#### 4.x Releases
+- `4.7.x` Releases - [4.7.0](#470)
- `4.6.x` Releases - [4.6.0](#460)
- `4.5.x` Releases - [4.5.0](#450) | [4.5.1](#451)
- `4.4.x` Releases - [4.4.0](#440)
@@ -32,6 +33,29 @@ All notable changes to this project will be documented in this file.
- `1.0.x` Releases - [1.0.0](#100) | [1.0.1](#101)
---
+## [4.7.0](https://github.com/Alamofire/Alamofire/releases/tag/4.7.0)
+Released on 2018-3-5. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A4.7.0).
+
+#### Added
+- Open accessibility to `NetworkReachabilityManager`
+ - Added by [Pär Strindevall](https://github.com/parski) in Pull Request [#2393](https://github.com/Alamofire/Alamofire/pull/2393).
+- Configurable parameter encodding for `URLEncoding`
+ - Added by [Morten Heiberg](https://github.com/heiberg) in Pull Request [#2431](https://github.com/Alamofire/Alamofire/pull/2431).
+- Response `Data` to `.DidComplete` notification.
+ - Added by [Sven Driemecker](https://github.com/svendr) in Pull Request [#2427](https://github.com/Alamofire/Alamofire/pull/2427).
+- Radar link for `URLSessionTaskMetrics` bug on watchOS.
+ - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#2387](https://github.com/Alamofire/Alamofire/pull/2387).
+
+#### Updated
+- Project for Xcode 9.3 and Swift 4.1.
+ - Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2441](https://github.com/Alamofire/Alamofire/pull/2441).
+- OS versions affected by resume data bug.
+ - Updated by [Aaron Brager](https://github.com/getaaron) in Pull Request [#2389](https://github.com/Alamofire/Alamofire/pull/2389).
+
+#### Fixed
+- Typos in `ResultTests`.
+ - Fixed by [Aleph Retamal](https://github.com/alaphao) in Pull Request [#2416](https://github.com/Alamofire/Alamofire/pull/2416)
+
## [4.6.0](https://github.com/Alamofire/Alamofire/releases/tag/4.6.0)
Released on 2017-12-3. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A4.6.0).
diff --git a/Gemfile.lock b/Gemfile.lock
index 4ed2b0f6c..c19ae15d4 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -45,7 +45,7 @@ GEM
colored2 (3.1.2)
concurrent-ruby (1.0.5)
escape (0.0.4)
- ffi (1.9.21)
+ ffi (1.9.23)
fourflusher (2.0.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.2)
@@ -68,7 +68,7 @@ GEM
nap (1.1.0)
netrc (0.11.0)
open4 (1.3.4)
- rb-fsevent (0.10.2)
+ rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
redcarpet (3.4.0)
diff --git a/LICENSE b/LICENSE
index 165460275..2ec3cb14f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2014-2017 Alamofire Software Foundation (http://alamofire.org/)
+Copyright (c) 2014-2018 Alamofire Software Foundation (http://alamofire.org/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 3ddc7ef61..3b04d712f 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,7 @@ platform :ios, '10.0'
use_frameworks!
target '' do
- pod 'Alamofire', '~> 4.6'
+ pod 'Alamofire', '~> 4.7'
end
```
@@ -118,7 +118,7 @@ $ brew install carthage
To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
-github "Alamofire/Alamofire" ~> 4.6
+github "Alamofire/Alamofire" ~> 4.7
```
Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
diff --git a/Source/Info-tvOS.plist b/Source/Info-tvOS.plist
index 83eb118ca..87ee0d15f 100644
--- a/Source/Info-tvOS.plist
+++ b/Source/Info-tvOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.6.0
+ 4.7.0
CFBundleSignature
????
CFBundleVersion
diff --git a/Source/Info.plist b/Source/Info.plist
index 17251c272..1aad446dc 100644
--- a/Source/Info.plist
+++ b/Source/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.6.0
+ 4.7.0
CFBundleSignature
????
CFBundleVersion
diff --git a/docs/Classes.html b/docs/Classes.html
index c807b2f1d..4f9fe5c3b 100644
--- a/docs/Classes.html
+++ b/docs/Classes.html
@@ -22,7 +22,7 @@
- (87% documented)
+ (86% documented)
– Destination
+
+ – ArrayEncoding
+
+
+ – BoolEncoding
+
@@ -331,7 +337,7 @@ Classes
Declaration
Swift
-
open class SessionDelegate: NSObject
+
open class SessionDelegate: NSObject
@@ -364,7 +370,7 @@ Declaration
Declaration
Swift
-
open class Request
+
open class Request
@@ -396,7 +402,7 @@ Declaration
Declaration
Swift
-
open class DataRequest: Request
+
open class DataRequest: Request
@@ -428,7 +434,7 @@ Declaration
Declaration
Swift
-
open class DownloadRequest: Request
+
open class DownloadRequest: Request
@@ -460,7 +466,7 @@ Declaration
Declaration
@@ -491,7 +497,7 @@ Declaration
Declaration
Swift
-
open class StreamRequest: Request
+
open class StreamRequest: Request
@@ -523,7 +529,7 @@ Declaration
Declaration
Swift
-
open class SessionManager
+
open class SessionManager
@@ -568,7 +574,7 @@ Declaration
Declaration
Swift
-
open class MultipartFormData
+
open class MultipartFormData
@@ -600,7 +606,7 @@ Declaration
Declaration
Swift
-
open class ServerTrustPolicyManager
+
open class ServerTrustPolicyManager
@@ -637,7 +643,7 @@ Declaration
Declaration
Swift
-
public class NetworkReachabilityManager
+
open class NetworkReachabilityManager
@@ -670,7 +676,7 @@ Declaration
Declaration
Swift
-
open class TaskDelegate: NSObject
+
open class TaskDelegate: NSObject
@@ -685,8 +691,8 @@ Declaration