From e4371be5f83354f94dc82227a6c17d5010187087 Mon Sep 17 00:00:00 2001
From: Jon Shier
Date: Fri, 12 Apr 2019 22:43:38 -0400
Subject: [PATCH] Prepare beta 5 (#2806)
* Update CHANGELOG and version for beta 5.
* Update Gems.
* Update Jazzy docs.
* OS X -> macOS in README.
---
Alamofire.podspec | 2 +-
CHANGELOG.md | 35 +-
Gemfile.lock | 6 +-
README.md | 22 +-
Source/Info.plist | 2 +-
docs/Classes.html | 50 +-
docs/Classes/Adapter.html | 10 +-
docs/Classes/AlamofireNotifications.html | 138 +++-
docs/Classes/ClosureEventMonitor.html | 169 ++++-
docs/Classes/CompositeEventMonitor.html | 88 ++-
docs/Classes/CompositeTrustEvaluator.html | 10 +-
docs/Classes/ConnectionLostRetryPolicy.html | 10 +-
docs/Classes/DataRequest.html | 12 +-
docs/Classes/DataResponseSerializer.html | 10 +-
docs/Classes/DecodableResponseSerializer.html | 10 +-
docs/Classes/DefaultTrustEvaluator.html | 10 +-
docs/Classes/DisabledEvaluator.html | 10 +-
docs/Classes/DownloadRequest.html | 22 +-
.../Classes/DownloadRequest/Downloadable.html | 10 +-
docs/Classes/DownloadRequest/Options.html | 10 +-
docs/Classes/Interceptor.html | 10 +-
docs/Classes/JSONParameterEncoder.html | 10 +-
docs/Classes/JSONResponseSerializer.html | 10 +-
docs/Classes/MultipartFormData.html | 37 +-
docs/Classes/NetworkReachabilityManager.html | 10 +-
.../ConnectionType.html | 10 +-
.../NetworkReachabilityStatus.html | 10 +-
.../PinnedCertificatesTrustEvaluator.html | 10 +-
docs/Classes/PublicKeysTrustEvaluator.html | 10 +-
docs/Classes/Request.html | 174 ++++-
docs/Classes/Request/State.html | 10 +-
docs/Classes/Retrier.html | 10 +-
docs/Classes/RetryPolicy.html | 10 +-
docs/Classes/RevocationTrustEvaluator.html | 10 +-
.../RevocationTrustEvaluator/Options.html | 10 +-
docs/Classes/ServerTrustManager.html | 10 +-
docs/Classes/Session.html | 14 +-
docs/Classes/SessionDelegate.html | 10 +-
docs/Classes/StringResponseSerializer.html | 10 +-
docs/Classes/URLEncodedFormEncoder.html | 10 +-
.../URLEncodedFormEncoder/ArrayEncoding.html | 10 +-
.../URLEncodedFormEncoder/BoolEncoding.html | 10 +-
docs/Classes/URLEncodedFormEncoder/Error.html | 10 +-
.../URLEncodedFormEncoder/SpaceEncoding.html | 10 +-
.../URLEncodedFormParameterEncoder.html | 10 +-
.../Destination.html | 10 +-
docs/Classes/UploadRequest.html | 14 +-
docs/Classes/UploadRequest/Uploadable.html | 10 +-
docs/Enums.html | 10 +-
docs/Enums/AF.html | 14 +-
docs/Enums/AFError.html | 10 +-
.../MultipartEncodingFailureReason.html | 10 +-
.../ParameterEncoderFailureReason.html | 10 +-
.../RequiredComponent.html | 10 +-
.../ParameterEncodingFailureReason.html | 10 +-
.../ResponseSerializationFailureReason.html | 10 +-
.../ResponseValidationFailureReason.html | 10 +-
.../AFError/ServerTrustFailureReason.html | 10 +-
.../ServerTrustFailureReason/Output.html | 10 +-
docs/Enums/HTTPMethod.html | 10 +-
docs/Enums/RetryResult.html | 10 +-
docs/Extensions.html | 10 +-
docs/Extensions/Array.html | 10 +-
docs/Extensions/CharacterSet.html | 10 +-
docs/Extensions/Error.html | 10 +-
docs/Extensions/HTTPURLResponse.html | 18 +-
docs/Extensions/Notification.html | 10 +-
docs/Extensions/String.html | 10 +-
docs/Extensions/URL.html | 10 +-
docs/Extensions/URLComponents.html | 10 +-
docs/Extensions/URLRequest.html | 20 +-
docs/Extensions/URLSessionConfiguration.html | 18 +-
docs/Functions.html | 10 +-
docs/Protocols.html | 42 +-
docs/Protocols/AlamofireExtended.html | 10 +-
docs/Protocols/CachedResponseHandler.html | 10 +-
docs/Protocols/DataDecoder.html | 10 +-
.../DataResponseSerializerProtocol.html | 10 +-
.../DownloadResponseSerializerProtocol.html | 10 +-
docs/Protocols/EmptyResponse.html | 10 +-
docs/Protocols/EventMonitor.html | 112 ++-
docs/Protocols/ParameterEncoder.html | 10 +-
docs/Protocols/ParameterEncoding.html | 10 +-
docs/Protocols/RedirectHandler.html | 10 +-
docs/Protocols/RequestAdapter.html | 10 +-
docs/Protocols/RequestDelegate.html | 10 +-
docs/Protocols/RequestInterceptor.html | 10 +-
docs/Protocols/RequestRetrier.html | 10 +-
docs/Protocols/ResponseSerializer.html | 10 +-
docs/Protocols/ServerTrustEvaluating.html | 10 +-
docs/Protocols/URLConvertible.html | 10 +-
docs/Protocols/URLRequestConvertible.html | 10 +-
docs/Protocols/UploadableConvertible.html | 10 +-
docs/Structs.html | 10 +-
docs/Structs/AlamofireExtension.html | 10 +-
docs/Structs/DataResponse.html | 10 +-
docs/Structs/DownloadResponse.html | 10 +-
docs/Structs/Empty.html | 10 +-
docs/Structs/HTTPHeader.html | 10 +-
docs/Structs/HTTPHeaders.html | 10 +-
docs/Structs/JSONEncoding.html | 10 +-
docs/Structs/Redirector.html | 10 +-
docs/Structs/Redirector/Behavior.html | 10 +-
docs/Structs/ResponseCacher.html | 10 +-
docs/Structs/ResponseCacher/Behavior.html | 10 +-
docs/Structs/URLEncoding.html | 10 +-
docs/Structs/URLEncoding/ArrayEncoding.html | 10 +-
docs/Structs/URLEncoding/BoolEncoding.html | 10 +-
docs/Structs/URLEncoding/Destination.html | 10 +-
docs/Typealiases.html | 10 +-
docs/badge.svg | 4 +-
.../Contents/Resources/Documents/Classes.html | 50 +-
.../Resources/Documents/Classes/Adapter.html | 10 +-
.../Classes/AlamofireNotifications.html | 138 +++-
.../Classes/ClosureEventMonitor.html | 169 ++++-
.../Classes/CompositeEventMonitor.html | 88 ++-
.../Classes/CompositeTrustEvaluator.html | 10 +-
.../Classes/ConnectionLostRetryPolicy.html | 10 +-
.../Documents/Classes/DataRequest.html | 12 +-
.../Classes/DataResponseSerializer.html | 10 +-
.../Classes/DecodableResponseSerializer.html | 10 +-
.../Classes/DefaultTrustEvaluator.html | 10 +-
.../Documents/Classes/DisabledEvaluator.html | 10 +-
.../Documents/Classes/DownloadRequest.html | 22 +-
.../Classes/DownloadRequest/Downloadable.html | 10 +-
.../Classes/DownloadRequest/Options.html | 10 +-
.../Documents/Classes/Interceptor.html | 10 +-
.../Classes/JSONParameterEncoder.html | 10 +-
.../Classes/JSONResponseSerializer.html | 10 +-
.../Documents/Classes/MultipartFormData.html | 37 +-
.../Classes/NetworkReachabilityManager.html | 10 +-
.../ConnectionType.html | 10 +-
.../NetworkReachabilityStatus.html | 10 +-
.../PinnedCertificatesTrustEvaluator.html | 10 +-
.../Classes/PublicKeysTrustEvaluator.html | 10 +-
.../Resources/Documents/Classes/Request.html | 174 ++++-
.../Documents/Classes/Request/State.html | 10 +-
.../Resources/Documents/Classes/Retrier.html | 10 +-
.../Documents/Classes/RetryPolicy.html | 10 +-
.../Classes/RevocationTrustEvaluator.html | 10 +-
.../RevocationTrustEvaluator/Options.html | 10 +-
.../Documents/Classes/ServerTrustManager.html | 10 +-
.../Resources/Documents/Classes/Session.html | 14 +-
.../Documents/Classes/SessionDelegate.html | 10 +-
.../Classes/StringResponseSerializer.html | 10 +-
.../Classes/URLEncodedFormEncoder.html | 10 +-
.../URLEncodedFormEncoder/ArrayEncoding.html | 10 +-
.../URLEncodedFormEncoder/BoolEncoding.html | 10 +-
.../Classes/URLEncodedFormEncoder/Error.html | 10 +-
.../URLEncodedFormEncoder/SpaceEncoding.html | 10 +-
.../URLEncodedFormParameterEncoder.html | 10 +-
.../Destination.html | 10 +-
.../Documents/Classes/UploadRequest.html | 14 +-
.../Classes/UploadRequest/Uploadable.html | 10 +-
.../Contents/Resources/Documents/Enums.html | 10 +-
.../Resources/Documents/Enums/AF.html | 14 +-
.../Resources/Documents/Enums/AFError.html | 10 +-
.../MultipartEncodingFailureReason.html | 10 +-
.../ParameterEncoderFailureReason.html | 10 +-
.../RequiredComponent.html | 10 +-
.../ParameterEncodingFailureReason.html | 10 +-
.../ResponseSerializationFailureReason.html | 10 +-
.../ResponseValidationFailureReason.html | 10 +-
.../AFError/ServerTrustFailureReason.html | 10 +-
.../ServerTrustFailureReason/Output.html | 10 +-
.../Resources/Documents/Enums/HTTPMethod.html | 10 +-
.../Documents/Enums/RetryResult.html | 10 +-
.../Resources/Documents/Extensions.html | 10 +-
.../Resources/Documents/Extensions/Array.html | 10 +-
.../Documents/Extensions/CharacterSet.html | 10 +-
.../Resources/Documents/Extensions/Error.html | 10 +-
.../Documents/Extensions/HTTPURLResponse.html | 18 +-
.../Documents/Extensions/Notification.html | 10 +-
.../Documents/Extensions/String.html | 10 +-
.../Resources/Documents/Extensions/URL.html | 10 +-
.../Documents/Extensions/URLComponents.html | 10 +-
.../Documents/Extensions/URLRequest.html | 20 +-
.../Extensions/URLSessionConfiguration.html | 18 +-
.../Resources/Documents/Functions.html | 10 +-
.../Resources/Documents/Protocols.html | 42 +-
.../Protocols/AlamofireExtended.html | 10 +-
.../Protocols/CachedResponseHandler.html | 10 +-
.../Documents/Protocols/DataDecoder.html | 10 +-
.../DataResponseSerializerProtocol.html | 10 +-
.../DownloadResponseSerializerProtocol.html | 10 +-
.../Documents/Protocols/EmptyResponse.html | 10 +-
.../Documents/Protocols/EventMonitor.html | 112 ++-
.../Documents/Protocols/ParameterEncoder.html | 10 +-
.../Protocols/ParameterEncoding.html | 10 +-
.../Documents/Protocols/RedirectHandler.html | 10 +-
.../Documents/Protocols/RequestAdapter.html | 10 +-
.../Documents/Protocols/RequestDelegate.html | 10 +-
.../Protocols/RequestInterceptor.html | 10 +-
.../Documents/Protocols/RequestRetrier.html | 10 +-
.../Protocols/ResponseSerializer.html | 10 +-
.../Protocols/ServerTrustEvaluating.html | 10 +-
.../Documents/Protocols/URLConvertible.html | 10 +-
.../Protocols/URLRequestConvertible.html | 10 +-
.../Protocols/UploadableConvertible.html | 10 +-
.../Contents/Resources/Documents/Structs.html | 10 +-
.../Documents/Structs/AlamofireExtension.html | 10 +-
.../Documents/Structs/DataResponse.html | 10 +-
.../Documents/Structs/DownloadResponse.html | 10 +-
.../Resources/Documents/Structs/Empty.html | 10 +-
.../Documents/Structs/HTTPHeader.html | 10 +-
.../Documents/Structs/HTTPHeaders.html | 10 +-
.../Documents/Structs/JSONEncoding.html | 10 +-
.../Documents/Structs/Redirector.html | 10 +-
.../Structs/Redirector/Behavior.html | 10 +-
.../Documents/Structs/ResponseCacher.html | 10 +-
.../Structs/ResponseCacher/Behavior.html | 10 +-
.../Documents/Structs/URLEncoding.html | 10 +-
.../Structs/URLEncoding/ArrayEncoding.html | 10 +-
.../Structs/URLEncoding/BoolEncoding.html | 10 +-
.../Structs/URLEncoding/Destination.html | 10 +-
.../Resources/Documents/Typealiases.html | 10 +-
.../Contents/Resources/Documents/index.html | 29 +-
.../Contents/Resources/Documents/search.json | 2 +-
.../Resources/Documents/undocumented.json | 7 -
.../Contents/Resources/docSet.dsidx | Bin 294912 -> 299008 bytes
docs/docsets/Alamofire.tgz | Bin 399633 -> 397085 bytes
docs/docsets/Alamofire.xml | 2 +-
docs/index.html | 29 +-
docs/search.json | 2 +-
docs/undocumented.json | 637 ++++++++----------
225 files changed, 2068 insertions(+), 2375 deletions(-)
diff --git a/Alamofire.podspec b/Alamofire.podspec
index bd9823562..3c4c5729d 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.4'
+ s.version = '5.0.0-beta.5'
s.license = 'MIT'
s.summary = 'Elegant HTTP Networking in Swift'
s.homepage = 'https://github.com/Alamofire/Alamofire'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21e50b125..705b5440d 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` 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)
#### 4.x Releases
- `4.8.x` Releases - [4.8.0](#480) | [4.8.1](#481)
@@ -38,6 +38,39 @@ All notable changes to this project will be documented in this file.
---
+## [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.
+
+#### Added
+- `Request.didResumeTaskNotification`, `Request.didSuspendTaskNotification`, `Request.didCancelTaskNotification`, and `Request.didCompleteTaskNotification` notifications.
+ - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#2803](https://github.com/Alamofire/Alamofire/pull/2803).
+- Separate `URLSessionTask` lifetime events to `EventMonitor`.
+ - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2796](https://github.com/Alamofire/Alamofire/pull/2796).
+
+#### Updated
+- `SessionStateProvider` to no longer be `public` and renamed the file it lives in.
+ - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2801](https://github.com/Alamofire/Alamofire/pull/2801).
+- `MultipartUpload` to no longer be `public`.
+ - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2805](https://github.com/Alamofire/Alamofire/pull/2805).
+- `Request`, `DataRequest`, `UploadRequest`, and `DownloadRequest` to longer be `open`, as Alamofire does not support subclassing these types.
+ - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2804](https://github.com/Alamofire/Alamofire/pull/2804).
+- Names of the notifications posted by `Request` to include `Notification`.
+ - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2803](https://github.com/Alamofire/Alamofire/pull/2803).
+- `httpHeaders` extensions on `URLRequest`, `HTTPURLResponse`, and `URLSessionConfiguration` to be `headers` instead.
+ - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request [#2802](https://github.com/Alamofire/Alamofire/pull/2802).
+
+#### Fixed
+- Issue in `Request` where calling `cancel()` inside a response serializer would result in the serializer running again.
+ - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2778](https://github.com/Alamofire/Alamofire/pull/2778).
+- Issue in `Session` where the delegate `precondition` would be triggered when running with a swizzled `URLSessionDelegate`.
+ - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2783](https://github.com/Alamofire/Alamofire/pull/2783).
+- Compiler error in the example app.
+ - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2786](https://github.com/Alamofire/Alamofire/pull/2786).
+- Issues `Request` where certain lifetime events could be triggered more than once by repeatedly calling `resume()`, `suspend()`, or `cancel()`.
+ - Fixed by [Jon Shier](https://github.com/jshier) in Pull Request [#2796](https://github.com/Alamofire/Alamofire/pull/2796) in Regards to Issue [#2759](https://github.com/Alamofire/Alamofire/issues/2759).
+- Framework version string to be compatible with TestFlight and AppStore releases.
+ - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request [#2799](https://github.com/Alamofire/Alamofire/pull/2799) in Regards to Issue [#2797](https://github.com/Alamofire/Alamofire/issues/2797).
+
## [5.0.0-beta.4](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-beta.4)
Released on 2019-03-29. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A5.0.0-beta.4). **Note:** Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.
diff --git a/Gemfile.lock b/Gemfile.lock
index c1eaa8647..20d5968a7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -74,7 +74,7 @@ GEM
redcarpet (3.4.0)
rouge (2.0.7)
ruby-macho (1.4.0)
- sass (3.7.3)
+ sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -85,7 +85,7 @@ GEM
thread_safe (~> 0.1)
xcinvoke (0.3.0)
liferaft (~> 0.0.6)
- xcodeproj (1.8.1)
+ xcodeproj (1.8.2)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
@@ -103,4 +103,4 @@ DEPENDENCIES
xcpretty
BUNDLED WITH
- 1.17.1
+ 1.17.3
diff --git a/README.md b/README.md
index 3d7683ccd..48f9a521b 100644
--- a/README.md
+++ b/README.md
@@ -60,8 +60,8 @@ In order to keep Alamofire focused specifically on core networking implementatio
## Requirements
- iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
-- Xcode 10.1+
-- Swift 4.2+
+- Xcode 10.2+
+- Swift 5+
## Migration Guides
@@ -72,12 +72,12 @@ In order to keep Alamofire focused specifically on core networking implementatio
- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
## Communication
-- If you **need help with making network requests**, use [Stack Overflow](https://stackoverflow.com/questions/tagged/alamofire) and tag `alamofire`.
+- If you **need help with making network requests** using Alamofire, use [Stack Overflow](https://stackoverflow.com/questions/tagged/alamofire) and tag `alamofire`.
- If you need to **find or understand an API**, check [our documentation](http://alamofire.github.io/Alamofire/) or [Apple's documentation for `URLSession`](https://developer.apple.com/documentation/foundation/url_loading_system), on top of which Alamofire is built.
- If you need **help with an Alamofire feature**, use [our forum on swift.org](https://forums.swift.org/c/related-projects/alamofire).
- If you'd like to **discuss Alamofire best practices**, use [our forum on swift.org](https://forums.swift.org/c/related-projects/alamofire).
- If you'd like to **discuss a feature request**, use [our forum on swift.org](https://forums.swift.org/c/related-projects/alamofire).
-- If you **found a bug**, open an issue and follow the guide. The more detail the better!
+- If you **found a bug**, open an issue here on GitHub and follow the guide. The more detail the better!
- If you **want to contribute**, submit a pull request.
## Installation
@@ -87,7 +87,7 @@ In order to keep Alamofire focused specifically on core networking implementatio
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
-pod 'Alamofire', '~> 5.0.0-beta.3'
+pod 'Alamofire', '~> 5.0.0-beta.5'
```
### Carthage
@@ -95,7 +95,7 @@ pod 'Alamofire', '~> 5.0.0-beta.3'
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
-github "Alamofire/Alamofire" "5.0.0-beta.3"
+github "Alamofire/Alamofire" "5.0.0-beta.5"
```
### Swift Package Manager
@@ -108,7 +108,7 @@ Once you have your Swift package set up, adding Alamofire as a dependency is as
```swift
dependencies: [
- .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0-beta.3")
+ .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0-beta.5")
]
```
@@ -142,7 +142,7 @@ If you prefer not to use any of the aforementioned dependency managers, you can
> It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`.
-- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
+- Select the top `Alamofire.framework` for iOS and the bottom one for macOS.
> You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS`, `Alamofire macOS`, `Alamofire tvOS` or `Alamofire watchOS`.
@@ -172,12 +172,6 @@ The following radars have been resolved over time after being filed against the
Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
-### What logic belongs in a Router vs. a Request Adapter?
-
-Simple, static data such as paths, HTTP methods, and common headers belong in the `Router`. Dynamic data such as an `Authorization` header whose value can changed based on an authentication system belongs in a `RequestAdapter`.
-
-The reason the dynamic data MUST be placed into the `RequestAdapter` is to support retry operations. When a `Request` is retried, the original request is not rebuilt meaning the `Router` will not be called again. The `RequestAdapter` is called again allowing the dynamic data to be updated on the original request before retrying the `Request`.
-
## Credits
Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
diff --git a/Source/Info.plist b/Source/Info.plist
index 073856ada..b3e29faba 100644
--- a/Source/Info.plist
+++ b/Source/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 5.0.0.beta.4
+ 5.0.0.beta.5
CFBundleSignature
????
CFBundleVersion
diff --git a/docs/Classes.html b/docs/Classes.html
index 43c852286..94749fa1f 100644
--- a/docs/Classes.html
+++ b/docs/Classes.html
@@ -23,7 +23,7 @@
- (75% documented)
+ (77% documented)
MultipartFormData
-
- MultipartUpload
-
NetworkReachabilityManager
@@ -319,9 +316,6 @@
ServerTrustEvaluating
-
- SessionStateProvider
-
URLConvertible
@@ -522,38 +516,6 @@ Declaration
-
-
- -
-
-
-
-
-
-
-
-
Declaration
-
-
Swift
-
open class MultipartUpload
-
-
-
-
-
-
-
-
-
@@ -615,7 +577,7 @@
Declaration
Declaration
Swift
-
open class Request
+
public class Request
@@ -801,7 +763,7 @@ DataRequest
Declaration
Swift
-
open class DataRequest : Request
+
public class DataRequest : Request
@@ -829,7 +791,7 @@ Declaration
Declaration
Swift
-
open class DownloadRequest : Request
+
public class DownloadRequest : Request
@@ -857,7 +819,7 @@ Declaration
Declaration
@@ -1492,7 +1454,7 @@ Declaration