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

5.0.0 #141

Merged
merged 115 commits into from
Jun 13, 2024
Merged

5.0.0 #141

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
3fdc54d
Remove Alamofire as dependency and add needed files from there
ngagarinov May 3, 2023
272abd1
Adopt nodes after removing Alamofire for URLRequest API
ngagarinov May 3, 2023
d0e0ed0
Fix tests and some building problems
ngagarinov May 16, 2023
974161a
Add RequestCreatorNodeTests and CustomServerErrorProcessorNode
ngagarinov May 12, 2023
d3e2d78
Fix package problems
ngagarinov May 16, 2023
dd253ff
Remove some generics
ngagarinov May 16, 2023
f44c017
SPT-1998 minor change
Mar 20, 2024
a966d36
Revert "SPT-1998 minor change"
Mar 20, 2024
7500c6f
SPT-1998 encrease deployment target and swift version
Mar 20, 2024
47d1e94
SPT-1998 set ci Xcode to 15 version
mrandrewsmith Mar 21, 2024
23875fe
SPT-1998 update make file
mrandrewsmith Mar 21, 2024
7004bc5
SPT-1998 improve generic protocols and create logger context
Mar 19, 2024
6a5629e
SPT-1998 fix style
Mar 20, 2024
6ad7b10
SPT-1998 fix pr
mrandrewsmith Apr 11, 2024
7c3be2d
Merge pull request #120 from surfstudio/SPT-1998-swift-concurrency
mrandrewsmith Apr 11, 2024
5311162
SPT-1998 fix pr
mrandrewsmith Apr 16, 2024
49bb19a
Merge pull request #121 from surfstudio/SPT-1998-logger
mrandrewsmith Apr 16, 2024
dc21920
SPT-1998 support swift concurrency first iteration
Mar 20, 2024
f8ac7d7
SPT-1998 wip
mrandrewsmith Mar 23, 2024
446ebf5
SPT-1998 fix tests
mrandrewsmith Mar 26, 2024
6cc2488
SPT-1998 fix typo
mrandrewsmith Mar 26, 2024
58e83d7
SPT-1998 fix NodeError
mrandrewsmith Mar 26, 2024
ea27680
SPT-1998 fix pr
mrandrewsmith Mar 27, 2024
f073d17
SPT-1998 fix typo
mrandrewsmith Apr 11, 2024
d3ae0e1
SPT-1998 rebase fix
mrandrewsmith Apr 16, 2024
0815baf
SPT-1998 fix pr
mrandrewsmith Apr 16, 2024
d07d89a
SPT-1998 support combine
mrandrewsmith Mar 31, 2024
5293427
TTPAD-1998 fix build
mrandrewsmith Apr 1, 2024
a22e6b6
SPT-1998 add some methods to node protocols
mrandrewsmith Apr 1, 2024
0aa7a28
SPT-1998 fix pr and some improvements
mrandrewsmith Apr 3, 2024
a94c1fe
SPT-1998 fix typo
mrandrewsmith Apr 11, 2024
2121a70
SPT-1998 fix rebase
mrandrewsmith Apr 16, 2024
c4a441b
SPT-1998 update unit tests
mrandrewsmith Apr 4, 2024
2b4a68d
SPT-1998 add unit tests for some nodes
mrandrewsmith Apr 4, 2024
8125c3d
SPT-1998 another part of tests
mrandrewsmith Apr 5, 2024
8d473f3
SPT-1998 tests improvements plus new tests
mrandrewsmith Apr 5, 2024
2682089
SPT-1998 fix codecov intergration
mrandrewsmith Apr 10, 2024
8418012
Auto stash before rebase of "refs/heads/SPT-1998-unit-tests"
mrandrewsmith Apr 16, 2024
687c91f
SPT-1998 use actions/checkout@v4
mrandrewsmith Apr 16, 2024
e26cc87
Updates for documentation
chausovSurfStudio Apr 16, 2024
3aa0aed
Revert "Updates for documentation"
mrandrewsmith Apr 16, 2024
6c39ce6
SPT-1998 another part of tests
mrandrewsmith Apr 8, 2024
9304c2c
SPT-1998 append missing file
mrandrewsmith Apr 8, 2024
37737fc
SPT-1998 fix build
mrandrewsmith Apr 10, 2024
7604cdf
SPT-1998 fix tests and code coverage
mrandrewsmith Apr 10, 2024
5d52599
SPT-1998 remove legacy code
mrandrewsmith Apr 8, 2024
e243a5e
SPT-1998 delete unused code
mrandrewsmith Apr 8, 2024
914aeae
SPT-1998 add third party as a package
mrandrewsmith Apr 8, 2024
3cb3c20
SPT-1998 fix build
mrandrewsmith Apr 10, 2024
2de673b
SPT-1998 fix pr
mrandrewsmith Apr 16, 2024
f8a46ab
Updates for documentation
chausovSurfStudio Apr 16, 2024
ad7f6d7
SPT-1998 fix tests and code coverage
mrandrewsmith Apr 10, 2024
0264256
SPT-1998 add tests
mrandrewsmith Apr 10, 2024
3673334
Merge pull request #122 from surfstudio/SPT-1998-swift-cuncurrency-su…
mrandrewsmith Apr 16, 2024
c0dcc12
Merge pull request #123 from surfstudio/SPT-1998-combine-support
mrandrewsmith Apr 24, 2024
0686d83
Merge pull request #124 from surfstudio/SPT-1998-unit-tests
mrandrewsmith Apr 24, 2024
ba0a840
Merge pull request #125 from surfstudio/SPT-1998-unit-tests-part2
mrandrewsmith Apr 24, 2024
66df030
SPT-1998 fix pr
mrandrewsmith Apr 24, 2024
915d6f0
Merge pull request #126 from surfstudio/SPT-1998-unit-tests-legacy-re…
mrandrewsmith Apr 24, 2024
3deeb87
Merge pull request #127 from surfstudio/SPT-1998-unit-tests-part3
mrandrewsmith Apr 24, 2024
78dea53
SPT-1998 add integration tests
mrandrewsmith Apr 9, 2024
8fcd9da
SPT-1998 move file to another directory
mrandrewsmith Apr 10, 2024
38eb31b
SPT-1998 fix pr
mrandrewsmith Apr 16, 2024
c5e2ee8
SPT-1998 rebase
mrandrewsmith Apr 24, 2024
f5d11ec
Merge pull request #128 from surfstudio/SPT-1998-integration-tests
mrandrewsmith Apr 24, 2024
40d8597
SPT-1998 create mock target
mrandrewsmith Apr 10, 2024
7d03e6b
SPT-1998 remove unused
mrandrewsmith Apr 10, 2024
77a98d8
SPT-1998 fix spm build
mrandrewsmith Apr 10, 2024
8dafb97
Merge pull request #129 from surfstudio/SPT-1998-make-mock-target
mrandrewsmith Apr 24, 2024
bc694c9
SPT-1998 update expample
mrandrewsmith Apr 16, 2024
96597d9
SPM-1998 fixes
mrandrewsmith Apr 16, 2024
f42968d
SPT-1998 restore gemfile
mrandrewsmith Apr 16, 2024
8315986
SPT-1998 fix pr
mrandrewsmith Apr 18, 2024
da998b5
SPT-1998 fix pr
mrandrewsmith May 2, 2024
6b07004
SPT-1998 refactor builders and add mocks
mrandrewsmith May 2, 2024
01319c9
SPT-1998 append missed files
mrandrewsmith May 2, 2024
0e11984
SPT-1998 append builder tests
mrandrewsmith May 2, 2024
839c8d0
SPT-1998 remove unused files
mrandrewsmith May 2, 2024
332afd4
SPT-1998 add merge node
mrandrewsmith May 7, 2024
45b54b3
Merge pull request #130 from surfstudio/SPT-1998-example-refresh
mrandrewsmith May 7, 2024
c114116
SPT-1998 fix node stub type
mrandrewsmith May 13, 2024
caed84b
SPT-1998 add support combine task cancellation
mrandrewsmith Apr 17, 2024
62cbc86
SPT-1998 fix typo
mrandrewsmith Apr 17, 2024
4dbbdf0
SPT-1998 fix spm build
mrandrewsmith Apr 17, 2024
58cdde8
SPT-1998 fix rebase
mrandrewsmith May 7, 2024
5109d69
SPT-1998 add check cancellation to nodes
mrandrewsmith Apr 18, 2024
1ee4784
SPT-1998 fix rebase
mrandrewsmith May 7, 2024
04b4066
SPT-1998 fix branch build
mrandrewsmith May 7, 2024
07df369
SNP-1238 add public init for cache writer node
NullIsOne May 3, 2024
df851cf
SNP-1238 make accessSafeNode generic
NullIsOne May 6, 2024
5362940
SNP-1238 add output to accessSafeNode test
NullIsOne May 7, 2024
4624c44
SNP-1238 remove outdated unit tests
NullIsOne May 7, 2024
8010db1
SNP-1238 fix xcode warning
NullIsOne May 7, 2024
09fdbc8
SNP-1238 combine ChainBuilderMock and ChainConfigBuilderMock
NullIsOne May 7, 2024
27f22f9
SPT-1998 hide async stream and fix typo
mrandrewsmith May 13, 2024
de8002c
SPT-1998 fix example build
mrandrewsmith May 24, 2024
a9b9219
SPT-1998 fix rebase
mrandrewsmith May 24, 2024
3c802d7
Merge pull request #133 from surfstudio/SPT-1998-refactor-builders-an…
mrandrewsmith May 24, 2024
606d1ea
Merge pull request #137 from surfstudio/SPT-1998-combine-task-cancela…
mrandrewsmith May 24, 2024
f4d057c
Merge pull request #132 from surfstudio/SPT-1998-improve-node-task-ca…
mrandrewsmith May 24, 2024
8249cb1
Merge pull request #134 from surfstudio/SPT-1998-fix-branch-build
mrandrewsmith May 24, 2024
eecafb0
Merge pull request #135 from surfstudio/SPT-1998-fix-migration-problems
mrandrewsmith May 24, 2024
c549019
Merge pull request #138 from surfstudio/SPT-1998-hide-async-stream
mrandrewsmith May 24, 2024
bdf57eb
SPT-1998 update tech docs
May 23, 2024
c4bcfd7
SPT-1998 update code doc
May 23, 2024
767956f
SPT-1998 correct mistakes
May 23, 2024
a40d711
SPT-1998 update code doc
May 23, 2024
0980182
Comment translation
May 29, 2024
4a7125c
SPT-1998 fix image in readme
May 30, 2024
3bb5d4a
SPT-1998 fix pr
mrandrewsmith May 31, 2024
aea6caf
Merge pull request #139 from surfstudio/SPT-1998-update-techdoc
mrandrewsmith Jun 3, 2024
5966160
SPT-1998 update code doc
mrandrewsmith Jun 3, 2024
3910e90
SPT-1998 change order in readme
mrandrewsmith Jun 3, 2024
20ad7bb
SPT-1998 replace code documentation link to readme
mrandrewsmith Jun 9, 2024
48f8b69
Merge pull request #140 from surfstudio/SPT-1998-generate-doc
mrandrewsmith Jun 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 15 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ on:
jobs:
build:

