github pointfreeco/swift-composable-architecture 0.1.3

latest releases: 1.10.2, 1.10.1, 1.10.0...
3 years ago

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 integrates ComposableArchitecture in this fashion.
  • ComposableArchitectureTestSupport has been removed and TestStore has moved into ComposableArchitecture. To upgrade:
    • Change import ComposableArchitectureTestSupport to import ComposableArchitecture in your tests.

Other changes:

  • Added: stateless and actionless transformations to Store to more easily derive stores that should only send actions or only read state.
  • Changed: IfLetStore no longer wraps its content in a Group.
  • Bug fixed: TestStore's assert 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.

Don't miss a new swift-composable-architecture release

NewReleases is sending notifications on new releases.