0.11.0
In order for the releases to stay in sync with TCA we skipped 0.10.0. This release includes the changes from 0.10.0 from TCA.
- Added: WithViewStore now conforms to Scene and can be used in App.body content.
- Added: TextState, a testable, equatable description of SwiftUI Text. Useful for when you want to store dynamic, stylized text in your app's state.
- Changed: AlertState and ActionSheetState now use TextState under the hood.
- Fixed: a few Test Store failure messages were reporting the wrong debug information. They have been fixed.
- Fixed: view store-derived bindings that do not have animation modifiers applied will not properly animated when mutated explicitly in withAnimation.
- Fixed: documentation improvements (thanks @nspavlo, @SteinerHannes, @mluisbrown).x
- Fixed: AlertState and ActionSheetState can once again be used with verbatim strings (thanks @ohitsdaniel).
- Fixed: Re-publicized AlertState.Button.type.
- Deprecated: AlertState and ActionSheetState initializers that take LocalizedStringKey. Migration path: use the initializers that take explicit TextState instead (which can be initialized with both LocalizedStringKey and verbatim Strings).