Commit Graph

35 Commits

Author SHA1 Message Date
Jon Shier 236844f551
Revert Deployment Target Changes (#3720)
### Issue Link 🔗
#3719

### Goals 
Unfortunately the deployment changes were more breaking than expected so
this PR reverts them. Anyone having issues with libarclite should
manually set their deployment target using a `post_install` hook, but
that issue is much less common than this deployment target issue.
2023-05-10 15:46:32 +00:00
Jon Shier e065ed9eeb
Bump Deployment Targets (#3717)
### Issue Link 🔗
#3716

### Goals 
This PR bumps the deployment targets to the iOS 11 generation to fix
issues when using Xcode 14.3.

### Implementation Details 🚧
Deployment target bumps and removal of relevant conditionals.
2023-05-09 21:32:19 +00:00
Jon Shier 9c2bab4711
Updates for Xcode 14 (#3632)
* Update for Xcode 14.

* Fix alternate behavior condition.
2022-07-17 21:32:10 -04:00
Jon Shier 3a20cf97a7
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.
2022-05-26 19:35:48 -04:00
Jon Shier 6eeff3c57e
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.
2022-03-13 16:21:52 -04:00
Jon Shier 0c3780efc9
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 for concurrency tests.

* Disable thread sanitizer on iOS as well.

* Update inline docs, add stream cancellation.

* Add documentation.

* Document async value handlers.

* Remove TODO.

* Add doc comment.

* Target the concurrent queue for the streams.

* Rename finishObservers to finishHandlers.
2021-12-13 17:28:25 -05:00
Jon Shier f96b619bcb
Prepare 5.4.3 (#3441)
* Version to 5.4.3.

* Update Jazzy docs.

* Formatting.
2021-04-21 22:49:02 -04:00
Jon Shier c0cde48e5c
Update for Xcode 12.4, Project Templates (#3414)
* Xcode 12.4 checks.

* Update templates.

* Fix tvOS and watchOS CI platforms.
2021-02-28 22:59:19 -05:00
Jon Shier b5dfb35435
Test Refactor with Firewalk (#3215)
* Test standardization and abstraction.

* Version updates.

* Update Authentication and DataStream tests.

* Test formatting.

* Update Download tests.

* Continue switching to Endpoint.

* Allow SwiftFormat to remove unnecessary fileprivate.

* Fix RequestModifier tests.

* Update RequestInterceptorTests.

* Update CombineTests.

* Update RequestTests.

* Update SessionTests.

* Update UploadTests.

* Update SessionTests.

* Start deprecating URL factory.

* Update SessionTests.

* Update RequestInterceptorTests.

* Update UploadTests.

* Update Cache and URLProtocol tests.

* Update ResponseTests.

* Update SessionDelegateTests.

* Update RequestTests.

* Update ValidationTests.

* Update SessionTests, CachedResponseHandlerTests.

* Update SessionTests and RequestTests.

* Don’t install Firewalk for build only config.

* Double data in progress test.

* Use Endpoint() instead of Endpoint.default.
2021-02-01 00:05:07 -05:00
Jon Shier 19df306645
Fix Double Lock in AuthenticationInterceptor (#3322)
* Fix double lock in AuthenticationInterceptor.

* Refactor test name.

* Get rid of additional Xcode checks.
2020-10-14 23:30:13 -04:00
Jon Shier 2e1de3a127
Update to Xcode 12 build settings, standardize across platforms. (#3309)
* Update to Xcode 12 build settings, standardize.

* Update to Xcode 12 for CI.
2020-09-20 19:04:20 -04:00
Jon Shier 183d44f787
Fix thread-safety issue for serialization queue usage. (#2885)
* Fix thread-safety issue for serialization queue usage.

* Add launch screen for example.
2019-07-31 19:29:33 -04:00
Christian Noon 6e3dec3a65
Updated project settings and fixed example app (#2786)
* Updated the Alamofire Xcode project project format to Xcode 10.0 compatible

* Updated the iOS Example Xcode project to fix Xcode 10.2 warnings

* Fixed compile error in example app due to result API changes
2019-04-06 09:55:04 -07:00
Christian Noon 050f4e0311 Swift 5!!! (#2771)
* Updated Xcode project, source code, SPM package, and podspec to Swift 5

* Fixed up test suite failures due to behavioral changes in Swift 5

* Updated Travis-CI yml file to build against Xcode 10.2
2019-03-27 19:30:28 -04:00
Jon Shier 3e488dcd5c
Alamofire 5! (#2375)
* Drop iOS 8 / macOS 10.10 support and remove all workarounds. (#2254)

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Refactor ServerTrustPolicy (#2344)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Fixup merge.

* Whitespace cleanup.

* Brotli Support (#2442)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Add brotli support to default Accept-Encoding header.

* Add tests for encodings, make listing dynamic.

* Fixes after bad merges.

* Added radar to the README for the URLSessionTaskMetrics issue on watchOS. (#2387)

* Update to #2389 (#2443)

* Clarify OS versions affected by download resume bug (#2389)

* Rephrase a bit.

* Set appropriate protection levels on NetworkReachabilityManager members (#2393)

* Update Installation guide to current version (#2395)

* Update for Swift 4.1 / Xcode 9.3. (#2441)

* Update for Swift 4.1 / Xcode 9.3.

* Update .travis.yml.

* Update Ruby/Travis.

* ResultTests: Update and fix typos (#2416)

Using String.count instead of String.characters.count
Fix typos in some test failure messages
Asserting nil and not nil with XCTAssertNil and XCTAssertNotNil

* Include explicit xcpretty to fix Travis.

* Revert to Ruby 2.4.2 due to Travis stupidity.

* Add configurable parameter handling to URLEncoding. (#2431)

* Add configurable array parameter handling to URLEncoding.

* Add configurable boolean parameter handling to URLEncoding.

* Addressing PR feedback for URLEncoding.

* Documentation for BoolEncoding and ArrayEncoding options in URLEncoding.

* Remove pledgie.com (#2446)

* Typo in the example code - one missing ( (#2445)

* Minor doc reorganization. (#2453)

* Move templates into .github folder, in preparation for more.

* Update README to fix links geneated by Jazzy.

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks (#2427)

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks

* ResponseBodyInNotification: fix unittests sometimes failing on travis ci

* Update for 4.7 release.

* Add period.

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Fix for Swift 4.

* Update for compactMap.

* Fixes from merging.

* Update .swift-version.

* Alamofire 5 Core Rewrite! (#2521)

* Works towards integrating rewrite.

* Fix more tests.

* Add EventMonitor, work towards completion.

* Refactor request creation and lifetime methods, implement retry.

* Fix asynchronous state changes and cancellation during async work.

* Update how we turn strings into data.

* Reimplement multipart form data uploads.

* Implement downloads, progress, and enable tests.

* Remove some generics, cleanup whitespace.

* Remove another generic.

* Add URLSession intializer and default configuration.

* Update podspec for new requirements, link CFNetwork.

* Finalize EventMonitor events, other misc. cleanup.

* Refactor response description and timings.

* Format headers more readably.

* Description cleanup.

* Remove Timeline.

* Cleanup Request and add descriptions.

* Start refactoring notifications.

* Refactor notifications, add default event monitor implementation.

* Revert find/replace change to CHANGELOG.

* Remove experimental code.

* Mark some TODO refinements.

* Switch to a single mutable thread-safe state, reenable validation tests.

* Clean up whitespace.

* Mark property public instead of open.

* Add Alamofire root enum as a namespace for global functionality.

* Cleanup Alamofire global functionality, other cleanup.

* Cleanup some TODOs, start adding more docs.

* Cleanup authorization headers.

* Undo some unwanted changes.

* Continue work on documentation.

* Update how data is created from string.

* Refactor file downloads to always move file.

* Update event monitor method for new fileURL.

* Make acceptableContentTypes an autoclosure, as request is async.

* Enable thread sanitizer for iOS and tvOS testing.

* Fix iOS example.

* Fix test whose value varies by Swift version.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Alamofire 5: Server Trust Errors (#2608)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Refactor evaluation API, DRY up a little bit.

* Update convienience property.

* Add comment for public `Error` API.

* Async RequestAdapter (#2628)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Squashed commit of the following:

commit 32573d05b9
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5248
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208adc36
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df67e5
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c264
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 91538000a7
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179f06
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e233f
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d33128ba
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad317
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19283
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f3b5
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193f06
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50d88
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc17d3
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be562f
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9e87
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768d8e
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Squashed commit of the following:

commit 32573d05b9
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5248
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208adc36
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df67e5
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c264
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 91538000a7
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179f06
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e233f
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d33128ba
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad317
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19283
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f3b5
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193f06
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50d88
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc17d3
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be562f
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9e87
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768d8e
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Real HTTPHeaders type. (#2629)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Updates for review.

* Whitespace cleanup.

* Squashed commit of the following:

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Encodable Request Parameters (#2637)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Allow customization of space encoding and percent escaped character set.

* Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Updates for review.

* Whitespace cleanup.

* Whitespace cleanup.

* Update comments, DRY up single value container.

* Add additional tests.

* Squashed commit of the following:

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Add additional tests.

* Add more tests, remove dead code.

* More tests for failing optional encodes.

* Customizable Empty Response Handling (#2639)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Support customizable empty reponse codes and methods.

* Allow customization of space encoding and percent escaped character set.

* Allow customization of space encoding and percent escaped character set.

* Alamofire 5: Empty Response Refactor (2nd Refactor) (#2646)

* Removed AnyResponseSerializer since it is no longer in use

* Moved empty request and response status code logic into protocol extension

* Squashed commit of the following:

commit a3dc191bec
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 17:35:17 2018 -0500

    Add additional tests.

commit ae8fde4f89
Merge: 34f3668 ea48749
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:43:12 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

    # Conflicts:
    #	Source/AFError.swift

commit ea48749660
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:25:48 2018 -0500

    Call add instead of update.

commit 2d735627ac
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:24:48 2018 -0500

    Add add methods to HTTPHeaders, whitespace cleanup.

commit f2bf3952e2
Merge: 410a2e3 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:45:38 2018 -0500

    Merge remote-tracking branch 'origin/alamofire5' into feature/httpheaders

    # Conflicts:
    #	Tests/SessionManagerTests.swift

commit 410a2e3d9e
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:44:15 2018 -0500

    Squashed commit of the following:

    commit 7a73af6990
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:39:20 2018 -0500

        Async RequestAdapter (#2628)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Make RequestAdapter async.

    commit ccfb96acd4
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:32:04 2018 -0500

        Alamofire 5: Server Trust Errors (#2608)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Refactor evaluation API, DRY up a little bit.

        * Update convienience property.

        * Add comment for public `Error` API.

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

commit 34f3668794
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:26:32 2018 -0500

    Add additional tests.

commit ba2e15cba6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:56:14 2018 -0500

    Update comments, DRY up single value container.

commit 38d764bf69
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:36:01 2018 -0500

    Whitespace cleanup.

commit b0cf0c529c
Merge: 22ccd91 4adae8c
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:35:16 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

commit 4adae8c7b2
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:30:59 2018 -0500

    Whitespace cleanup.

commit aaa3e6a10d
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:29:30 2018 -0500

    Updates for review.

commit 22ccd91252
Author: Christian Noon <christian.noon@gmail.com>
Date:   Wed Nov 21 14:20:08 2018 -0800

    Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Update tests and clean up default value handling.

* Fix bad merge.

* Fix misspelling.

* Refactor Notifications (#2654)

* Refactor notifications.

* Add Foundation import for SPM.

* Alamofire 5: Project Cleanup and Unification (#2655)

* Whitespace cleanup.

* Reupdate Example app.

* Update project to Xcode 10 format, move settings into base if possible.

* Adopt recommended project settings.

* Attempt to make tests more reliable.

* Another attempt at test reliability.

* Another attempt at test stabalization.

* Remove debug build to speed up testing.

* Ensure Swift 4.2 for local pod builds.

* Fix #2658: default empty response values non-public (#2659)

* Alamofire 5: Abstract decoders for decodable response serialization (#2657)

* Cleanup previous changes.

* Add DataDecoder, refactor DecodableResponseSerializer.

* Add top level doc comment for DataDecoder.

* Remove unnecessary access modifier.

* Prepare for Alamofire 5.0.0.beta.1 (#2660)

* Start CHANGELOG.

* Finalize README.

* Update Jazzy docs.

* Update README.

* Update for review.

* Fix test availability.
2018-12-06 20:45:00 -05:00
Jon Shier d0208adc36
Updates for 4.8.0 (#2648)
* Prepare for 4.8 update.

* Update Jazzy docs.

* Update Swift packages.

* Add os for Travis.

* Move base Swift vesion to 4.

* Update Travis to use bundle install, include xcpretty.

* Fix watchOS targets, tests.

* Add support for swift_versions.

* Update CHANGELOG and .ruby-version.

* Cache bundler and RVM.

* Remove manual bundle install.

* Use Ruby 2.4.5.

* Remove manual RVM cache.

* Remove now flaky resume data tests.

* Fix non-deterministic tests.

* Reenable pod lib lint step.
2018-11-24 21:22:04 -05:00
Jon Shier e6c26e0db3
Updates for Xcode 9.3 (#2473)
* Fix notification tests in Swift 4.1, add IDEWorkspace chcks.

* Update Travis for Xcode 9.3.

* Update project settings.

* Use Travis 9.3beta image.
2018-03-31 18:42:01 -04:00
Jon Shier c8ffe77f0b
Update for Swift 4.1 / Xcode 9.3. (#2441)
* Update for Swift 4.1 / Xcode 9.3.

* Update .travis.yml.

* Update Ruby/Travis.
2018-02-17 23:06:46 -05:00
Christian Noon 0214a522f8 Removed duplicate overridden project settings in frameworks and example app. 2017-09-06 10:30:18 -07:00
Jon Shier c016dbfda6 Add GitHub templates for issues and PRs. 2017-06-27 07:45:11 -07:00
Jon Shier 8e85284b58 Update styling, fix warnings by setting the swift migration value, turn off @objc inference. 2017-06-16 16:31:37 -07:00
Jon Shier 0edade1183 Make Alamofire build under Xcode 9 with Swift 3.2 and 4. 2017-06-16 16:31:37 -07:00
Christian Noon d0a6b5ee4d Updated the iOS Example app deployment target to iOS 8.0. 2016-11-15 08:34:08 -08:00
Christian Noon 9917beeebc Updated test framework names in iOS Example app since Xcode insisted. 2016-11-12 17:54:55 -08:00
Christian Noon e50160acda Replaced instances of `com.alamofire` with `org.alamofire` throughout project. 2016-09-11 04:00:48 -07:00
Christian Noon 73e4767d26 Set code signing to automatic with no team on framework, test and app targets.
Also updated all the code signing identities to be `iPhone Developer` or `None` on macOS.
2016-09-08 19:49:41 -07:00
Christian Noon ee4d6ce6b4 Merge branch 'swift3'
# Conflicts:
#	.travis.yml
#	Alamofire.podspec
#	Alamofire.xcodeproj/project.pbxproj
#	CHANGELOG.md
#	Example/iOS Example.xcodeproj/project.pbxproj
#	README.md
#	Source/Alamofire.swift
#	Source/Download.swift
#	Source/Info-tvOS.plist
#	Source/Info.plist
#	Source/Manager.swift
#	Source/MultipartFormData.swift
#	Source/Notifications.swift
#	Source/ParameterEncoding.swift
#	Source/Request.swift
#	Source/Response.swift
#	Source/ResponseSerialization.swift
#	Source/Result.swift
#	Source/ServerTrustPolicy.swift
#	Source/Stream.swift
#	Source/Timeline.swift
#	Source/Upload.swift
#	Source/Validation.swift
#	Tests/DownloadTests.swift
#	Tests/ManagerTests.swift
#	Tests/MultipartFormDataTests.swift
#	Tests/ParameterEncodingTests.swift
#	Tests/RequestTests.swift
#	Tests/ServerTrustPolicyTests.swift
#	Tests/SessionDelegateTests.swift
#	Tests/TLSEvaluationTests.swift
#	Tests/UploadTests.swift
2016-09-07 23:55:52 -07:00
Christian Noon 91149f5524 Upgraded the iOS Example project file to Xcode 8. 2016-09-07 19:24:18 -07:00
Jon Shier 823082d667 Updates for beta 3. 2016-09-07 19:02:51 -07:00
Kevin Harwood c65e8450de Initial 2.3 migration for Source, Tests, and Example App 2016-09-07 19:02:51 -07:00
Christian Noon 913f98a4f0 Bumped deployment targets to iOS 9.0, macOS 10.11, tvOS 9.0 and watchOS 2.0.
Also cleaned up all OS version checks that are no longer necessary.
2016-07-24 18:47:50 -07:00
Jon Shier f55bdf7a96 Updates for beta 3. Convert iOS Example to Swift 3 explicitly. 2016-07-18 22:43:22 -04:00
Cédric Luthi d45df72d91 Set indentation settings to four spaces at the project level 2016-04-14 23:03:38 +02:00
Christian Noon abbf1c3960 Reorganized the example app files into Source and Resources folders. 2016-02-07 13:58:56 -08:00
Jon Shier 88127becca Move iOS Example project into Examples to fix CocoaDocs generation. 2016-01-24 23:43:11 -05:00