What's Changed
Important
Version 1.25 includes both new features and a significant batch of deprecations that pave the way for Composable Architecture 2.0. See the migration guide for everything that's changed and how to upgrade.
- Added: Streamlined
onChangeoperator (#3875). - Added: enum scoping (#3882).
- Added: Warnings are now emitted from the store when a reentrant action is detected (#3859).
- Trait-deprecated:
Effect→EffectOf(#3874). - Trait-deprecated:
StorePublisher(#3877). - Trait-deprecated:
Effect.concatenate,Effect.map(#3879). - Trait-deprecated:
$store.scope(state: \.destination)(#3881). - Deprecated:
Reducer.reduce(#3857). - Deprecated: enum state
Scope(#3858). - Deprecated: Combine/animation-scheduling effects (#3864).
- Deprecated:
Store.withState(#3876). - Deprecated:
BindingViewState/BindingViewStore(#3880). - Infrastructure: Replace numbersapi.com with number-trivia.com (thanks @krgoodnews, #3870).
- Infrastructure: Add
AlertStateandConfirmationDialogStateto SwiftUI Integration docs (thanks @WZBbiao, #3867).
New Contributors
- @krgoodnews made their first contribution in #3870
- @WZBbiao made their first contribution in #3867
Full Changelog: 1.24.1...1.25.0