Releases: PittsCraft/SwiftRetrier
Release list
2.0.1
A simple bug fix for extreme case where the delay factor exceeds maximum UInt value.
What's Changed
- Overflow proof exponentiation by @PierreMardon in #47
Full Changelog: 2.0.0...2.0.1
2.0.0
Big change: switching to cold retriers
The core code was refactored to make it stronger and more performant, especially writing home made publishers.
Now the retriers ARE cold publishers:
- each subscription starts a retrying stream
- demand and backpressure are carefully managed
Check out README file for the v0/v1 migration guide and to get familiar with the new API 🤗!
What's Changed
- v2: Cooler ❄️ by @PierreMardon in #45
Full Changelog: 1.1.1...2.0.0
1.1.1
1.1.0
1.0.0
What's Changed
- Swift 6 mode compatibility (while remaining compatible with Swift 5.8)
RetryPolicyis 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.
- 1.0.0 Release by @PierreMardon in #35
Full Changelog: 0.0.1...1.0.0
0.0.1
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
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
First alpha version. API is not fully stabilized yet, but core code should not change much.
What's Changed
- Add GH actions build / test / lint workflow by @PierreMardon in #1
- Rationalize and adjust policies default values by @PierreMardon in #6
- New DSL by @PierreMardon in #8
- Rollback unnecessary renaming of Retrier to BaseRetrier by @PierreMardon in #9
- Add details about cancellation in README by @PierreMardon in #10
- Fix repeater args order by @PierreMardon in #11
- Remove remainings of old DSL, remove policies execute functions by @PierreMardon in #12
- Complete DSL so that failure, retry and conditionPublisher are cumulable by @PierreMardon in #13
- Fix not working code in README by @PierreMardon in #14
- Materialize retrier events instead of relying on publisher completion. by @PierreMardon in #15
- Aesthetic fixes and edits by @PierreMardon in #16
- Enhance README by @PierreMardon in #17
- Readme typo by @PierreMardon in #18
- Rename license file by @PierreMardon in #19
- Remove withRetries and retrier functions, rename SimpleRepeater to Repeater by @PierreMardon in #20
Full Changelog: https://github.com/PittsCraft/SwiftRetrier/commits/0.0.1-alpha.1