github pointfreeco/swift-composable-architecture 1.1.0

latest releases: 1.16.0, 1.15.2, 1.15.1...
15 months ago

What's Changed

  • Added: An overload of Reducer.onChange(of:) that takes a configurable removeDuplicates closure for the equality check (thanks @ohitsdaniel, #2338).
  • Added: Effect.debounce and Effect.throttle, for debouncing and throttling effects on a scheduler (#2372, #2368). This functionality existed in past releases but was removed from 1.0 alongside other deprecated Combine code. Because there is no modern replacement for Effect.throttle we have brought this functionality back to 1.1.
  • Fixed: XCTest failures emitted when test stores initialize state (e.g. if Reducer.State.init accesses a dependency that hasn't been overridden) are now shown in the test that creates the store rather than hidden in application code (#2352).
  • Fixed: Suppressed a warning that previously emitted when instantiating a test store state with .init() instead of Feature.State() (#2347).
  • Fixed: Child features presented by grandparent features are now properly dismissed when the child calls @Dependency(\.dismiss) (#2373).
  • Infrastructure: Documentation updates and fixes (#2336; thanks @jayrhynas, #2342; thanks @atimca, #2350; #2353; thanks @hmhv, #2355; thanks @Ryu0118, #2358, #2367; thanks @yimajo, #2357; thanks @ValseLee, #2369, #2370).

New Contributors

Full Changelog: 1.0.0...1.1.0

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

NewReleases is sending notifications on new releases.