Releases: jd/tenacity
Releases · jd/tenacity
9.1.4
9.1.3
What's Changed
- Apply formatting to num seconds in before_sleep_log by @aguinane in #489
- Support Python 3.14 by @sandrobonazzola in #528
- Typing: Accept non-standard logger in helpers logging something by @k4nar in #540
- feat(wait): add
wait_exceptionstrategy by @capitan-davide in #541 - docs: fix syntax error in wait_chain docstring example by @VedantMadane in #548
- chore: drop Python 3.9 support (EOL) by @Zac-HD in #552
- Support async sleep for sync fn-to-retry by @Zac-HD in #551
New Contributors
- @aguinane made their first contribution in #489
- @sandrobonazzola made their first contribution in #528
- @k4nar made their first contribution in #540
- @capitan-davide made their first contribution in #541
- @VedantMadane made their first contribution in #548
- @Zac-HD made their first contribution in #552
Full Changelog: 9.1.2...9.1.3
9.1.2
Full Changelog: 9.1.1...9.1.2
9.1.1
What's Changed
- Test with Python 3.13 by @edgarrmondragon in #480
- ci: remove Python 3.8 support by @jd in #515
- fix: return "Self" from "BaseRetrying.copy" by @ThirVondukr in #518
- ci: upload on PyPI using trusted publishing by @jd in #520
- Add re.Pattern to allowed match types by @robertschweizer in #497
New Contributors
- @Young-Lord made their first contribution in #491
- @edgarrmondragon made their first contribution in #480
- @ThirVondukr made their first contribution in #518
- @robertschweizer made their first contribution in #497
Full Changelog: 9.0.0...9.1.0
tenacity 9.0.0
What's Changed
- Respects
minargument forwait_random_exponentialby @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