ComposableArchitecture 2.0 is a fundamental redesign of the popular Swift architecture library. Key changes include a new @Feature macro replacing reducer terminology, implicit store access for async work via store.addTask and store.modify, simplified SwiftUI bindings without boilerplate, lifecycle hooks (onMount/onDismount), and new inter-feature communication patterns including preferences, events, triggers, and delegate closures. Testing is improved through DebugSnapshots integration, better async determinism, and a new TestStoreActor for parallel test execution. Migration is eased via three modules: ComposableArchitecture2 (new API), ComposableArchitecture1 (1.x compatibility shim), and ComposableArchitecture (umbrella re-export). The release is currently in beta preview under the new Point-Free Max membership tier.
Sort: