github pointfreeco/swift-composable-architecture 0.43.0

latest releases: 1.16.0, 1.15.2, 1.15.1...
2 years ago

What's Changed

  • Requirement Change: Swift 5.6 is now required as of the release of the ReducerProtocol (#1491); we'd love to support Swift 5.5 still, but need help from the community: #1494.
  • Deprecation/Rename: The Reducer type alias is now hard-deprecated to be renamed to AnyReducer to help call out reducers that should be migrated (#1478). The ReducerProtocol will be renamed to Reducer in the future and this hard deprecation makes room for it.
  • Deprecation/Rename: The Effect type has been renamed to a soft-deprecated EffectPublisher type, both generic over Action and Failure, while a temporary EffectTask type alias has been introduced as a replacement that is only generic over Action (#1471). This rename is in preparation for breaking changes in a forthcoming 1.0 release, where the EffectTask will become Effect, and will only be generic over Action.
  • Change: Some interfaces that previously required escaping closures no longer require them (#1493; thanks @tgrapperon , #1513).
  • Bug fix: ReducerProtocol.transformDependency is now properly fused with upstream calls to ReducerProtocol.dependency and ReducerProtocol.transformDependency (#1495).
  • Bug fix: ViewStore.yield(while:) is now performed on the main actor (#1517).
  • Infrastructure: Documentation fixes (thanks @luoxiu, #1470; @qmoya, #1473; @Jager-yoo, #1475, #1490; @gohanlon, #1482; @GREENOVER, #1483; @yimajo, #1484, #1485; @roeybiran, #1479; @tgrapperon, #1509; @ts, #1504; @sillygoose, #1507; #1523); demo fixes (thanks @tgrapperon, #1492; @Jager-yoo, #1503); new benchmark for view stores (#1518).

New Contributors

Full Changelog: 0.42.0...0.43.0

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

NewReleases is sending notifications on new releases.