Skip to content

Releases: PittsCraft/SwiftRetrier

2.0.1

Choose a tag to compare

@PierreMardon PierreMardon released this 24 May 10:28
0c5ee03

A simple bug fix for extreme case where the delay factor exceeds maximum UInt value.

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

Choose a tag to compare

@PierreMardon PierreMardon released this 06 Feb 13:24
3740fa9

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

Full Changelog: 1.1.1...2.0.0

1.1.1

Choose a tag to compare

@PierreMardon PierreMardon released this 21 Aug 14:45

What's Changed

  • Make MainActor friendly, see #42

Full Changelog: 1.1.0...1.1.1

1.1.0

Choose a tag to compare

@PierreMardon PierreMardon released this 20 Aug 14:38

What's Changed

  • minor API addition: added onEach modifier (#37)

Full Changelog: 1.0.0...1.1.0

1.0.0

Choose a tag to compare

@PierreMardon PierreMardon released this 17 Jun 20:48
3a884f7

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

Choose a tag to compare

@PierreMardon PierreMardon released this 15 Jun 13:25
4db9d72

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

0.0.1-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@PierreMardon PierreMardon released this 01 Sep 14:29
1a147cd

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

0.0.1-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@PierreMardon PierreMardon released this 01 Sep 14:24
71fbd1d

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