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

Prepare 0.39.0 #58

Merged
merged 3 commits into from
Dec 21, 2022
Merged

Prepare 0.39.0 #58

merged 3 commits into from
Dec 21, 2022

Commits on Dec 12, 2022

  1. Concurrency Beta (#1189)

    * more main actor audit
    
    * wip
    
    * wip
    
    * fix
    
    * better task result ==
    
    * task result tests
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * fix merge conflicts
    
    * wip
    
    * wip
    
    * lots of doc fixes and modernizations
    
    * lots more docs and better hashable conformance for TaskResult
    
    * more docs
    
    * clean up
    
    * more tests and docs
    
    * clean up
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * small clean up
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * explicit
    
    * wip
    
    * fix bug in TestStore.receive
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * fixes
    
    * wip
    
    * tools for non-deterministic TestStore.receive
    
    * fix
    
    * wip
    
    * wip
    
    * remove inAnyOrder stuff
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * convert download case study to use async/await
    
    * animations
    
    * fix tests
    
    * remove executor experiment
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * speech simplification
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * add a few todos
    
    * wrote some tests
    
    * simplify speech recognizer
    
    * fix tests
    
    * update some docs about error throwing behavior
    
    * wip
    
    * wip
    
    * fix
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * Swift 5.5.2 fixes
    
    * wip
    
    * Bump timeout
    
    * wip
    
    * wip
    
    * Finesse
    
    * proper way to detect main queue
    
    * extra guard
    
    * revert main queue check
    
    * move stuff around
    
    * docs
    
    * fixed a bunch of warnings
    
    * Fix references
    
    * clean up
    
    * clean up
    
    * fix a bunch of warnings
    
    * clean up
    
    * un-soft deprecate concatenate
    
    * async teststore.send
    
    * fix uikit tests
    
    * drop sendable
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * clean up
    
    * clean up
    
    * reorganize, remove extra task cancellation handler
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * Make TestStore.send async (#1190)
    
    * async teststore.send
    
    * fix uikit tests
    
    * Converted all tests to async
    
    * clean up
    
    * added docs
    
    * Update Sources/ComposableArchitecture/TestStore.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * Update Sources/ComposableArchitecture/TestStore.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * docs and readme update
    
    * Update README.md
    
    * Update Tests/ComposableArchitectureTests/StoreTests.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * fix
    
    * Update Sources/ComposableArchitecture/TestStore.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * Update Sources/ComposableArchitecture/TestStore.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * Update Sources/ComposableArchitecture/TestStore.swift
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * clean up
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    
    * wip
    
    * wip
    
    * wip
    
    * make fetchNumber throwing and fix tests
    
    * effect basics clean up
    
    * use local state for isLoading in refreshable case study
    
    * clean up
    
    * fix test
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * fixes
    
    * clean up
    
    * clean up
    
    * Simplify
    
    * wip
    
    * clean up
    
    * wip
    
    * AsyncStream.finished()
    
    * give Send a public initializer
    
    * make send public
    
    * temporarily make box public
    
    * remove concurrency flag
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * docs
    
    * speech
    
    * simplify
    
    * clean up;
    
    * unchecked sendable
    
    * clean up
    
    * clean up
    
    * wip
    
    * docs
    
    * docs
    
    * more docs
    
    * lots of docs
    
    * wip
    
    * wip
    
    * wip
    
    * more docs for streamWithContinuation
    
    * wip
    
    * wip
    
    * wip
    
    * Make internal, too
    
    * wip
    
    * Remove sendability detection
    
    It breaks things, like:
    
        let request = UncheckedSendable(
          SKProductsRequest(productIdentifiers: []
        )
        // UncheckedSendable<NSObject> // *not* _<SKProductsRequest>
    
    * wip
    
    * doc clean up;
    
    * fixed some todos
    
    * docs
    
    * wip
    
    * remove thread safety FAQ from readme
    
    * fix test
    
    * wip
    
    * docs clean up
    
    * docs clean up
    
    * added a testing article and fixed some docs
    
    * rearrange
    
    * docs clean up
    
    * wip
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
    
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    
    * wip
    
    * wip
    
    * wip
    
    Co-authored-by: Stephen Celis <stephen@stephencelis.com>
    Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
    (cherry picked from commit 108e3a536fcebb16c4f247ef92c2d7326baf9fe3)
    
    # Conflicts:
    #	Examples/CaseStudies/SwiftUICaseStudies/00-Core.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-Animations.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Basics.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Cancellation.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-LongLiving.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Refreshable.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-SystemEnvironment.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Timers.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/02-Effects-WebSocket.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Lists-LoadThenNavigate.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Lists-NavigateAndLoad.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-LoadThenNavigate.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-NavigateAndLoad.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Sheet-LoadThenPresent.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Sheet-PresentAndLoad.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ElmLikeSubscriptions.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Lifecycle.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ResuableOfflineDownloads/DownloadClient.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ResuableOfflineDownloads/DownloadComponent.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/FactClient.swift
    #	Examples/CaseStudies/SwiftUICaseStudies/Internal/ResignFirstResponder.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/01-GettingStarted-AnimationsTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-BasicsTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-CancellationTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-RefreshableTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-TimersTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-WebSocketTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-LifecycleTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-ReusableFavoritingTests.swift
    #	Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-ReusableOfflineDownloadsTests.swift
    #	Examples/CaseStudies/UIKitCaseStudies/LoadThenNavigate.swift
    #	Examples/CaseStudies/UIKitCaseStudies/NavigateAndLoad.swift
    #	Examples/Search/Search/SearchView.swift
    #	Examples/Search/Search/WeatherClient.swift
    #	Examples/SpeechRecognition/SpeechRecognition/SpeechClient/Live.swift
    #	Examples/SpeechRecognition/SpeechRecognition/SpeechRecognition.swift
    #	Examples/SpeechRecognition/SpeechRecognition/SpeechRecognitionApp.swift
    #	Examples/SpeechRecognition/SpeechRecognitionTests/SpeechRecognitionTests.swift
    #	Examples/TicTacToe/App/RootView.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/AppCore/AppCore.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/AuthenticationClientLive/LiveAuthenticationClient.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/LoginCore/LoginCore.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/LoginSwiftUI/LoginView.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/TwoFactorCore/TwoFactorCore.swift
    #	Examples/TicTacToe/tic-tac-toe/Sources/TwoFactorSwiftUI/TwoFactorView.swift
    #	Examples/TicTacToe/tic-tac-toe/Tests/AppCoreTests/AppCoreTests.swift
    #	Examples/TicTacToe/tic-tac-toe/Tests/LoginCoreTests/LoginCoreTests.swift
    #	Examples/TicTacToe/tic-tac-toe/Tests/LoginSwiftUITests/LoginSwiftUITests.swift
    #	Examples/TicTacToe/tic-tac-toe/Tests/TwoFactorCoreTests/TwoFactorCoreTests.swift
    #	Examples/TicTacToe/tic-tac-toe/Tests/TwoFactorSwiftUITests/TwoFactorSwiftUITests.swift
    #	Examples/Todos/Todos/Todos.swift
    #	Examples/Todos/Todos/TodosApp.swift
    #	Examples/Todos/TodosTests/TodosTests.swift
    #	Examples/VoiceMemos/VoiceMemos/AudioRecorderClient/LiveAudioRecorderClient.swift
    #	Examples/VoiceMemos/VoiceMemos/VoiceMemo.swift
    #	Examples/VoiceMemos/VoiceMemos/VoiceMemos.swift
    #	Examples/VoiceMemos/VoiceMemos/VoiceMemosApp.swift
    #	Examples/VoiceMemos/VoiceMemosTests/VoiceMemosTests.swift
    #	Package.swift
    #	README.md
    #	Sources/ComposableArchitecture/Documentation.docc/Articles/GettingStarted.md
    #	Sources/ComposableArchitecture/Effect.swift
    #	Sources/ComposableArchitecture/Effects/Animation.swift
    #	Sources/ComposableArchitecture/Effects/Cancellation.swift
    #	Sources/ComposableArchitecture/Effects/Concurrency.swift
    #	Sources/ComposableArchitecture/Effects/Timer.swift
    #	Sources/ComposableArchitecture/Internal/Create.swift
    #	Sources/ComposableArchitecture/Internal/Deprecations.swift
    #	Sources/ComposableArchitecture/Internal/RuntimeWarnings.swift
    #	Sources/ComposableArchitecture/Reducer.swift
    #	Sources/ComposableArchitecture/Store.swift
    #	Sources/ComposableArchitecture/SwiftUI/Alert.swift
    #	Sources/ComposableArchitecture/SwiftUI/Binding.swift
    #	Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift
    #	Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift
    #	Sources/ComposableArchitecture/SwiftUI/SwitchStore.swift
    #	Sources/ComposableArchitecture/TestSupport/TestStore.swift
    #	Sources/ComposableArchitecture/ViewStore.swift
    #	Tests/ComposableArchitectureTests/ComposableArchitectureTests.swift
    #	Tests/ComposableArchitectureTests/EffectDebounceTests.swift
    #	Tests/ComposableArchitectureTests/EffectTests.swift
    #	Tests/ComposableArchitectureTests/ReducerTests.swift
    #	Tests/ComposableArchitectureTests/RuntimeWarningTests.swift
    #	Tests/ComposableArchitectureTests/StoreTests.swift
    #	Tests/ComposableArchitectureTests/TestStoreFailureTests.swift
    #	Tests/ComposableArchitectureTests/TestStoreTests.swift
    #	Tests/ComposableArchitectureTests/TimerTests.swift
    #	Tests/ComposableArchitectureTests/ViewStoreTests.swift
    mbrandonw authored and p4checo committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    103729d View commit details
    Browse the repository at this point in the history
  2. Require ReactiveSwift 7.1

    ## Changes
    
    - Require ReactiveSwift 7.1 which includes latest `async` APIs in
    `TestScheduler` and `DateScheduler`.
    
    - Remove local `async` `DateScheduler` extensions.
    
    - Add missing `async` keywords in asynchronous tests.
    p4checo committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    19cb15f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Fix tests and Linux support

    ## Changes
    
    - Fix unit tests.
    
    - Remove unnecessary Combine imports
    
    - Fix imports on Linux.
    
    - Fix unit tests on Linux
      + Add missing compile checks for `XCTExpectFailure` in Linux
      + Disable tests that use `@MainActor` on Linux because of an issue
      gathering tests:
      https://github.com/apple/swift-corelibs-xctest/issues/424
    
    - Remove Swift installation from SwiftPM Linux job, as Swift is already
    included in `ubuntu-latest` (`ubuntu-20.04`):
    https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#language-and-runtime
    p4checo committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    3ef2d04 View commit details
    Browse the repository at this point in the history