Skip to content

0.50.1

Compare
Choose a tag to compare
@stephencelis stephencelis released this 30 Jan 20:38
· 572 commits to main since this release
b690a61

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