github pointfreeco/swift-composable-architecture 0.20.0

latest releases: 1.16.0, 1.15.2, 1.15.1...
3 years ago
  • Added: Effect.deferred(), for delaying the execution of an effect by a given time (compare to Publisher.delay(), which delays merely the delivery of some work that has already been performed). Thanks, @wendyliga.
  • Updated: SwitchStore now supports up to 9 CaseLet views.
  • Performance improvement/fix: the number of times Store.scope's state transform function has been minimized. Previously it was evaluated an extra time, multiplied by downstream scopes.
  • Performance improvement/fix: the number of times ViewStore's duplicate check has been reduced.
  • Performance improvement/fix: a store publisher will only emit a single state change per synchronous Store.send and asynchronous effect received. This means synchronous effects (returned immediately from a reducer via Effect.init(value:)) will no longer result in extra publisher emissions. This is a breaking change if your application previously depended on each of these emissions. Workaround: use Publisher.receive(on:) to schedule these effects on the next run loop tick.
  • Infrastructure: cleaned up demo apps and documentation; added an Indonesian translation of the README (thanks @wendyliga).

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

NewReleases is sending notifications on new releases.