Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
241655eb25394f59d1f6403e8820111f1fe11978
107
2020-07-27 11:55:47-04:00
-28,800
['becd9a729a37bdbef5bc39dc3c702b99f9e3d046']
Use headers property. (#3264)
[{'old_path': 'Source/ParameterEncoding.swift', 'new_path': 'Source/ParameterEncoding.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -168,8 +168,8 @@ public struct URLEncoding: ParameterEncoding {\n urlRequest.url = urlComponents.url\n }\n } else {\n- if urlRequ...
Swift
38f7ba7c75c919b33f5897f393c106d03a2c47d6
66
2020-08-15 14:03:39-04:00
-19,800
['241655eb25394f59d1f6403e8820111f1fe11978']
Update README Grammar (#3274) * Grammtically updated the READ.me * Update README.md Co-authored-by: Jon Shier <jon@jonshier.com> * Update README.md Co-authored-by: Jon Shier <jon@jonshier.com> * Update README.md Co-authored-by: Jon Shier <jon@jonshier.com> Co-authored-by: Jon Shier <jon@jonshier.c...
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,7 +53,7 @@ Alamofire is an HTTP networking library written in Swift.\n \n In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the ...
Swift
f628497b804140ec7f0478610679edabeb4c9ee8
90
2020-08-15 14:04:23-04:00
-28,800
['38f7ba7c75c919b33f5897f393c106d03a2c47d6']
Update Outdated iOS Example Code (#3268) * feat (Response) : add info for debugDescription add parameters info for debugDescription of DataResponse and DownloadResponse * refactor (Response) : update * feat (Response) : add Response Body for debugDescription * merge from Alamofire master * style (iOS Ex...
[{'old_path': 'Example/Source/DetailViewController.swift', 'new_path': 'Example/Source/DetailViewController.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -151,7 +151,7 @@ extension DetailViewController {\n }\n \n override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) ->...
Swift
e256350195038f1ffa20f2529c445fcfd797f276
68
2020-08-15 17:58:39-04:00
14,400
['f628497b804140ec7f0478610679edabeb4c9ee8']
Update to Xcode 11.6, add Swift 5.3 and iOS 14 builds. (#3278) * Update to Xcode 11.6, add Swift 5.3 and iOS 14 builds. * Disable iOS 14 tests until Combine issues are fixed.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,16 +23,25 @@ jobs:\n name: Test macOS (5.2)\n runs-on: macOS-latest\n env: \n- DEVELOPER_DIR: /Applications/Xcode_11.5.app/Contents/Developer\n+ DEVELOPER_DIR: /A...
Swift
5c34603e05e3b63892c02378e7a1432d8ccc3b1e
68
2020-08-23 17:20:16-04:00
14,400
['4210ed5275220afc86e10f79efcd5dae456f1df3']
Update formatting. (#3285)
[{'old_path': '.swiftformat', 'new_path': '.swiftformat', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,7 @@\n # rules\n --enable isEmpty\n --disable andOperator\n+--disable wrapMultilineStatementBraces\n \n # format options\n \n'}, {'old_path': 'Source/Validation.swift', 'new_path': 'Source/Validation.swif...
Swift
266919c5121bf94e2bde9a290aeb12017a9eaa73
68
2020-08-23 17:59:20-04:00
14,400
['5c34603e05e3b63892c02378e7a1432d8ccc3b1e']
Add withAllRequests. (#3200)
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -202,6 +202,27 @@ monitor.requestDidCompleteTaskWithError = { (request, task, error) in\n let session = Session(eventMonitors: [monitor])\n ```\n \n+### Operating on All Reques...
Swift
312a24afd5e6a154dd6726a9537eb0c755ba89a7
74
2020-09-02 14:00:33-04:00
-32,400
['266919c5121bf94e2bde9a290aeb12017a9eaa73']
Fix Usage.md to reflect the change in URLSessionConfiguration from `defaultHTTPHeaders` to `headers` (#3292)
[{'old_path': 'Documentation/Usage.md', 'new_path': 'Documentation/Usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -421,7 +421,7 @@ The default Alamofire `Session` provides a default set of headers for every `Req\n - `Accept-Language`, which defaults to up to the top 6 preferred languages on the system, fo...
Swift
c0ecb337c8e060ff947a362e95ca71b4e20ddf5f
68
2020-09-20 01:02:07-04:00
14,400
['312a24afd5e6a154dd6726a9537eb0c755ba89a7']
Remove Obj-C Module (#3308)
[{'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -299,10 +299,8 @@\n \t\t4CE2724F1AF88FB500F1D59A /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CE2724E1AF88FB500F1D59A /* ParameterEncodi...
Swift
2e1de3a127240180a588bf9d273401291527257c
68
2020-09-20 19:04:20-04:00
14,400
['c0ecb337c8e060ff947a362e95ca71b4e20ddf5f']
Update to Xcode 12 build settings, standardize across platforms. (#3309) * Update to Xcode 12 build settings, standardize. * Update to Xcode 12 for CI.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,7 +23,7 @@ jobs:\n name: Test macOS (5.2)\n runs-on: macOS-latest\n env: \n- DEVELOPER_DIR: /Applications/Xcode_11.6.app/Contents/Developer\n+ DEVELOPER_DIR: /App...
Swift
54b77cef4ce441d43c941ad633eb8f147efa1b95
13
2020-09-21 14:41:44-04:00
-32,400
['2e1de3a127240180a588bf9d273401291527257c']
Throw an error in MultipartUpload when copying a file to a temporary path fails. (#3306) * Fix to throw an error in MultipartUpload when copying a file to a temporary path fails. * Update UploadMultipartFormDataTest for nonexistent file.
[{'old_path': 'Source/MultipartUpload.swift', 'new_path': 'Source/MultipartUpload.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -67,6 +67,7 @@ final class MultipartUpload {\n } catch {\n // Cleanup after attempted write if it fails.\n try? fileManager.removeItem(a...
Swift
8d34a5f5502edd6d6f1e0bad2f608dd69ccde95a
9
2020-10-03 16:10:48-04:00
14,400
['54b77cef4ce441d43c941ad633eb8f147efa1b95']
Update Alamofire 5.0 Migration Guide.md (#3317) Removed an extra space
[]
Swift
1eba129170d1c2443af19d35fe876cb3570d621b
68
2020-10-03 16:32:35-04:00
14,400
['8d34a5f5502edd6d6f1e0bad2f608dd69ccde95a']
Disable resume test as wikimedia no longer supports resume. (#3320)
[{'old_path': 'Tests/DownloadTests.swift', 'new_path': 'Tests/DownloadTests.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -585,7 +585,7 @@ final class DownloadResumeDataTestCase: BaseTestCase {\n XCTAssertEqual(response?.resumeData, download.resumeData)\n }\n \n- func testThatCancelledDownloa...
Swift
3b38a9916067dd600b0f1b84ed459284e2d2839a
68
2020-10-03 17:09:45-04:00
14,400
['1eba129170d1c2443af19d35fe876cb3570d621b']
Enable task gathering on watchOS 7+. (#3321)
[{'old_path': 'Source/RequestTaskMap.swift', 'new_path': 'Source/RequestTaskMap.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -131,11 +131,18 @@ struct RequestTaskMap {\n \n switch (events.completed, events.metricsGathered) {\n case (true, _): fatalError("RequestTaskMap consistency error: du...
Swift
cc183c78ab75237ad13236cc69c654aa1359d395
68
2020-10-03 17:41:24-04:00
14,400
['3b38a9916067dd600b0f1b84ed459284e2d2839a']
Lifetime Event APIs (#3219) * Add additional lifetime closures. * Update formatting. * Add documentation on the new lifetime methods.
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -370,11 +370,38 @@ AF.request(...)\n }\n ```\n \n-#### A `Request`’s `URLRequest`s\n+#### Lifetime Values\n+Alamofire creates a variety of underlying values throughout the ...
Swift
9e6f3265c3c469a64675f08c43b96462c18bc574
60
2020-10-04 20:19:42-04:00
-32,400
['cc183c78ab75237ad13236cc69c654aa1359d395']
Fix crash when request download with fileURL (#3318) * Fix crash when download local file * Clean up tests. Co-authored-by: Jon Shier <jon@jonshier.com>
[{'old_path': 'Source/URLRequest+Alamofire.swift', 'new_path': 'Source/URLRequest+Alamofire.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,6 +32,11 @@ public extension URLRequest {\n }\n \n func validate() throws {\n+ if let url = url, url.isFileURL {\n+ // This should become an...
Swift
19df3066454fd5d822e9d8c11d13f754c244cec4
68
2020-10-14 23:30:13-04:00
14,400
['9e6f3265c3c469a64675f08c43b96462c18bc574']
Fix Double Lock in AuthenticationInterceptor (#3322) * Fix double lock in AuthenticationInterceptor. * Refactor test name. * Get rid of additional Xcode checks.
[{'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1092,7 +1092,7 @@\n \t\t\tisa = PBXProject;\n \t\t\tattributes = {\n \t\t\t\tLastSwiftUpdateCheck = 0700;\n-\t\t\t\tLastUpgradeCheck = 1200;\n+\t\t\t\tLastUpgradeChe...
Swift
097e1f03166d49b31f824507fb85ad843b14fc13
68
2020-10-17 21:04:45-04:00
14,400
['19df3066454fd5d822e9d8c11d13f754c244cec4']
Prepare 5.3.0 (#3328) * Version to 5.3.0. * Apply the latest formatting from SwiftFormat. * Update Gems. * Update Jazzy docs.
[{'old_path': '.swiftformat', 'new_path': '.swiftformat', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n --decimalgrouping 3,5\n --exponentcase lowercase\n --exponentgrouping disabled\n+--extensionacl on-declarations\n --fractiongrouping disabled\n --ifdef no-indent\n --importgrouping testable-top\n...
Swift
bcbc769c2b063cb55a8fcf6d45c7caaa929907a1
68
2020-10-25 19:48:10-04:00
14,400
['097e1f03166d49b31f824507fb85ad843b14fc13']
Remove file URL error, add support for downloads (#3342) * Remove file URL error, add support for downloads. * Add documentation note about file downloads.
[{'old_path': 'Source/Request.swift', 'new_path': 'Source/Request.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1459,8 +1459,11 @@ public class DownloadRequest: Request {\n \n /// A closure executed once a `DownloadRequest` has successfully completed in order to determine where to move the\n /// te...
Swift
d9259d107a9539c0e94dee500bfe9b98a004d91d
68
2020-10-27 11:22:54-04:00
14,400
['bcbc769c2b063cb55a8fcf6d45c7caaa929907a1']
Add URLResponseSerializer. (#3343)
[{'old_path': 'Documentation/Usage.md', 'new_path': 'Documentation/Usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -681,14 +681,14 @@ However, headers that must be part of all requests are often better handled as p\n In addition to fetching data into memory, Alamofire also provides the `Session.download`, ...
Swift
cbbfc307c7208e2a9f1aa336434a84e0cb094350
68
2020-11-04 16:27:42-05:00
18,000
['d9259d107a9539c0e94dee500bfe9b98a004d91d']
Prepare 5.4.0 (#3355) * Version to 5.4.0. * Update Jazzy docs.
[{'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n- s.version = '5.3.0'\n+ s.version = '5.4.0'\n s.license = 'MIT'\n s.summary = 'Elegant HTTP Networking in Swift'\n s.homepage = 'ht...
Swift
797ce9efe1f2528f7f2e9e02a9dec8a94362fd59
68
2020-12-19 20:29:26-05:00
18,000
['9e0328127dfb801cefe8ac53a13c0c90a7770448']
Allow CocoaPods and Xcode project to install Obj-C header. (#3378) * Allow CocoaPods and Xcode project to install Obj-C header. * Update CI for latest versions. * Correctly label Big Sur builder.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,11 +28,20 @@ jobs:\n - uses: actions/checkout@v2\n - name: macOS (5.2)\n run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -s...
Swift
c244d3275ab5d88c3355c907acd9be687feccb50
68
2020-12-20 21:07:21-05:00
18,000
['797ce9efe1f2528f7f2e9e02a9dec8a94362fd59']
Prepare 5.4.1 (#3379) * Version to 5.4.1. * Update Ruby dependencies. * Update documentation.
[{'old_path': '.ruby-version', 'new_path': '.ruby-version', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1 @@\n-2.7.1\n+2.7.2\n'}, {'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1804,7 +1804,7 @@\n \t\t\t...
Swift
c0cde48e5ca0d3c3420f9c299e36fd3d7bcfbc68
68
2021-02-28 22:59:19-05:00
18,000
['b5dfb35435af5d68aeca5dfad2a069e1a8aedc57']
Update for Xcode 12.4, Project Templates (#3414) * Xcode 12.4 checks. * Update templates. * Fix tvOS and watchOS CI platforms.
[{'old_path': '.github/ISSUE_TEMPLATE.md', 'new_path': '.github/ISSUE_TEMPLATE/BUG_REPORT.md', 'type': <ModificationType.RENAME: 3>, 'diff': '@@ -22,11 +22,12 @@\n \n ## Alamofire Environment\n \n-**Alamofire version:**\n-**Xcode version:**\n-**Swift version:**\n-**Platform(s) running Alamofire:**\n-**macOS version run...
Swift
b359efe63c1b27cc0557b3c8cc0653f64f8ac2ab
68
2021-03-07 20:59:27-05:00
18,000
['63f7ec9fff5c4a6a05de37b11326e5a6ca8a6fbc']
Add Support for Resume Data on Error (#3419) * Add resume data from error support. * Add new download endpoint, additional test.
[{'old_path': 'Source/AFError.swift', 'new_path': 'Source/AFError.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -433,6 +433,11 @@ extension AFError {\n guard case let .downloadedFileMoveFailed(_, _, destination) = self else { return nil }\n return destination\n }\n+\n+ /// The downloa...
Swift
d84770edf456bc037f4098d73527f722c8b83a6f
68
2021-03-07 21:38:03-05:00
18,000
['b359efe63c1b27cc0557b3c8cc0653f64f8ac2ab']
Ensure encoded multipart body stream has appropriate length. (#3420) * Ensure that the encoded body stream data has expected length (#3380) * Ensure that the encoded body stream data has expected length * Using a custom error for unexpected stream length instead of extending MultipartEncodingFailureReason * M...
[{'old_path': 'Source/AFError.swift', 'new_path': 'Source/AFError.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -57,6 +57,15 @@ public enum AFError: Error {\n case inputStreamReadFailed(error: Error)\n }\n \n+ /// Represents unexpected input stream length that occur when encoding the `Multipa...
Swift
5a625bcaa13a2919b67b67faf0a877eabb5f3ed2
68
2021-03-14 22:20:03-04:00
14,400
['d84770edf456bc037f4098d73527f722c8b83a6f']
Make MultipartUpload more thread-safe. (#3421)
[{'old_path': 'Source/MultipartUpload.swift', 'new_path': 'Source/MultipartUpload.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,29 +28,24 @@ import Foundation\n final class MultipartUpload {\n lazy var result = Result { try build() }\n \n- let isInBackgroundSession: Bool\n- let multipartFormDa...
Swift
4d19ad82f80cc71ff829b941ded114c56f4f604c
68
2021-04-03 17:45:03-04:00
14,400
['5a625bcaa13a2919b67b67faf0a877eabb5f3ed2']
Prepare 5.4.2 Release (#3430) * Prepare 5.4.2 release. * Update Jazzy docs.
[{'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n- s.version = '5.4.1'\n+ s.version = '5.4.2'\n s.license = 'MIT'\n s.summary = 'Elegant HTTP Networking in Swift'\n s.homepage = 'ht...
Swift
56ce89783d7ebd67444d09d7a0aa20ffa7aa55af
49
2021-04-07 22:36:40-04:00
-32,400
['4d19ad82f80cc71ff829b941ded114c56f4f604c']
Fix Type in Alamofire 5.0 Migration Guide (#3431) - Fixed a minor typo
[{'old_path': 'Documentation/Alamofire 5.0 Migration Guide.md', 'new_path': 'Documentation/Alamofire 5.0 Migration Guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,7 +27,7 @@ Most APIs have changed in Alamofire 5, so this list is not complete. While most\n - `TaskDelegate` and the various `*TaskDelegate...
Swift
3fbfb080397813e1a9b70c8a67d0a6e0617c0ce8
33
2021-04-17 00:17:57-04:00
25,200
['56ce89783d7ebd67444d09d7a0aa20ffa7aa55af']
Multipart Form Data Encoding Fix (#3438) * Fixed issue where multipart form data was encoded before URLRequest was created * Added test to verify body parts can be appended to MFD in URLRequest creation * Ran swiftformat to fix up formatting issues
[{'old_path': 'Source/Session.swift', 'new_path': 'Source/Session.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -420,7 +420,7 @@ open class Session {\n requestModifier: RequestModifier? = nil) -> DataStreamRequest {\n let convertible = RequestEncodableConvertible(url: con...
Swift
f96b619bcb2383b43d898402283924b80e2c4bae
68
2021-04-21 22:49:02-04:00
14,400
['3fbfb080397813e1a9b70c8a67d0a6e0617c0ce8']
Prepare 5.4.3 (#3441) * Version to 5.4.3. * Update Jazzy docs. * Formatting.
[{'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n- s.version = '5.4.2'\n+ s.version = '5.4.3'\n s.license = 'MIT'\n s.summary = 'Elegant HTTP Networking in Swift'\n s.homepage = 'ht...
Swift
ca9d8f3d408284c4ef1d9622e868df280197e34a
68
2021-05-01 19:08:29-04:00
14,400
['f96b619bcb2383b43d898402283924b80e2c4bae']
Enable Big Sur Builds (#3448) * Enable Big Sur build. * Run commands with correct arch. * No arch for set. * Use xcpretty. * Reenable other tests.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,7 +12,7 @@ on:\n jobs:\n macOS_5_1:\n name: Build macOS (5.1)\n- runs-on: macOS-latest\n+ runs-on: macOS-10.15\n env:\n DEVELOPER_DIR: /Applications/Xcode_11.3.1....
Swift
03e6e9c41da45f32b8fff4dbf67db24670f2accc
68
2021-05-02 19:20:49-04:00
14,400
['ca9d8f3d408284c4ef1d9622e868df280197e34a']
Add watchOS Testing (#3449) * Add watchOS tests, fix them, add action. * Return to timeout. * Fix YML. * Actually test on watchOS 7.4. * Turn off Metal validation for test scheme. * Enable retry tests by using different basic auth users. * Move logos, add MacStadium logo.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -70,7 +70,7 @@ jobs:\n DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer\n strategy:\n matrix:\n- destination: ["OS=14.4,name=iPhone 12 Pro"] #, "OS=12....
Swift
70b859dec85651c8a7bc0f2a8abbcb579e3144c8
68
2021-05-02 19:22:15-04:00
14,400
['03e6e9c41da45f32b8fff4dbf67db24670f2accc']
Fix logo in README.
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/master/Resources/Alamofire.png)\n+![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.c...
Swift
6aa21ece746e3e8a92b76f2f539330e7804aa7ef
70
2021-05-13 10:10:28-04:00
-3,600
['70b859dec85651c8a7bc0f2a8abbcb579e3144c8']
Correct example (#3453)
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -702,7 +702,7 @@ let evaluators: [String: ServerTrustEvaluating] = [\n "keys.example.com": PublicKeysTrustEvaluator(),\n ]\n \n-let manager = ServerTrustManager(evaluators:...
Swift
a41c07a558b508bcf3a66552c726cab5dda65501
68
2021-06-07 18:47:00-04:00
14,400
['6aa21ece746e3e8a92b76f2f539330e7804aa7ef']
Linux and Windows Support (#3446) * Initial Linux build. * Add CI support. * Fix YML. * Use correct image. * Initial Windows Support (#3462) * Correct example (#3453) * Exclude NetworkReachabilityManager from Windows Fixes #3459. Windows does not have SystemConfiguration, so we have to exclude it ...
[{'old_path': None, 'new_path': '.dockerignore', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,2 @@\n+.build/\n+.git/\n'}, {'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,16 +5,28 @@ on:\n branches: \n - master\n ...
Swift
a9dd90a920be97e898d4f1837a1c540de52f64bb
31
2021-06-22 16:09:31-04:00
-7,200
['a41c07a558b508bcf3a66552c726cab5dda65501']
Fix release dates of versions 5.4.2 and 5.4.3 in CHANGELOG (#3468) No wonder 2020 feels like it never ended. Thanks!
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,7 +46,7 @@ All notable changes to this project will be documented in this file.\n ---\n \n ## [5.4.3](https://github.com/Alamofire/Alamofire/releases/tag/5.4.3)\n-Released on 2020-04-21. All issues associated...
Swift
37ac089b99e961353ec9f3ede8ac855130adb7ad
86
2021-07-05 18:39:41-04:00
-7,200
['a9dd90a920be97e898d4f1837a1c540de52f64bb']
AdvancedUsage.md: ServerTrustPolicyManager -> ServerTrustManager (#3469) Replaced mentions of `ServerTrustPolicyManager` by `ServerTrustManager` in "Subclassing Server Trust Policy Manager" section.
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,7 @@\n + [Evaluating Server Trusts with `ServerTrustManager` and `ServerTrustEvaluating`](#evaluating-server-trusts-with-servertrustmanager-and-servertrustevaluatin...
Swift
4a299e34929ea949d118110c41092c89691bdfaf
89
2021-07-09 16:50:13-04:00
14,400
['37ac089b99e961353ec9f3ede8ac855130adb7ad']
doc: fix CachedResponseHandler ResponseCacher documentation (#3476) This commit changes the notion of Follow by the notion of Cache. It tries to follow the convention used in Redirector from RedirectHandler.swift.
[{'old_path': 'Source/CachedResponseHandler.swift', 'new_path': 'Source/CachedResponseHandler.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,9 +58,9 @@ public struct ResponseCacher {\n case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)\n }\n \n- /// Returns a `Respo...
Swift
c38feeb32cd728928da82ecec6fca43f398dfe22
11
2021-08-10 23:52:19-04:00
-19,800
['4a299e34929ea949d118110c41092c89691bdfaf']
changed count >= 1 to not isEmpty (#3478)
[{'old_path': 'Source/URLEncodedFormEncoder.swift', 'new_path': 'Source/URLEncodedFormEncoder.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -495,7 +495,7 @@ enum URLEncodedFormComponent {\n \n /// Recursive backing method to `set(to:at:)`.\n private func set(_ context: inout URLEncodedFormComponent,...
Swift
0c83a983a76b2b3ee283c49dcad721299d92d086
104
2021-09-08 17:58:01-04:00
10,800
['c38feeb32cd728928da82ecec6fca43f398dfe22']
Fix typos in CONTRIBUTING.md (#3491)
[{'old_path': 'CONTRIBUTING.md', 'new_path': 'CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,7 +16,7 @@ Please read it before you start participating.\n **We don't use GitHub as a support forum.**\n For any usage questions that are not specific to the project itself, please ask on [Stack Overfl...
Swift
2397bb983065152ee5ee09dde2cf7d82df44532c
68
2021-09-13 14:18:48-04:00
14,400
['0c83a983a76b2b3ee283c49dcad721299d92d086']
Xcode 13 Support (#3486) * Update for Xcode 13, workaround Combine issues. * Disable Combine on Windows and Linux.
[{'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1224,7 +1224,7 @@\n \t\t\tisa = PBXProject;\n \t\t\tattributes = {\n \t\t\t\tLastSwiftUpdateCheck = 1250;\n-\t\t\t\tLastUpgradeCheck = 1250;\n+\t\t\t\tLastUpgradeChe...
Swift
aeb321425ba3bd5b0b36a40d7f2f2cd56bfd2504
104
2021-09-20 19:33:29-04:00
10,800
['2397bb983065152ee5ee09dde2cf7d82df44532c']
Fix the screen title for each request in the sample app (#3494)
[{'old_path': 'Example/Source/DetailViewController.swift', 'new_path': 'Example/Source/DetailViewController.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,6 +35,10 @@ class DetailViewController: UITableViewController {\n oldValue?.cancel()\n \n title = request?.description\n+ ...
Swift
d120af1e8638c7da36c8481fd61a66c0c08dc4fc
68
2021-09-20 19:46:54-04:00
14,400
['aeb321425ba3bd5b0b36a40d7f2f2cd56bfd2504']
Prepare 5.4.4 (#3496) * Version to 5.4.4. * Update Ruby dependencies. * Update Jazzy docs. * Fix the screen title for each request in the sample app (#3494) * Add one more PR. Co-authored-by: Tiago Maia <tiago.maia.lopes@gmail.com>
[{'old_path': '.ruby-version', 'new_path': '.ruby-version', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1 @@\n-2.7.2\n+3.0.2\n'}, {'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n-...
Swift
92a897577be727a9dd2a5171b65f6cf4758a164f
34
2021-09-24 11:47:02-04:00
-10,800
['d120af1e8638c7da36c8481fd61a66c0c08dc4fc']
Update AdvancedUsage.md (#3498)
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -391,7 +391,7 @@ AF.request(...)\n ##### `URLSessionTask`s\n In many ways, the various `Request` subclasses act as a wrapper for a `URLSessionTask` and present specific API for...
Swift
f3e26fb6182a08cfb6057033b6ab4922b7427abb
68
2021-10-02 21:00:29-04:00
14,400
['92a897577be727a9dd2a5171b65f6cf4758a164f']
Generic Static Accessors in Swift 5.5 (#3499) * Add CachedResponseHandler static accessors. * Add ParameterEncoder static accessors. * Add RedirectHandler static accessors. * Add RequestInterceptor static accessors. * Add ResponseSerializer static accessors. * Add ServerTrust static accessors. * Form...
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -94,6 +94,21 @@ jobs:\n run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewal...
Swift
c8f5add98d6ffd7bbc0ed55da88d73fd8c98f55f
104
2021-10-03 22:20:57-04:00
10,800
['f3e26fb6182a08cfb6057033b6ab4922b7427abb']
Improve the documentation regarding contributions (#3500) * Document how to contribute with code * Improve the contribution guides according to code review
[{'old_path': 'CONTRIBUTING.md', 'new_path': 'CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -8,6 +8,8 @@ Please read it before you start participating.\n * [Asking Questions](#asking-questions)\n * [Reporting Security Issues](#reporting-security-issues)\n * [Reporting Issues](#reporting-other-issu...
Swift
effb907b0e27bbdff1d773c39346e1bac319fc11
68
2021-10-04 12:07:20-04:00
14,400
['c8f5add98d6ffd7bbc0ed55da88d73fd8c98f55f']
Deprecate responseJSON (#3502) * Deprecate responseJSON. * Fix tests. * Fix tests for responseDecodable. * Increase upload size for reliability.
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -301,7 +301,7 @@ AF.request(...)\n .downloadProgress { progress in\n print(progress)\n }\n- .responseDecodable(of: SomeType.self) { response in\n+ .respon...
Swift
c039ac798b5acb91830dc64e8fe5de96970a4478
68
2021-10-13 20:45:59-04:00
14,400
['effb907b0e27bbdff1d773c39346e1bac319fc11']
Fix Protected Value Property Access Safety (#3505) * Use the wrapper for property access, add tests. * Note the change that triggers the sanitizer. * Fix inappropriate wrapper access; local wrapper use.
[{'old_path': 'Source/AuthenticationInterceptor.swift', 'new_path': 'Source/AuthenticationInterceptor.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -217,15 +217,15 @@ public class AuthenticationInterceptor<AuthenticatorType>: RequestInterceptor wh\n \n /// The `Credential` used to authenticate requests....
Swift
79e9419d402f0dfe18836f00fcf4052855419031
32
2021-10-19 11:51:42-07:00
25,200
['c039ac798b5acb91830dc64e8fe5de96970a4478']
Added RequestAdapterState struct to store additional state during adaptation (#3504) * Added RequestAdapterState struct to store additional state during adaptation * Updated adapter tests to verify RequestAdapterState passthrough * Updated RequestAdapter documentation in AdvancedUsage * Added comment about Re...
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -501,7 +501,7 @@ Alamofire’s `RequestInterceptor` protocol (composed of the `RequestAdapter` an\n ### `RequestAdapter`\n Alamofire’s `RequestAdapter` protocol allows each `URL...
Swift
ae3e601aae00e406693839a7c53fd64951de5575
104
2021-11-03 13:22:06-04:00
10,800
['79e9419d402f0dfe18836f00fcf4052855419031']
Fix small typo in AdvancedUsage.md (#3513)
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -877,7 +877,7 @@ AF.request(urlComponents)\n Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLConvertib...
Swift
871483ece0e756a3e253ea8834365517354e7886
104
2021-11-03 13:38:41-04:00
10,800
['ae3e601aae00e406693839a7c53fd64951de5575']
Initially display the request indicator in the sample app (#3514)
[{'old_path': 'Example/Source/DetailViewController.swift', 'new_path': 'Example/Source/DetailViewController.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -76,6 +76,7 @@ class DetailViewController: UITableViewController {\n return\n }\n \n+ refreshControl?.isHidden = false\n ...
Swift
6de4f23ef3d2ff00885a0d6c76a722858666d341
68
2021-11-03 16:09:42-04:00
14,400
['871483ece0e756a3e253ea8834365517354e7886']
Require Swift 5.3 (#3495) * Update to Swift 5.3. * Use correct target.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,57 +21,47 @@ concurrency:\n group: ci\n cancel-in-progress: true\n jobs:\n- macOS_5_1:\n- name: Build macOS (5.1)\n- runs-on: macOS-10.15\n- env:\n- DEVELOPER_DIR: /...
Swift
92c76834f0342be0d929b1dcb26b70977f70032f
104
2021-11-04 23:30:47-04:00
10,800
['6de4f23ef3d2ff00885a0d6c76a722858666d341']
Add .indexInBrackets array serialization option for URL parameters (#3516) * Add the indexInBrackets option to URLEncoding * Add the indexInBrackets option to URLEncodedFormEncoder * Add .indexInBrackets tests for structs and classes * Address PR comments regarding .indexInBrackets serialization
[{'old_path': 'Source/ParameterEncoding.swift', 'new_path': 'Source/ParameterEncoding.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,13 +85,17 @@ public struct URLEncoding: ParameterEncoding {\n case brackets\n /// No brackets are appended. The key is encoded as is.\n case noBrack...
Swift
877c524e96d85348053cf408f680cf659744ce89
44
2021-11-04 23:41:43-04:00
25,200
['92c76834f0342be0d929b1dcb26b70977f70032f']
Fixes for parameters in doc comments throughout the project (#3511)
[{'old_path': 'Source/Combine.swift', 'new_path': 'Source/Combine.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -203,13 +203,13 @@ extension DataRequest {\n /// - Parameters:\n /// - type: `Decodable` type to which to decode response `Data`. Inferred from the context by default.\n ...
Swift
e0edbf64d4a69327ffb8e0f7cfe4e5a4fe36d124
68
2021-11-05 00:09:06-04:00
14,400
['877c524e96d85348053cf408f680cf659744ce89']
Deprecate publishDecodable variants with incorrect parameter name (#3517) * Deprecate method with wrong parameter name. * Formatting.
[{'old_path': 'Source/Combine.swift', 'new_path': 'Source/Combine.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -197,19 +197,36 @@ extension DataRequest {\n on: queue)\n }\n \n+ @_disfavoredOverload\n+ @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)\n+ @available(...
Swift
26b8c9a41aa03f0356f957ab62e9ca6b1068afe0
77
2021-11-12 01:23:28-05:00
-10,800
['e0edbf64d4a69327ffb8e0f7cfe4e5a4fe36d124']
Sort acceptable content-types in error messages (#3518) Co-authored-by: Timur Yusipov <tryusipov@avito.ru>
[{'old_path': 'Source/Validation.swift', 'new_path': 'Source/Validation.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,7 +117,7 @@ extension Request {\n }\n \n let error: AFError = {\n- let reason: ErrorReason = .missingContentType(acceptableContentTypes: Array(acc...
Swift
65b77694905b0dea7e419b2f74b1e5dc037094b5
68
2021-11-15 19:34:51-05:00
18,000
['26b8c9a41aa03f0356f957ab62e9ca6b1068afe0']
Safer Custom rootQueues (#3523) * Add queue targeting to convenience init. * Formatting. * Don't retarget the main queue.
[{'old_path': 'Source/Session.swift', 'new_path': 'Source/Session.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -183,12 +183,15 @@ open class Session {\n eventMonitors: [EventMonitor] = []) {\n precondition(configuration.identifier == nil, "Alamofire does not support back...
Swift
0c3780efc9e4fb2c087a304319bc5937d0fb5586
68
2021-12-13 17:28:25-05:00
18,000
['65b77694905b0dea7e419b2f74b1e5dc037094b5']
Swift Concurrency Support (#3463) * Add Concurrency support. * Remove misleading Protected convenience APIs. * Safer NSLog usage. * Project updates. * Disable thread sanitizer during development. * Update tests for new APIs. * Add concurrency tester. * Fix concurrency runner. * 15.2 simulator f...
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -84,6 +84,21 @@ jobs:\n run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewal...
Swift
f82c23a8a7ef8dc1a49a8bfc6a96883e79121864
68
2021-12-13 18:54:48-05:00
18,000
['0c3780efc9e4fb2c087a304319bc5937d0fb5586']
Prepare 5.5.0 (#3527) * Version to 5.5.0. * Update Ruby environment. * Update Jazzy docs. * Add more documentation links and index support. * Regenerate docs for other changes.
[{'old_path': '.ruby-version', 'new_path': '.ruby-version', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1 @@\n-3.0.2\n+3.0.3\n'}, {'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n-...
Swift
e7e39079d7469e81966d2787431bf8979a2b0cc4
68
2022-01-08 02:43:01-05:00
18,000
['f82c23a8a7ef8dc1a49a8bfc6a96883e79121864']
Run jobs in ARM shell. (#3534)
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,15 +48,18 @@ jobs:\n macOS_5_5:\n name: Test macOS 11 (5.5)\n runs-on: firebreak\n+ defaults:\n+ run:\n+ shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"\n ...
Swift
e1f6c211747bce531f4171848f62d9cb6de0cc82
68
2022-01-15 13:30:02-05:00
18,000
['e7e39079d7469e81966d2787431bf8979a2b0cc4']
Update Sponsorship to GitHub Sponsors (#3543)
[{'old_path': None, 'new_path': '.github/FUNDING.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1 @@\n+github: [Alamofire, jshier]\n'}, {'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -466,6 +466,7 @@\n ...
Swift
ac892dd077c9f8489e793282b827ae5ca4298cae
68
2022-01-17 18:51:54-05:00
18,000
['e1f6c211747bce531f4171848f62d9cb6de0cc82']
Add More OSes to Testing Matrix (#3545) * Add older iOS testing targets. * Move old iOS and concurrency to Firebreak, make macOS a matrix. * Fix labeling, matrix value interpolation. * Don't fail matrices, canImport(Combine). * Run Xcode 12.5 on macOS 11. * canImport(Combine) in tests. * Avoid iOS 11...
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,50 +21,36 @@ concurrency:\n group: ci\n cancel-in-progress: true\n jobs:\n- macOS_5_3:\n- name: Test macOS 10.15 (5.3)\n- runs-on: macOS-10.15\n+ macOS:\n+ name: Test ma...
Swift
3e5fc5d8ae939b655929a0edd60d3bb70f38027f
68
2022-01-19 21:50:48-05:00
18,000
['ac892dd077c9f8489e793282b827ae5ca4298cae']
Add Concurrency Example and Fix Documentation Link (#3548) * Add additional concurrency example. * Fix link. * Fix typo.
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1239,10 +1239,20 @@ let response = await task.response // Returns full DataResponse<TestResponse, AF\n // Elsewhere...\n let result = await task.result // Returns Result<TestR...
Swift
6de3f6579bc04e0a769aa39993663e5a131d1c41
38
2022-01-24 11:57:11-05:00
0
['3e5fc5d8ae939b655929a0edd60d3bb70f38027f']
Add a Swift version check across all platforms. (#3549)
[{'old_path': 'Source/Alamofire.swift', 'new_path': 'Source/Alamofire.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,10 @@ import Foundation\n @_exported import FoundationNetworking\n #endif\n \n+#if swift(<5.3)\n+#error("Alamofire doesn\'t support Swift versions below 5.3")\n+#endif\n+\n /// Refer...
Swift
641951479d7968155d31a3686db215ca012c35bb
68
2022-01-29 22:24:54-05:00
18,000
['6de3f6579bc04e0a769aa39993663e5a131d1c41']
Convert to Test Plans (#3546) * Add iOS test plans, use old to run old OSes. * Add tvOS test plans. * Add test plans, add TS job. * Move latest OSes to GitHub runners. * Add .app. * Skip tests on older OSes.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,7 +18,7 @@ on:\n - \'Package.swift\'\n \n concurrency: \n- group: ci\n+ group: ${{ github.ref_name }}\n cancel-in-progress: true\n jobs:\n macOS:\n@@ -58,6 +58,31 @@ jobs:\...
Swift
c05c2b579979c36a6791b79c9af52a4d517d9bdf
68
2022-01-29 22:57:21-05:00
18,000
['641951479d7968155d31a3686db215ca012c35bb']
Cancel without resume data. (#3538)
[{'old_path': 'Source/Request.swift', 'new_path': 'Source/Request.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1721,7 +1721,7 @@ public class DownloadRequest: Request {\n } else {\n // Resume to ensure metrics are gathered.\n task.resume()\n- task...
Swift
66d58fed07b5e6cc06ad6e086c72f10759196ea9
68
2022-01-30 20:59:08-05:00
18,000
['c05c2b579979c36a6791b79c9af52a4d517d9bdf']
Improve Test Reliability in AuthenticationInterceptorTests (#3551) * Store Session. * Use the same queue for the monitor and Session. * Move credential set to validator. * Make tests more reliable, avoid GHA censoring. * Turn off iOS 11 / tvOS 11 tests. * Fully remove older OS testing. * Turn off thr...
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,9 +105,6 @@ jobs:\n - destination: "OS=12.4,name=iPhone Xs"\n name: "iOS 12.4"\n testPlan: "iOS-Old"\n- - destination: "OS=11.4,name=iPhone ...
Swift
86f518d7732f68ffcf45fc1931c313e7d23a3e3b
68
2022-02-01 17:17:25-05:00
18,000
['66d58fed07b5e6cc06ad6e086c72f10759196ea9']
Add QUERY HTTPMethod. (#3553)
[{'old_path': 'Source/HTTPMethod.swift', 'new_path': 'Source/HTTPMethod.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,6 +43,8 @@ public struct HTTPMethod: RawRepresentable, Equatable, Hashable {\n public static let post = HTTPMethod(rawValue: "POST")\n /// `PUT` method.\n public static let p...
Swift
4e1103600bef06bd26e42564063e8fe8c25ef3d2
68
2022-02-01 17:18:46-05:00
18,000
['86f518d7732f68ffcf45fc1931c313e7d23a3e3b']
Fix 2020 and 2021 Deprecation Warnings (#3555) * Fix deprecations on newer OSes. * Update formatting. * Add documentation note. * Add fallback for newer mime type code. * Expose newer APIs only when building for Xcode 13.
[{'old_path': 'Source/MultipartFormData.swift', 'new_path': 'Source/MultipartFormData.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -508,20 +508,6 @@ open class MultipartFormData {\n }\n }\n \n- // MARK: - Private - Mime Type\n-\n- private func mimeType(forPathExtension pathExtension: Stri...
Swift
acf38fd0f598a49a69f717358a8e0950eecc9f8e
47
2022-03-03 11:18:08-05:00
0
['4e1103600bef06bd26e42564063e8fe8c25ef3d2']
corrected DataTask example (#3562)
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1235,11 +1235,11 @@ This code synchronously produces a `DataTask<TestResponse>` value which can be u\n ```swift\n let dataTask = AF.request(...).serializingDecodable(TestRespo...
Swift
2d085513c48a17082859fede7e6530dfb971f554
68
2022-03-03 13:07:56-05:00
18,000
['acf38fd0f598a49a69f717358a8e0950eecc9f8e']
Add Additional SPM Build Targets (#3570) * Add additional SPM targets. * Update package versioning. * Separate out SPM testing.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -196,7 +196,7 @@ jobs:\n name: Test with SPM\n runs-on: macOS-11\n env:\n- DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer\n+ DEVELOPER_DIR: "/Applic...
Swift
e2befa1f99140e848652d05f877fd0ee1e177179
18
2022-03-12 07:54:52-05:00
-28,800
['2d085513c48a17082859fede7e6530dfb971f554']
Fix AdvancedUsage.md Typo (#3574) Change `SessionStateDelegate` to `SessionStateProvider`
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,7 +135,7 @@ let session = Session(configuration: configuration)\n > As Apple states in their [documentation](https://developer.apple.com/documentation/foundation/urlsessio...
Swift
5f4403154914d76a47f064a1956e2875bf702d14
18
2022-03-12 07:56:00-05:00
-28,800
['e2befa1f99140e848652d05f877fd0ee1e177179']
Update `extension URLRequest` method in Document (#3573)
[{'old_path': 'Documentation/Usage.md', 'new_path': 'Documentation/Usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -136,10 +136,10 @@ It's important to remember that the different HTTP methods may have different se\n Alamofire also offers an extension on `URLRequest` to bridge the `httpMethod` property tha...
Swift
80424faf826a82be1ae0a87a276944228c8a7481
68
2022-03-13 15:23:17-04:00
14,400
['5f4403154914d76a47f064a1956e2875bf702d14']
Ignore Test Plans in Package Files (#3575)
[{'old_path': 'Package.swift', 'new_path': 'Package.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,6 +43,6 @@ let package = Package(name: "Alamofire",\n .testTarget(name: "AlamofireTests",\n dependencies: ["Alamofire"],\n ...
Swift
6eeff3c57e02f07c8494433aed8bf90532010089
68
2022-03-13 16:21:52-04:00
14,400
['80424faf826a82be1ae0a87a276944228c8a7481']
Updates for Xcode 13.3 (#3576) * Update project files for Xcode 13.3. * Update Package to 5.6. * Run a few jobs using Xcode 13.3.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -90,7 +90,7 @@ jobs:\n run:\n shell: "/usr/bin/arch -arch arm64e /bin/zsh {0}"\n env:\n- DEVELOPER_DIR: "/Applications/Xcode_13.2.1.app/Contents/Developer"\n+ D...
Swift
3cffe7e3c653f8a44d9581af54ddbb38e9726c39
90
2022-04-07 21:30:09-04:00
-28,800
['6eeff3c57e02f07c8494433aed8bf90532010089']
Remove JSONResponseSerializer from AdvancedUsage Index (#3585) Remove JSONResponseSerializer
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -60,7 +60,6 @@\n + [`ResponseSerializer`](#responseserializer)\n - [`DataResponseSerializer`](#dataresponseserializer)\n - [`StringResponseSerializer`](#stringrespons...
Swift
dcb6567ae2734c33e4620be26184ab9f3515edc5
68
2022-04-08 12:43:06-04:00
14,400
['15088b05a92f4a52d87eef48690e8c921fb83eb7']
Move to Swift 5.6 for CI (#3587) * Move to Swift 5.6 for CI. * Fix x86 shells. * Try to fix Windows build. * Remove unnecessary headers phase from all targets. * Fix watchOS 7.4 build. * Fix watch build again.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,8 +22,11 @@ concurrency:\n cancel-in-progress: true\n jobs:\n macOS:\n- name: Test macOS (5.5, 5.4, 5.3)\n+ name: Test macOS (5.6, 5.5, 5.4, 5.3)\n runs-on: ${{ matrix.ru...
Swift
6bb3f6bd75a0d92a7128fadc47330e5f81ecc988
68
2022-04-13 17:42:03-04:00
14,400
['dcb6567ae2734c33e4620be26184ab9f3515edc5']
Bump concurrency support to require Swift 5.6 compiler. (#3590)
[{'old_path': 'Source/Concurrency.swift', 'new_path': 'Source/Concurrency.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@\n // THE SOFTWARE.\n //\n \n-#if compiler(>=5.5.2) && canImport(_Concurrency)\n+#if compiler(>=5.6.0) && canImport(_Concurrency)\n \n import Foundation\n \n'}, {'old_path':...
Swift
63dfa86548c4e5d5c6fd6ed42f638e388cbce529
68
2022-04-13 19:55:39-04:00
14,400
['6bb3f6bd75a0d92a7128fadc47330e5f81ecc988']
Prepare 5.6.0 Release (#3593) * Verstion to 5.6.0. * Update Ruby dependencies. * Update Jazzy docs. * Additional versioning.
[{'old_path': '.ruby-version', 'new_path': '.ruby-version', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1 @@\n-3.0.3\n+3.1.1\n'}, {'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n-...
Swift
824ce8bd36194b0a78327cc12fb4f229d67fc582
68
2022-04-17 14:27:33-04:00
14,400
['63dfa86548c4e5d5c6fd6ed42f638e388cbce529']
Add automaticallyCancelling parameter to serializingDownloadedFileURL (#3597)
[{'old_path': 'Source/Concurrency.swift', 'new_path': 'Source/Concurrency.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -413,9 +413,15 @@ extension DownloadRequest {\n \n /// Creates a `DownloadTask` to `await` serialization of the downloaded file's `URL` on disk.\n ///\n+ /// - Parameters:\n+ ...
Swift
354dda32d89fc8cd4f5c46487f64957d355f53d8
68
2022-04-17 16:20:41-04:00
14,400
['824ce8bd36194b0a78327cc12fb4f229d67fc582']
Prepare 5.6.1 (#3598) * Version to 5.6.1. * Update Ruby version. * Update Jazzy docs. * Fix date in 5.6.1 changelog.
[{'old_path': '.ruby-version', 'new_path': '.ruby-version', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1 +1 @@\n-3.1.1\n+3.1.2\n'}, {'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n-...
Swift
ea4e4142e6ae2166e085d6346466735ac2f16176
68
2022-04-18 12:15:40-04:00
14,400
['354dda32d89fc8cd4f5c46487f64957d355f53d8']
Fix CHANGELOG for 5.6.1. (#3599)
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,7 @@ Aside from features marked [🔥 Experimental 🔥], `Alamofire` adheres to [Sem\n compatibility should be preserved in most cases, but cannot be guaranteed.\n \n #### 5.x Releases\n-- `5.6.x` Releases -...
Swift
0621eb572397597f815f6aa16b5955abca25f997
68
2022-04-23 11:47:54-04:00
14,400
['ea4e4142e6ae2166e085d6346466735ac2f16176']
Refactor Cache-Control Tests (#3601) * Refactor cache tests. * Refactor failure transforms to prevent hangs. * Update versions. * Fix compilation on Swift 5.7 nightlies.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,7 @@ jobs:\n fail-fast: false\n matrix:\n include:\n- - xcode: "Xcode_13.3.app"\n+ - xcode: "Xcode_13.3.1.app"\n runsOn: firebre...
Swift
6d65a2b108fae0074ef59050bded8acc50cf3f95
63
2022-04-28 11:48:51-04:00
25,200
['0621eb572397597f815f6aa16b5955abca25f997']
Update ### HTTP Methods to include `query` (#3603)
[{'old_path': 'Documentation/Usage.md', 'new_path': 'Documentation/Usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -112,6 +112,7 @@ public struct HTTPMethod: RawRepresentable, Equatable, Hashable {\n public static let patch = HTTPMethod(rawValue: "PATCH")\n public static let post = HTTPMethod(rawVa...
Swift
6b72d947a14d0adeedd56f32081e5b84309a704a
68
2022-04-28 12:30:09-04:00
14,400
['6d65a2b108fae0074ef59050bded8acc50cf3f95']
Move Check to Swift 5.5.1 for SecTrustCopyCertificateChain (#3606) * Move check to 5.5.1 for new Sec APIs. * Test macOS using all Xcodes.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@ concurrency:\n cancel-in-progress: true\n jobs:\n macOS:\n- name: Test macOS (5.6, 5.5, 5.4, 5.3)\n+ name: Test macOS, All Xcodes and Swifts\n runs-on: ${{ mat...
Swift
f7e169cd9c5e6b1a9d7403fc526a635fad0a787a
68
2022-04-28 15:36:49-04:00
14,400
['6b72d947a14d0adeedd56f32081e5b84309a704a']
Move jobs to macOS-12 runner. (#3607)
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -72,9 +72,9 @@ jobs:\n run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test |...
Swift
bbac4d93605034b1dcfb1fcb32bd8d8e38751783
90
2022-05-06 12:07:20-04:00
-28,800
['f7e169cd9c5e6b1a9d7403fc526a635fad0a787a']
Update Usage.md (#3608) remove Response JSON Handler
[{'old_path': 'Documentation/Usage.md', 'new_path': 'Documentation/Usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,7 +25,6 @@\n - [Response Handler](#response-handler)\n - [Response Data Handler](#response-data-handler)\n - [Response String Handler](#response-string-handler)\n- - [Respon...
Swift
53a24e871675e389c0d18bdd29e4944ef25f0654
48
2022-05-16 11:22:14-04:00
-28,800
['bbac4d93605034b1dcfb1fcb32bd8d8e38751783']
Fix updated -> update Typo (#3611)
[{'old_path': 'Source/Request.swift', 'new_path': 'Source/Request.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1145,7 +1145,7 @@ public class DataRequest: Request {\n return session.dataTask(with: copiedRequest)\n }\n \n- /// Called to updated the `downloadProgress` of the instance.\n+ /...
Swift
3a20cf97a7b37afeb035cdf0ff8634cb122eaef2
68
2022-05-26 19:35:48-04:00
14,400
['53a24e871675e389c0d18bdd29e4944ef25f0654']
Xcode 13.4 (#3616) * Update checks for 13.4. * Test for Xcode 13.4. * Try without explicit shell. * Use latest OS versions too. * Correct versions, add more SPM testing.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,9 +24,6 @@ jobs:\n macOS:\n name: Test macOS, All Xcodes and Swifts\n runs-on: ${{ matrix.runsOn }}\n- defaults:\n- run:\n- shell: ${{ matrix.shell }}\n en...
Swift
8a9e280b160bbe82b725596d5934572be17389fe
46
2022-05-26 19:36:49-04:00
-32,400
['3a20cf97a7b37afeb035cdf0ff8634cb122eaef2']
Add Discussions to CONTRIBUTING (#3613) * Update CONTRIBUTING.md Github -> GitHub * Update CONTRIBUTING.md Co-authored-by: Jon Shier <jon@jonshier.com> Co-authored-by: Jon Shier <jon@jonshier.com>
[{'old_path': 'CONTRIBUTING.md', 'new_path': 'CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -41,7 +41,7 @@ You can triage issues which may include reproducing bug reports or asking for vi\n \n ## Submitting Pull Requests\n \n-You can contribute by fixing bugs or adding new features. For larger cod...
Swift
2da1dd11d4176bbc04165518c8b8b41420c2b67d
68
2022-06-10 19:40:21-04:00
14,400
['8a9e280b160bbe82b725596d5934572be17389fe']
Build All Swift-Supported Linux Distributions (#3622) * Add centOS tester. * Test all Linuxes, lol. * Xcode 13.4.1.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,9 +31,9 @@ jobs:\n fail-fast: false\n matrix:\n include:\n- - xcode: "Xcode_13.4.app"\n+ - xcode: "Xcode_13.4.1.app"\n runsOn: macOS-1...
Swift
51d67100121d586c9d15ec0227de96442af4dd6d
99
2022-06-12 00:32:32-04:00
-32,400
['38d07f329af883683e0b3c047717d0a0399f7d2b']
Fix typo in AdvancedUsage.md (#3623) * Fix typo in AdvancedUsage.md * Update Documentation/AdvancedUsage.md Co-authored-by: Jon Shier <jon@jonshier.com> Co-authored-by: Jon Shier <jon@jonshier.com>
[{'old_path': 'Documentation/AdvancedUsage.md', 'new_path': 'Documentation/AdvancedUsage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1285,7 +1285,7 @@ By default, `DataTask` and `DownloadTask` values do not cancel the underlying re\n ```swift\n let request = AF.request(...) // Creates the DataRequest.\n let...
Swift
9c2bab4711fbccd715d151f9431c2d2e702e4f3f
68
2022-07-17 21:32:10-04:00
14,400
['51d67100121d586c9d15ec0227de96442af4dd6d']
Updates for Xcode 14 (#3632) * Update for Xcode 14. * Fix alternate behavior condition.
[{'old_path': 'Alamofire.xcodeproj/project.pbxproj', 'new_path': 'Alamofire.xcodeproj/project.pbxproj', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1195,7 +1195,7 @@\n \t\t\tisa = PBXProject;\n \t\t\tattributes = {\n \t\t\t\tLastSwiftUpdateCheck = 1250;\n-\t\t\t\tLastUpgradeCheck = 1340;\n+\t\t\t\tLastUpgradeChe...
Swift
dc9d7d40966b700ff6a2ee58a1ec75cfbb6b51a5
90
2022-07-17 21:32:50-04:00
-28,800
['9c2bab4711fbccd715d151f9431c2d2e702e4f3f']
Remove redundant parameter descriptions in ResponseSerialization.swift (#3630) Update ResponseSerialization.swift Remove redundant parameter descriptions in ResponseSerialization.swift
[{'old_path': 'Source/ResponseSerialization.swift', 'new_path': 'Source/ResponseSerialization.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -817,8 +817,6 @@ extension DataRequest {\n /// - queue: The queue on which the completion handler is dispatched. `.main` by default.\n /// - d...
Swift
8dd85aee02e39dd280c75eef88ffdb86eed4b07b
68
2022-07-17 22:23:40-04:00
14,400
['dc9d7d40966b700ff6a2ee58a1ec75cfbb6b51a5']
Prepare 5.6.2 (#3633) * Update to 5.6.2. * Update docs.
[{'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n- s.version = '5.6.1'\n+ s.version = '5.6.2'\n s.license = 'MIT'\n s.summary = 'Elegant HTTP Networking in Swift'\n s.homepage = 'ht...
Swift
bdecb2c87a21a236dcfe88b21532ad3f0e3d20f4
92
2022-10-03 00:00:31-04:00
-32,400
['c3d01308c45e35b83389f34353ac5bf2f8149821']
Remove unnecessary protocol in Combine (#3650) ### Goals :soccer: <!-- List the high-level objectives of this pull request. --> <!-- Include any relevant context. --> Subscription is Cancellable. Remove unnecessary Cancellable adoption in Inner of Combine. ### Testing Details :mag: <!-- Describe what tests...
[{'old_path': 'Source/Combine.swift', 'new_path': 'Source/Combine.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -87,7 +87,7 @@ public struct DataResponsePublisher<Value>: Publisher {\n downstream: subscriber))\n }\n \n- private final class Inner<Downstre...
Swift
7884a65c6c251088c95eae70acd9adfd08fa7c68
100
2022-11-16 11:10:01-05:00
-3,600
['bdecb2c87a21a236dcfe88b21532ad3f0e3d20f4']
Fix calls of deprecated withTaskCancellationHandler version (#3657) ### Goals :soccer: `withTaskCancellationHandler(handler:operation:)` has been deprecated in Swift 5.7 in favor of `withTaskCancellationHandler(operation:onCancel:)` (see https://github.com/apple/swift/pull/60569). This PR updates all calls of th...
[{'old_path': 'Source/Concurrency.swift', 'new_path': 'Source/Concurrency.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -118,9 +118,9 @@ public struct DataTask<Value> {\n get async {\n if shouldAutomaticallyCancel {\n return await withTaskCancellationHandler {\n- ...
Swift
da1f2bb108a638b95b44d8c00145284e1abd8e03
68
2022-11-20 20:42:22-05:00
18,000
['7884a65c6c251088c95eae70acd9adfd08fa7c68']
Move Swift Package to 5.7. (#3653) ### Goals :soccer: This PR moves the Swift package to Swift 5.7 and adds a specific Swift 5.6 package file.
[{'old_path': '.github/workflows/ci.yml', 'new_path': '.github/workflows/ci.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,16 +6,16 @@ on:\n - master\n - hotfix\n paths:\n- - \'.github/workflows/**\'\n- - \'Package.swift\'\n- - \'Source/**\'\n- - \'Tests/**\'\n+ - "....
Swift
f512df48300140994b1ea56a2ff024a4734cef2b
68
2022-11-20 23:41:19-05:00
18,000
['da1f2bb108a638b95b44d8c00145284e1abd8e03']
Prepare 5.6.3 (#3664) ### Issue Link :link: This PR prepares the 5.6.3 release.
[{'old_path': 'Alamofire.podspec', 'new_path': 'Alamofire.podspec', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,6 +1,6 @@\n Pod::Spec.new do |s|\n s.name = 'Alamofire'\n- s.version = '5.6.2'\n+ s.version = '5.6.3'\n s.license = 'MIT'\n s.summary = 'Elegant HTTP Networking in Swift'\n s.homepage = 'ht...
Swift
8c926e6012d27c7ef517d9e3f6e12634bc5e4a1d
53
2022-11-21 17:40:01-05:00
-3,600
['f512df48300140994b1ea56a2ff024a4734cef2b']
Update Package.swift to fix Xcode 14 warnings (#3665) ### Goals :soccer: Fix Xcode 14 warnings: The oldest supported versions are: - macOS 10.13 - iOS 11.0 - tvOS 11.0 - watchOS 4.0
[{'old_path': 'Package.swift', 'new_path': 'Package.swift', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,10 +26,10 @@\n import PackageDescription\n \n let package = Package(name: "Alamofire",\n- platforms: [.macOS(.v10_12),\n- .iOS(.v10),\n- ...
Swift