Sfoglia il codice sorgente

Added release notes to the CHANGELOG and bumped the version to 4.5.0.

Christian Noon 8 anni fa
parent
commit
7fe7b918b7
6 ha cambiato i file con 98 aggiunte e 8 eliminazioni
  1. 1 1
      Alamofire.podspec
  2. 15 3
      Alamofire.xcodeproj/project.pbxproj
  3. 78 0
      CHANGELOG.md
  4. 2 2
      README.md
  5. 1 1
      Source/Info-tvOS.plist
  6. 1 1
      Source/Info.plist

+ 1 - 1
Alamofire.podspec

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

+ 15 - 3
Alamofire.xcodeproj/project.pbxproj

@@ -334,6 +334,8 @@
 		4CE292351EF4A397008DA555 /* Alamofire 2.0 Migration Guide.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Alamofire 2.0 Migration Guide.md"; sourceTree = "<group>"; };
 		4CE292361EF4A397008DA555 /* Alamofire 3.0 Migration Guide.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Alamofire 3.0 Migration Guide.md"; sourceTree = "<group>"; };
 		4CE292371EF4A397008DA555 /* Alamofire 4.0 Migration Guide.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Alamofire 4.0 Migration Guide.md"; sourceTree = "<group>"; };
+		4CE292391EF4B12B008DA555 /* Alamofire.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = Alamofire.podspec; sourceTree = "<group>"; };
+		4CE2923A1EF4B12B008DA555 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
 		4CF626EF1BA7CB3E0011A099 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		4CF626F81BA7CB3E0011A099 /* Alamofire tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Alamofire tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
 		4CFB028F1D7CF28F0056F249 /* FileManager+AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "FileManager+AlamofireTests.swift"; sourceTree = "<group>"; };
@@ -610,7 +612,7 @@
 			name = Features;
 			sourceTree = "<group>";
 		};
-		4CE292301EF4A386008DA555 /* Docs */ = {
+		4CE292301EF4A386008DA555 /* Documentation */ = {
 			isa = PBXGroup;
 			children = (
 				4CE292321EF4A393008DA555 /* CHANGELOG.md */,
@@ -618,7 +620,7 @@
 				4CE292311EF4A393008DA555 /* README.md */,
 				4CE292341EF4A397008DA555 /* Documentation */,
 			);
-			name = Docs;
+			name = Documentation;
 			sourceTree = "<group>";
 		};
 		4CE292341EF4A397008DA555 /* Documentation */ = {
@@ -631,6 +633,15 @@
 			path = Documentation;
 			sourceTree = "<group>";
 		};
+		4CE292381EF4B116008DA555 /* Deployment */ = {
+			isa = PBXGroup;
+			children = (
+				4CE292391EF4B12B008DA555 /* Alamofire.podspec */,
+				4CE2923A1EF4B12B008DA555 /* Package.swift */,
+			);
+			name = Deployment;
+			sourceTree = "<group>";
+		};
 		4CFB02E81D7D2FA20056F249 /* Responses */ = {
 			isa = PBXGroup;
 			children = (
@@ -689,7 +700,8 @@
 		F8111E2919A95C8B0040E7D1 = {
 			isa = PBXGroup;
 			children = (
-				4CE292301EF4A386008DA555 /* Docs */,
+				4CE292381EF4B116008DA555 /* Deployment */,
+				4CE292301EF4A386008DA555 /* Documentation */,
 				F8111E3519A95C8B0040E7D1 /* Source */,
 				F8111E3F19A95C8B0040E7D1 /* Tests */,
 				F8111E3419A95C8B0040E7D1 /* Products */,

+ 78 - 0
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.5.x` Releases - [4.5.0](#450)
 - `4.4.x` Releases - [4.4.0](#440)
 - `4.3.x` Releases - [4.3.0](#430)
 - `4.2.x` Releases - [4.2.0](#420)
@@ -31,6 +32,83 @@ All notable changes to this project will be documented in this file.
 
 ---
 
+## [4.5.0](https://github.com/Alamofire/Alamofire/releases/tag/4.5.0)
+Released on 2017-06-16. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A4.5.0).
+
+#### Added
+- Missing `@escaping` annotation for session delegate closures.
+  - Added by [Alexey Aleshkov](https://github.com/djmadcat) in Pull Request
+  [#1951](https://github.com/Alamofire/Alamofire/pull/1951).
+- New `mapError`, `flatMapError`, `withValue`, `withError`, `ifSuccess`, and `ifFailure` APIs to `Result`.
+  - Added by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#2135](https://github.com/Alamofire/Alamofire/pull/2135).
+
+#### Updated
+- The Travis config file to Xcode 8.3.
+  - Updated by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#2059](https://github.com/Alamofire/Alamofire/pull/2059).
+- Response serialization implementation to use separate internal variable.
+  - Updated by [Eunju Amy Sohn](https://github.com/EJSohn) in Pull Request
+  [#2125](https://github.com/Alamofire/Alamofire/pull/2125).
+- `SessionDelegate` internal implementation by removing redundant optional unwrap.
+  - Updated by [Boris Dušek](https://github.com/dusek) in Pull Request
+  [#2056](https://github.com/Alamofire/Alamofire/pull/2056).
+- The `debugPrintable` implementation of `Request` to use `curl -v` instead of `curl -i` to be more verbose.
+  - Updated by [Simon Warta](https://github.com/webmaster128) in Pull Request
+  [#2070](https://github.com/Alamofire/Alamofire/pull/2070).
+- The `MultipartFormData` contentType property to be mutable.
+  - Updated by [Eric Desa](https://github.com/ericdesa) in Pull Request
+  [#2072](https://github.com/Alamofire/Alamofire/pull/2072).
+- Travis CI yaml file to enable watchOS 3.2 builds.
+  - Updated by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#2135](https://github.com/Alamofire/Alamofire/pull/2135).
+- Alamofire to build with Xcode 9 with Swift 3.2 and 4.0 in addition to Xcode 8.3 and Swift 3.1.
+  - Updated by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#2163](https://github.com/Alamofire/Alamofire/pull/2163).
+
+#### Removed
+- Custom string extension no longer needed in the test suite.
+  - Removed by [Nicholas Maccharoli](https://github.com/Nirma) in Pull Request
+  [#1994](https://github.com/Alamofire/Alamofire/pull/1994).
+
+#### Fixed
+- Issue in the `URLProtocolTestCase` where HTTP header capitalization was wrong due to httpbin.org change.
+  - Fixed by [Natascha Fadeeva](https://github.com/Tanaschita) in Pull Request
+  [#2025](https://github.com/Alamofire/Alamofire/pull/2025).
+- Issues and typos throughout the README documentation and sample code and source code docstrings.
+  - Fixed by
+  [Raphael R.](https://github.com/reitzig),
+  [helloyako](https://github.com/helloyako),
+  [DongHyuk Kim](https://github.com/sss989870),
+  [Bas Broek](https://github.com/BasThomas),
+  [Jorge Lucena](https://github.com/jorgifumi),
+  [MasahitoMizogaki](https://github.com/MMizogaki),
+  [José Manuel Sánchez](https://github.com/buscarini),
+  [SabinLee](https://github.com/SabinLee),
+  [Mat Trudel](https://github.com/mtrudel),
+  [Wolfgang Lutz](https://github.com/Lutzifer), and
+  [Christian Noon](https://github.com/cnoon) in Pull Requests
+  [#1995](https://github.com/Alamofire/Alamofire/pull/1995),
+  [#1997](https://github.com/Alamofire/Alamofire/pull/1997),
+  [#1998](https://github.com/Alamofire/Alamofire/pull/1998),
+  [#2022](https://github.com/Alamofire/Alamofire/pull/2022),
+  [#2031](https://github.com/Alamofire/Alamofire/pull/2031),
+  [#2035](https://github.com/Alamofire/Alamofire/pull/2035),
+  [#2080](https://github.com/Alamofire/Alamofire/pull/2080),
+  [#2081](https://github.com/Alamofire/Alamofire/pull/2081),
+  [#2092](https://github.com/Alamofire/Alamofire/pull/2092),
+  [#2095](https://github.com/Alamofire/Alamofire/pull/2095),
+  [#2104](https://github.com/Alamofire/Alamofire/pull/2104).
+- Several warnings in the test suite related to Xcode 8.3.
+  - Fixed by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#2057](https://github.com/Alamofire/Alamofire/pull/2057).
+- Issue where reachability calculation incorrectly reported `.reachable` status with [`.connectionRequired`, `.isWWAN`] combination.
+  - Fixed by [Marco Santarossa](https://github.com/MarcoSantarossa) in Pull Request
+  [#2060](https://github.com/Alamofire/Alamofire/pull/2060).
+
+---
+
 ## [4.4.0](https://github.com/Alamofire/Alamofire/releases/tag/4.4.0)
 Released on 2017-02-26. All issues associated with this milestone can be found using this
 [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A4.4.0).

+ 2 - 2
README.md

@@ -57,8 +57,8 @@ In order to keep Alamofire focused specifically on core networking implementatio
 ## Requirements
 
 - iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
-- Xcode 8.1+
-- Swift 3.0+
+- Xcode 8.1, 8.2, 8.3, and 9.0
+- Swift 3.0, 3.1, 3.2, and 4.0
 
 ## Migration Guides
 

+ 1 - 1
Source/Info-tvOS.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>4.4.0</string>
+	<string>4.5.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>

+ 1 - 1
Source/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>4.4.0</string>
+	<string>4.5.0</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>