Skip to content

0.7.0

Choose a tag to compare

@Dean151 Dean151 released this 28 Jan 21:40
· 14 commits to main since this release

What's Changed

  • New Symbol effect asyncStyle and throwableStyle, based on SFSymbol effects
  • New onButtonStateChange and onButtonStateError modifiers, to access button state changes more explicitly than before
  • added AsyncButtonCompletion to get details on why the task ended (completed, errored, cancelled)
  • added AsyncButtonReader to access children button latest state change
  • new onStateChange parameter in AsyncButton constructor
  • small typo by @mattmassicotte in #15

Deprecations

  • asyncButtonTaskStarted, asyncButtonTaskChanged, asyncButtonTaskEnded and onButtonError modifier were deprecated
  • Renamed errorCount to numberOfFailures on ThrowableButtonStyleLabelConfiguration

Breaking changes

  • Dropped support of Swift 5.9

New Contributors

Full Changelog: 0.6.1...0.7.0