Litl Backoff Versions Save

Python library providing function decorators for configurable backoff and retry

v2.2.1

1 year ago

[v2.2.1] - 2022-10-05

v2.2.0

1 year ago

[v2.2.0] - 2022-10-05

  • Improve type annotation for wait generators from @hauntsaninja
  • Include exception in details dict of call handlers from @petamas
  • Improve type hints for call handlers from @cdce8p

v2.1.2

1 year ago

Fixed

v2.1.1

1 year ago

[v2.1.1] - 2022-06-08

Fixed

v2.1.0

1 year ago

[v2.1.0] - 2022-06-07

Changed

  • Get max_tries/max_time values for every call fixes #160 (from @jvrsantacruz)

v2.0.1

2 years ago

Changed

  • Allow None for jitter keyword arg (typing)

v2.0.0

2 years ago

[v2.0.0] - 2022-04-26

Added

  • Add raise_on_giveup keyword arg for decorators
  • Add backoff.runtime wait generator for dynamically setting wait times based on target function return value or exception details

Changed

  • Improve type hints for on_success, on_backoff, on_giveup handlers
  • Use decorator-specific detail and handler type hints
  • Optionally use typing_extensions for python 3.7 type hinting
  • Drop python 3.6 support
  • Add python 3.10 support

v2.0.0-alpha

2 years ago

Prelease of v2.0.0

  • Drop 2.7 support
  • Add 3.9 support
  • Type hints for public API
  • Support raise_on_giveup kwarg
  • Add backoff.runtime wait generator type (supports e.g. retry-after headers)

v1.11.1

2 years ago

Changed

  • Update __version__ in backoff module

v1.11.0

2 years ago

Changed

  • Configurable logging levels for backoff and giveup events
  • Minor documentation fixes

NOTE

THIS WILL BE THE FINAL PYTHON 2.7 COMPATIBLE RELEASE.