github pointfreeco/swift-composable-architecture 0.50.1

latest releases: 1.15.2, 1.15.1, 1.15.0...
21 months ago

What's Changed

  • Fixed: SwiftUI can write to bindings at inopportune times, like if a text field in a sheet is focussed, it will write to the binding after the sheet has been dismissed. When using IfLetStore, this can lead to noisy runtime warnings emitted by TCA, where optional state driving the sheet is now nil, and thus the binding cannot write to state at this time. As a workaround, IfLetStore will now ignore actions sent through bindings when state is nil (#1879).
  • Fixed: A bug in Swift 5.7 and earlier can cause the runtime metadata mechanism used by swift-case-paths to crash in release mode when an Any existential exists in the type data. Because BindingAction holds onto an Any under the hood, it could be responsible for the occasional crash in release mode when present in certain type layouts. We've worked around this bug to prevent crashes in release mode (#1881).
  • Infrastructure: Fix docs link (thanks @Jager-yoo, #1874); add note to reducer protocol dependency docs (#1873); updated CoC to the latest Contributor Covenant.

Full Changelog: 0.50.0...0.50.1

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

NewReleases is sending notifications on new releases.