1.6.0
What's Changed
See Migrating to 1.6 for more details.
- Added:
TestStore.receive(\.action, payload)
for asserting against the payload of an action without requiring the action itself beEquatable
(#2669; #2691) - Fixed: It was possible for
ViewStore
s to ping theirobjectWillChange
publisher during a body computation, triggering a SwiftUI warning. This has been fixed (#2688). - Fixed:
@Reducer
macro no longer automatically applies@CasePathable
macro to enums with explicit conformance (thanks @scogeo, #2685). - Fixed: The
prepareDependencies
closure is now only performed a single time when creating a store, not every single time an action is received (#2695). - Fixed: A retain cycle in
PresentationModifier
has been fixed (#2697). - Performance: Clean up parent/child store invalidation checks (#2674).
- Infrastructure: Fix package build in 5.7 for SPI (#2675; thanks @finestructure, #2679).
- Infrastructure: Typo fix (thanks @tomokisun, #2678).
- Infrastructure: Add documentation around new store scoping characteristics (#2676).
- Infrastructure: Prevent unnecessary tutorial diffs (thanks @bricklife, #2692).
- Infrastructure: Tutorial fixes (#2693).
- Infrastructure : Clean up shared state case study (#2696).
New Contributors
- @bricklife made their first contribution in #2692
Full Changelog: 1.5.6...1.6.0