Skip to content

Releases: jd/tenacity

tenacity 9.0.0

29 Jul 12:12
@jd jd
a662bbb
Compare
Choose a tag to compare

What's Changed

  • Respects min argument for wait_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

05 Jul 07:25
@jd jd
31fe2d0
Compare
Choose a tag to compare

What's Changed

  • fix: Restore contents of retry attribute for wrapped functions by @hasier in #484

Full Changelog: 8.4.2...8.5.0

tenacity 8.4.2

24 Jun 14:59
@jd jd
a15fa64
Compare
Choose a tag to compare

What's Changed

  • fix: Avoid overwriting local contexts with retry decorator by @hasier in #479

Full Changelog: 8.4.1...8.4.2

tenacity 8.4.1

17 Jun 12:16
@jd jd
ee6a8f7
Compare
Choose a tag to compare

What's Changed

  • Include tenacity.asyncio subpackage in release dist by @cdce8p in #474

Full Changelog: 8.4.0...8.4.1

tenacity 8.4.0

17 Jun 07:40
@jd jd
702014b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 8.3.0...8.4.0

8.3.0

07 May 08:47
@jd jd
cb15300
Compare
Choose a tag to compare

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