Breaking changes:
ComposableArchitecture
is no longer a dynamic library. To upgrade:- You will need to reintegrate the library into your application. You can reintegrate by removing and re-adding the library to your application or shared framework target.
- If you include
ComposableArchitecture
in more than one target in your project, you must move it to a single, dynamic framework, instead. Then this framework is what you can share among your app, framework, and test targets. For an example, check out the Tic-Tac-Toe demo application, which has been modularized and integratesComposableArchitecture
in this fashion.
ComposableArchitectureTestSupport
has been removed andTestStore
has moved intoComposableArchitecture
. To upgrade:- Change
import ComposableArchitectureTestSupport
toimport ComposableArchitecture
in your tests.
- Change
Other changes:
- Added:
stateless
andactionless
transformations toStore
to more easily derive stores that should only send actions or only read state. - Changed:
IfLetStore
no longer wraps its content in aGroup
. - Bug fixed:
TestStore
'sassert
no longer crashes when working with empty state structs (thanks @jlainog). - Infrastructure: decluttered CI output using
xcodebuild -quiet
(thanks @tarjamorgado). - Infrastructure: demos now build in Xcode 11.3.1.