Browse Source

Added release notes to CHANGELOG and bumped version to Alamofire 3.0.0-beta.1.

Christian Noon 10 years ago
parent
commit
b65a82f1a0
3 changed files with 45 additions and 2 deletions
  1. 1 1
      Alamofire.podspec
  2. 43 0
      CHANGELOG.md
  3. 1 1
      Source/Info.plist

+ 1 - 1
Alamofire.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name = 'Alamofire'
-  s.version = '2.0.2'
+  s.version = '3.0.0-beta.1'
   s.license = 'MIT'
   s.summary = 'Elegant HTTP Networking in Swift'
   s.homepage = 'https://github.com/Alamofire/Alamofire'

+ 43 - 0
CHANGELOG.md

@@ -2,6 +2,9 @@
 All notable changes to this project will be documented in this file.
 `Alamofire` adheres to [Semantic Versioning](http://semver.org/).
 
+#### 3.x Releases
+- `3.0.0` Betas - [3.0.0-beta.1](#300-beta1)
+
 #### 2.x Releases
 - `2.0.x` Releases - [2.0.0](#200) | [2.0.1](#201) | [2.0.2](#202)
 - `2.0.0` Betas - [2.0.0-beta.1](#200-beta1) | [2.0.0-beta.2](#200-beta2) | [2.0.0-beta.3](#200-beta3) | [2.0.0-beta.4](#200-beta4)
@@ -14,6 +17,46 @@ All notable changes to this project will be documented in this file.
 
 ---
 
+## [3.0.0-beta.1](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)
+Released on 2015-09-21.
+
+#### Added
+- A new `Response` struct to simplify response serialization.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#792](https://github.com/Alamofire/Alamofire/pull/792).
+- A new initializer to the `Manager` allowing dependency injection of the
+underlying `NSURLSession`.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#795](https://github.com/Alamofire/Alamofire/pull/795).
+- Tests around the new `Manager` initialization methods.
+
+#### Updated
+- Result type to take two generic parameters (`Value` and `Error`) where `Error`
+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 now return the original server data as `NSData?`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- The `TaskDelegate` to store an error as an `NSError` instead of `ErrorType`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- The `ValidationResult` failure case to require an `NSError` instead of `ErrorType`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- All tests around response serialization and `Result` type usage.
+  - 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  - 
+  [#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.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#795](https://github.com/Alamofire/Alamofire/pull/795).
+
+---
+
 ## [2.0.2](https://github.com/Alamofire/Alamofire/releases/tag/2.0.2)
 Released on 2015-09-20. All issues associated with this milestone can be found using this
 [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.2).

+ 1 - 1
Source/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.0.2</string>
+	<string>3.0.0-beta.1</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>