Skip to content

Releases: PittsCraft/SwiftRetrier

1.0.0

17 Jun 20:48
3a884f7
Compare
Choose a tag to compare

What's Changed

  • Swift 6 mode compatibility (while remaining compatible with Swift 5.8)
  • RetryPolicy is now stateless. A new instance is constructed from the previous one after each attempt failure - while provided with the last attempt failure and the applied delay.

Full Changelog: 0.0.1...1.0.0

0.0.1

15 Jun 13:25
4db9d72
Compare
Choose a tag to compare

Officially out of alpha phase!

What's Changed

  • Use BDD tests naming to clarify, fix some indentation issue by @PierreMardon in #24

Full Changelog: 0.0.1-alpha.2...0.0.1

0.0.1-alpha.2

01 Sep 14:29
1a147cd
Compare
Choose a tag to compare
0.0.1-alpha.2 Pre-release
Pre-release

API stabilization

Main evolution was to remove retryOn(*) modifiers: by default policies retry forever, and modifying by chaining giveUp*() modifiers is enough. It wasn't intuitive understanding which modifier would take precedence when mixing both.

What's Changed

  • Rename repeat(withDelay:) to repeating(withDelay:) by @PierreMardon in #22
  • Add giveUpAfter(timeout:) modifier, remove retryOn(*) modifiers by @PierreMardon in #23

Full Changelog: 0.0.1-alpha.1...0.0.1-alpha.2

0.0.1-alpha.1

01 Sep 14:24
71fbd1d
Compare
Choose a tag to compare
0.0.1-alpha.1 Pre-release
Pre-release

First alpha version. API is not fully stabilized yet, but core code should not change much.

What's Changed

Full Changelog: https://github.com/PittsCraft/SwiftRetrier/commits/0.0.1-alpha.1