Releases: litl/backoff
Releases · litl/backoff
v2.2.1
v2.2.0
[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
v2.1.1
v2.1.0
[v2.1.0] - 2022-06-07
Changed
- Get max_tries/max_time values for every call fixes #160 (from @jvrsantacruz)
v2.0.1
Changed
- Allow None for jitter keyword arg (typing)
v2.0.0
[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
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
Changed
- Update
__version__
in backoff module
v1.11.0
Changed
- Configurable logging levels for backoff and giveup events
- Minor documentation fixes
NOTE
THIS WILL BE THE FINAL PYTHON 2.7 COMPATIBLE RELEASE.