Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 #69

Merged
merged 111 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
82aaae3
feat: add decoding capability in case of failure caused due to HTTP s…
loay-ashraf Aug 21, 2023
a2029db
Merge pull request #25 from loay-ashraf/feature/decode_http_error_body
loay-ashraf Aug 21, 2023
df519d5
feat: override User-Agent HTTP header in session configuration (#26)
loay-ashraf Aug 21, 2023
91e75ca
Add macOS example (#27)
loay-ashraf Aug 24, 2023
1949782
Apply new version (0.0.2) (#28)
loay-ashraf Aug 24, 2023
1fb7ed0
fix: remove RxDataSources import statement (#31)
loay-ashraf Aug 24, 2023
b686c26
Add CI Workflows For Repository (#33)
loay-ashraf Aug 25, 2023
3e1bf19
Merge branch 'main' into development
loay-ashraf Aug 25, 2023
33ebb62
Update CI Workflows
loay-ashraf Aug 26, 2023
d433ca5
Merge branch 'main' into development
loay-ashraf Aug 26, 2023
088b62c
update CI workflows
loay-ashraf Aug 26, 2023
665df74
Merge branch 'development' of https://github.com/loay-ashraf/RxNetwor…
loay-ashraf Aug 26, 2023
c4b211f
Merge branch 'main' into development
loay-ashraf Aug 26, 2023
b91663b
Update CI Workflow
loay-ashraf Aug 26, 2023
9ff0ed4
Merge branch 'main' into development
loay-ashraf Aug 26, 2023
cb4bbe9
Merge branch 'main' into development
loay-ashraf Aug 26, 2023
c884646
Update Dependency Version Rules (#45)
loay-ashraf Aug 26, 2023
4795fd7
feat: add WebSocket capability to NetworkManager (#46)
loay-ashraf Oct 4, 2023
b7935cd
fix a typo
loay-ashraf Oct 4, 2023
30d6c91
update dependencies versions
loay-ashraf Oct 4, 2023
48bf7ea
update Package.swift + podspec file
loay-ashraf Oct 4, 2023
106245c
change xcode version used in CI/CD to 14.3.1
loay-ashraf Oct 4, 2023
d7e4ec5
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
81ae484
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
cb2672e
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
1018729
Update build.yml
loay-ashraf Oct 4, 2023
65100f0
Update build.yml
loay-ashraf Oct 4, 2023
be2f64a
update workflow files
loay-ashraf Oct 4, 2023
42eca2a
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
4e434e4
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
7ad7842
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
797752a
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
3276f6d
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
101e691
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
1d6ee4b
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
eba9462
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
585fd92
Update pod-trunk-push.yml
loay-ashraf Oct 4, 2023
006acea
Update spm-lint.yml
loay-ashraf Oct 4, 2023
96a6c16
Update build-macos.yml
loay-ashraf Oct 4, 2023
318f32a
update Xcode version to 15.0.0 for CI workflows
loay-ashraf Oct 4, 2023
953264b
Merge branch 'main' into develop
loay-ashraf Oct 4, 2023
907121b
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
bb48adf
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
d744314
Update pod-lib-lint.yml
loay-ashraf Oct 4, 2023
e4e5f38
break: drop support for Cocoapods (cannot work with Xcode 15)
loay-ashraf Oct 5, 2023
52f72be
[49][DocC][Update Documentation] (#50)
loay-ashraf Oct 5, 2023
d2a10ce
update CI workflows to build docs
loay-ashraf Oct 5, 2023
f62e74c
update CI workflows
loay-ashraf Oct 5, 2023
5494beb
Update build-ios.yml
loay-ashraf Oct 5, 2023
4d8073e
Update build-ios.yml
loay-ashraf Oct 5, 2023
e157d9b
Update build-ios.yml
loay-ashraf Oct 5, 2023
295b46e
Update build-ios.yml
loay-ashraf Oct 5, 2023
d5a7037
Update build-ios.yml
loay-ashraf Oct 5, 2023
d666135
Update build-ios.yml
loay-ashraf Oct 5, 2023
9fb5828
Merge branch 'main' into develop
loay-ashraf Oct 5, 2023
46ac717
fix: update corrupt ci workflow file
loay-ashraf Oct 5, 2023
1e419eb
Merge branch 'main' into develop
loay-ashraf Oct 5, 2023
f0b1dbd
Delete build-deploy-docs1.yml
loay-ashraf Oct 5, 2023
90539eb
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
27aa3ab
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
057683e
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
609ab04
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
55ae407
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
ccaa5e5
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
f7a059f
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
8040980
update CI workflows
loay-ashraf Oct 5, 2023
f3b8ee7
Update build.yml
loay-ashraf Oct 5, 2023
3d4c9b4
Update build-ios.yml
loay-ashraf Oct 5, 2023
9619cfe
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
84a4389
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
e34c8ce
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
5cdbb67
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
bfb235f
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
34320d8
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
fff4d44
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
5b5b665
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
9cdd3eb
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
9fdbd6f
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
4ae026d
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
7fae70d
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
e0bd8d6
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
6433d3a
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
621cb73
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
63511b5
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
c02167f
Update build-deploy-docs.yml
loay-ashraf Oct 5, 2023
ee129c7
Update websocket error handling (#58)
loay-ashraf Oct 9, 2023
00c4bd9
Merge branch 'main' into develop
loay-ashraf Oct 10, 2023
66caa61
Update build.yml
loay-ashraf Oct 10, 2023
b6bc7b3
Rename Types and Organize Project files (#61)
loay-ashraf Jan 9, 2024
4caf078
Update build.yml
loay-ashraf Jan 9, 2024
cda76e9
Update build.yml
loay-ashraf Jan 9, 2024
4b6f4c0
feat: bump Xcode version to 15.1.0 for workflow files
loay-ashraf Jan 9, 2024
b13b159
Feature/add watch os example (#62)
loay-ashraf Jan 9, 2024
78b95ad
fix: silence warnings
loay-ashraf Jan 9, 2024
47d0660
feat: add watchOS platform to package manifest + sort files
loay-ashraf Jan 9, 2024
2cf9969
Feature/add tvos support (#63)
loay-ashraf Jan 10, 2024
4acd84b
Update README.md
loay-ashraf Jan 10, 2024
d1bcef7
Merge branch 'main' into develop
loay-ashraf Jan 10, 2024
377cc67
feat: update Dummy project used to verify SPM
loay-ashraf Jan 10, 2024
4e17214
fix: update README.md + add missing initializers
loay-ashraf Jan 10, 2024
8f4f120
Update RxNetworkKit.md
loay-ashraf Jan 10, 2024
c435325
Update spm-lint.yml
loay-ashraf Jan 10, 2024
bff391c
Merge branch 'main' into develop
loay-ashraf Jan 10, 2024
fd616bd
fix: update ci file + remove typo
loay-ashraf Jan 10, 2024
44f13c9
Merge branch 'main' into develop
loay-ashraf Jan 10, 2024
ab41447
Feature/add request logging (#67)
loay-ashraf Jan 25, 2024
1c6c99a
Update README.md
loay-ashraf Jan 25, 2024
a47ee43
Merge branch 'main' into develop
loay-ashraf Jan 25, 2024
caa553c
feat: update documentation
loay-ashraf Jan 25, 2024
3968c38
feat: bump versions to 2.0.0
loay-ashraf Jan 25, 2024
05967a9
Merge branch 'main' into develop
loay-ashraf Jan 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Docs.docc/Pages/RxNetworkKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ It makes use of RxSwift's traits at request level to acheive a high level of spe
### Foundation

- ``Session``
- ``SessionConfiguration``
- ``RESTClient``
- ``HTTPClient``

Expand All @@ -45,10 +46,6 @@ It makes use of RxSwift's traits at request level to acheive a high level of spe
- ``HTTPRequestRetrier``
- ``HTTPRequestRetryPolicy``

### Event Monitor

- ``HTTPRequestEventMonitor``

### Network Reachability

- ``NetworkReachability``
Expand Down
4 changes: 2 additions & 2 deletions Examples/iOS/iOS Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample;
PRODUCT_NAME = "iOS Example";
Expand Down Expand Up @@ -367,7 +367,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample;
PRODUCT_NAME = "iOS Example";
Expand Down
4 changes: 2 additions & 2 deletions Examples/macOS/macOS Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitMacOSExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -394,7 +394,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitMacOSExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 2 additions & 2 deletions Examples/tvOS/tvOS Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.las.tvOSExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -398,7 +398,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.las.tvOSExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
4 changes: 2 additions & 2 deletions Examples/watchOS/watchOS Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.las.watchOSExample.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
Expand Down Expand Up @@ -436,7 +436,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.las.watchOSExample.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
Expand Down
4 changes: 2 additions & 2 deletions RxNetworkKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKit;
Expand Down Expand Up @@ -698,7 +698,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKit;
Expand Down
4 changes: 2 additions & 2 deletions Shared/CoreExample/CoreExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.las.CoreExample;
Expand Down Expand Up @@ -411,7 +411,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 2.0.0;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.las.CoreExample;
Expand Down
6 changes: 3 additions & 3 deletions Source/Session/Types/SessionConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ public class SessionConfiguration {
.init(urlSessionConfiguration: .default, setUserAgentHeader: true, logRequests: true)
}

/// `URLSessionConfiguration`object used to create `URLSession` object.
/// `URLSessionConfiguration` object used to create `URLSession` object.
let urlSessionConfiguration: URLSessionConfiguration
/// `Bool` flag that indicates wether a `URLSession` should add `User-Agent` header to outgoing requests.
let setUserAgentHeader: Bool
/// `Bool` flag that indicates wether a `URLSession` should print outgoing requests to the console.
let logRequests: Bool

/// Description
/// Creates a `SessionConfiguration` instance.
///
/// - Parameters:
/// - urlSessionConfiguration: `URLSessionConfiguration`object used to create `URLSession` object.
/// - urlSessionConfiguration: `URLSessionConfiguration` object used to create `URLSession` object.
/// - setUserAgentHeader: `Bool` flag that indicates wether a `URLSession` should add `User-Agent` header to outgoing requests.
/// - logRequests: `Bool` flag that indicates wether a `URLSession` should print outgoing requests to the console.
public init(urlSessionConfiguration: URLSessionConfiguration, setUserAgentHeader: Bool, logRequests: Bool) {
Expand Down
Loading