Skip to content

Releases: litl/backoff

v2.2.1

05 Oct 19:18
Compare
Choose a tag to compare

[v2.2.1] - 2022-10-05

  • Fix type hint for wait generators #177

v2.2.0

05 Oct 14:40
Compare
Choose a tag to compare

[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

08 Jun 12:04
Compare
Choose a tag to compare

Fixed

  • Don't use importlib.metadata for version #166

v2.1.1

08 Jun 11:23
Compare
Choose a tag to compare

[v2.1.1] - 2022-06-08

Fixed

  • Fix bug with max_tries/max_time callables #164

v2.1.0

07 Jun 14:47
Compare
Choose a tag to compare

[v2.1.0] - 2022-06-07

Changed

v2.0.1

27 Apr 14:08
Compare
Choose a tag to compare

Changed

  • Allow None for jitter keyword arg (typing)

v2.0.0

26 Apr 19:54
Compare
Choose a tag to compare

[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

19 Aug 17:12
Compare
Choose a tag to compare
v2.0.0-alpha Pre-release
Pre-release

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

14 Jul 13:57
Compare
Choose a tag to compare

Changed

  • Update __version__ in backoff module

v1.11.0

12 Jul 16:42
Compare
Choose a tag to compare

Changed

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

NOTE

THIS WILL BE THE FINAL PYTHON 2.7 COMPATIBLE RELEASE.