runs-on: macos-12
runs-on: macos-14

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Init
run: |
make init
- name: Force select xcode 13
- name: Force select xcode 15.3
run: |
sudo xcode-select -switch /Applications/Xcode_13.4.app
sudo xcode-select -switch /Applications/Xcode_15.3.app
- name: Build
run: |
make build
Expand All @@ -33,7 +35,14 @@ jobs:
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
flags: tests
directory: ./CoverageReports
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: documentation
if: github.ref == 'refs/heads/master'
run: |
Expand All @@ -45,4 +54,4 @@ jobs:
author_email: [email protected]
message: "Updates for documentation"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
## Build generated
build/
DerivedData/
CoverageReports/
Docs/swift_output/
CoverageReports/
Package.resolved

## Various settings
*.pbxuser
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# CHANGELOG
536 changes: 348 additions & 188 deletions Example/Example.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
10 changes: 0 additions & 10 deletions Example/Example.xcworkspace/contents.xcworkspacedata

This file was deleted.

23 changes: 0 additions & 23 deletions Example/Example/Animals/AnimalCell.swift

This file was deleted.

51 changes: 0 additions & 51 deletions Example/Example/Animals/AnimalCell.xib

This file was deleted.

32 changes: 0 additions & 32 deletions Example/Example/Animals/AnimalCellGenerator.swift

This file was deleted.

34 changes: 0 additions & 34 deletions Example/Example/Animals/AnimalPresenter.swift

This file was deleted.

50 changes: 0 additions & 50 deletions Example/Example/Animals/AnimalViewController.swift

This file was deleted.

17 changes: 11 additions & 6 deletions Example/Example/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@
// Copyright © 2017 Кравченков Александр. All rights reserved.
//

import MockServer
import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
MockServer.start()

window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = LoginConfigurator().configure()
window?.makeKeyAndVisible()

return true
}

Expand All @@ -40,7 +48,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}


}

Loading
Loading