0.42.0
- Added:
ViewStore.init(_:observe:)has been added, to make observable view state explicit and help avoid accidentally observing too much state, which can commonly lead to performance issues (#1448). - Added: The
Dependencieslibrary can now be built on Linux (#1466). - Fixed: Chaining onto a generic reducer in a builder context with
ifLet,ifCaseLet, orforEachshould no longer lead to incorrect deprecation warnings in Swift 5.7 (#1467). - Fixed:
ReducerProtocol._printChanges(_:)is now compatible with passing static members (like.customDumpand.actionLabels) directly (#1469). - Infrastructure: Online documentation is now generated using swift-docc-plugin (#1463).
- Infrastructure: Documentation fixes (thanks @Berhtulf, via #1468).
New Contributors
Full Changelog: 0.41.2...0.41.3