Skip to content

Releases: stijnbuurman/retry-policy

v1.5.0

23 May 17:04
Compare
Choose a tag to compare

Bug Fixes

  • Add defaults to RetryPolicy options object. (54c566f)
  • Fix the way defaults in strategies are defined (5f22681)

Features

  • Add RetryPolicy.execute to make it easier to use (25fdff8)

v1.4.2

20 May 06:44
Compare
Choose a tag to compare
v1.4.2 Pre-release
Pre-release

Features

  • paradigm: Complete rewrite to make everything functional (cf30e25)
  • retryStrategies: Add lastError to getTimeout to allow timeout based on error (useful for Retry-After header) (66e016b)

Breaking Changes

  • Uses functions instead of classes
  • RetryStrategy is split into StopStrategy and WaitStrategy
  • EvenRetryStrategy is now named FixedWaitStrategy