github pointfreeco/swift-composable-architecture 0.49.2

latest releases: 1.15.0, 1.14.0, 1.13.1...
20 months ago

What's Changed

  • Fixed: A longstanding bug in SwiftUI can cause bindings to be evaluated in views that are no longer rendered. In apps built in the Composable Architecture, which provides flexible tools for deriving custom bindings, this could lead to accessing state that no longer exists, which at worst could try to evaluate an element of an array at an invalidated index, crashing the application. While this bug was fixed in 0.48.0, it introduced another regression and was reverted in 0.48.1. We have a new workaround (thanks @iampatbrown, #1802), that appears to be more reliable and work in both cases. If you encounter any regressions in ViewStore.binding behavior in your applications, let us know!
  • Fixed: Dependencies has been force-bumped to 0.1.2 to work around a regression in how effects inherit dependencies (thanks @tgrapperon, #1813).

Full Changelog: 0.49.1...0.49.2

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

NewReleases is sending notifications on new releases.