Skip to content

Releases: Dean151/ButtonKit

0.4.1

18 Aug 14:51
Compare
Choose a tag to compare
  • Fixes a few build issues
  • Replaced deprecated signature for Swift 6 Package.swift

Full Changelog: 0.4.0...0.4.1

0.4.0

14 Aug 17:50
370dea1
Compare
Choose a tag to compare

New Features

  • External Triggers: trigger a button behavior, keeping free progress & error animations from an external action (fixes #7)

Breaking Changes

  • Swift 5.7 and 5.8 are no longer supported

Full Changelog: 0.3.4...0.4.0

0.4.0-beta.1

07 Aug 19:03
Compare
Choose a tag to compare
0.4.0-beta.1 Pre-release
Pre-release

New Features

  • #8 External Triggers: trigger a button behavior, keeping free progress & error animations from an external action (fixes #7)

Breaking Changes

  • Swift 5.7 and 5.8 are no longer supported

Full Changelog: 0.3.3...0.4.0-beta.1

0.3.3

15 Jun 09:51
Compare
Choose a tag to compare

Fixed

Fixed building for Swift 5.7 and Swift 5.8

Full Changelog: 0.3.2...0.3.3

0.3.2

15 Jun 08:56
Compare
Choose a tag to compare

Initial compatibility with Swift 6 Mode (beta)

Full Changelog: 0.3.1...0.3.2

0.3.1

27 Mar 22:53
Compare
Choose a tag to compare

Fixed

  • Fixed .estimated(nanoseconds: _) that would make SwiftUI Previews to crash
  • Fixed Button that would prefer String over LocalizedStringKey, differing from SwiftUI default behavior
  • Brought Demo project deployment target down to iOS 15.0 to match the library minimal requirement.

Full Changelog: 0.3.0...0.3.1

0.3.0

26 Mar 23:29
393468a
Compare
Choose a tag to compare

What's Changed

  • Determinate Progress AsyncButton by @Dean151 in #4 (after a concept and idea from @zshannon)
  • Add systemImage initializers by @Rubenfer in #6
  • New "auto" style for both ThrowableButtonStyle and AsyncButtonStyle, that are the new default (with the same behavior)
  • Demo project, to test different approach with ButtonKit features

Breaking changes

  • ⚠︎ ThrowableButtonStyle and AsyncButtonStyle associated types were renamed

New Contributors

Full Changelog: 0.2.3...0.3.0

0.3.0-beta.3

24 Mar 12:49
Compare
Choose a tag to compare
0.3.0-beta.3 Pre-release
Pre-release

New features

  • Determinate Progress for AsyncButton #4 (after a concept and idea from @zshannon)
  • New "auto" style for both ThrowableButtonStyle and AsyncButtonStyle, that are the new default (with the same behavior)

Changes since beta 2

  • Added 0.2.2...0.2.3 changes
  • Added Demo project with examples
  • Added bridge to use a Swift.Progress as a Button progress
  • ⚠︎ Progress was renamed TaskProgress to avoid conflicting with Swift.Progress
  • ⚠︎ ThrowableButtonStyle and AsyncButtonStyle associated types were renamed

Changelog since last beta: 0.3.0-beta.2...0.3.0-beta.3
Full Changelog: 0.2.3...0.3.0-beta.3

0.2.3

23 Mar 23:58
Compare
Choose a tag to compare

Fixes

  • Improved shake animation a bit
  • Fixed pulse async style that would continue to pulse even after the task has ended

Full Changelog: 0.2.2...0.2.3

0.3.0-beta.2

22 Mar 22:32
Compare
Choose a tag to compare
0.3.0-beta.2 Pre-release
Pre-release

New features

  • Determinate Progress for AsyncButton #4 (after a concept and idea from @zshannon)
  • New "auto" style for both ThrowableButtonStyle and AsyncButtonStyle, that are the new default (with the same behavior)

Changes since beta 1

  • Added estimated undetermined progress, where you provide an estimated duration to fake some deterministic progress
  • ⚠︎ Progress is now an ObservableObject, and the callback parameter is now the reference of the object instead of a binding

Changelog since last beta: 0.3.0-beta.1...0.3.0-beta.2
Full Changelog: 0.2.3...0.3.0-beta.2