Sourced from tenacity's releases.
tenacity 9.0.0
What's Changed
- Respects
min
argument forwait_random_exponential
by@yxtay
in jd/tenacity#425- Bump major version to warn API breakage on statistics attribute
Full Changelog: https://github.com/jd/tenacity/compare/8.5.0...9.0.0
8.5.0
What's Changed
- fix: Restore contents of retry attribute for wrapped functions by
@hasier
in jd/tenacity#484Full Changelog: https://github.com/jd/tenacity/compare/8.4.2...8.5.0
tenacity 8.4.2
What's Changed
- fix: Avoid overwriting local contexts with retry decorator by
@hasier
in jd/tenacity#479Full Changelog: https://github.com/jd/tenacity/compare/8.4.1...8.4.2
tenacity 8.4.1
What's Changed
- Include
tenacity.asyncio
subpackage in release dist by@cdce8p
in jd/tenacity#474Full Changelog: https://github.com/jd/tenacity/compare/8.4.0...8.4.1
tenacity 8.4.0
What's Changed
- Add async strategies by
@hasier
in jd/tenacity#451- Support Trio out-of-the-box by
@jakkdl
in jd/tenacity#463Full Changelog: https://github.com/jd/tenacity/compare/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
a662bbb
Respects min
argument for
wait_random_exponential
(#425)31fe2d0
fix: Restore contents of retry attribute for wrapped functions (#484)33cd0e1
chore(deps): bump actions/checkout in the github-actions group (#483)a15fa64
fix: Avoid overwriting local contexts with retry decorator (#479)ee6a8f7
Include tenacity.asyncio
subpackage in release dist (#474)702014b
ci: add support for trio in Mergify automerge (#470)ade0567
Support Trio out-of-the-box, take 2 (#463)952189b
Update index.rst: Remove * (#465)5b00c15
chore(deps): bump the github-actions group across 1 directory with 2
updates ...21137e7
Add async strategies (#451)