Releases: jd/tenacity
Releases · jd/tenacity
tenacity 9.0.0
What's Changed
- Respects
min
argument forwait_random_exponential
by @yxtay in #425 - Bump major version to warn API breakage on statistics attribute
Full Changelog: 8.5.0...9.0.0
8.5.0
tenacity 8.4.2
What's Changed
Full Changelog: 8.4.1...8.4.2
tenacity 8.4.1
What's Changed
Full Changelog: 8.4.0...8.4.1
tenacity 8.4.0
What's Changed
Full Changelog: 8.3.0...8.4.0
8.3.0
New Features
- Added a new stop function:
stop_before_delay
, which will stop execution if the next sleep time would cause overall delay to exceed the specified delay. Useful for use cases where you have some upper bound on retry times that you must not exceed, so returning before that timeout is preferable than returning after that timeout.
Bug Fixes
- Preserve defaults and kwdefaults through retry decorator
Other Notes
- Add a "test" extra