Skip to content

1.6.0

Compare
Choose a tag to compare
@stephencelis stephencelis released this 08 Jan 18:43
· 340 commits to main since this release

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 be Equatable (#2669; #2691)
  • Fixed: It was possible for ViewStores to ping their objectWillChange 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

Full Changelog: 1.5.6...1.6.0