0.43.0
版本发布时间: 2022-10-18 12:00:26
pointfreeco/swift-composable-architecture最新发布版本:1.15.2(2024-10-23 00:57:58)
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 toAnyReducer
to help call out reducers that should be migrated (#1478). TheReducerProtocol
will be renamed toReducer
in the future and this hard deprecation makes room for it. - Deprecation/Rename: The
Effect
type has been renamed to a soft-deprecatedEffectPublisher
type, both generic overAction
andFailure
, while a temporaryEffectTask
type alias has been introduced as a replacement that is only generic overAction
(#1471). This rename is in preparation for breaking changes in a forthcoming 1.0 release, where theEffectTask
will becomeEffect
, and will only be generic overAction
. - 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 toReducerProtocol.dependency
andReducerProtocol.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
- @luoxiu made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1470
- @qmoya made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1473
- @gohanlon made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1482
- @GREENOVER made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1483
- @roeybiran made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1479
- @ts made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1504
- @sillygoose made their first contribution in https://github.com/pointfreeco/swift-composable-architecture/pull/1507
Full Changelog: https://github.com/pointfreeco/swift-composable-architecture/compare/0.42.0...0.43.0