Skip to content

0.11.0

Compare
Choose a tag to compare
@stephencelis stephencelis released this 21 Jan 23:13
· 1172 commits to main since this release
  • 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: worked around a bug affecting iOS 13.0-13.2 that prevented state changes from being reflected in the view (thanks @nsillik).
  • Fixed: AlertState and ActionSheetState can once again be used with verbatim strings (thanks @ohitsdaniel).
  • 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).