Changelogs » Backoff

PyUp Safety actively tracks 334,184 Python packages for vulnerabilities and notifies you when to upgrade.

Backoff

1.11.1

Changed
  
  - Update __version__ in backoff module

1.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.

1.10.0

Changed
  
  - Allow sync decorator call from async function

1.9.2

Changed
  
  - Don't include tests and changelog in distribution

1.9.1

Changed
  
  - Include tests and changelog in distribution

1.9.0

Changed
  
  - Support python 3.8

1.8.1

Changed
  
  - Use arguments in log messages rather than fully formatting log
  https://github.com/litl/backoff/pull/82 from lbernick

1.8.0

Changed
  
  - Give up on StopIteration raised in wait generators
  - Iterable intervals for constant wait_gen for predefined wait sequences
  - Nullary jitter signature deprecation warning
  - Custom loggers

1.7.0

Changed
  
  - Support Python 3.7
  - Drop support for async in Python 3.4
  - Drop support for Python 2.6
  - Update development dependencies
  - Use poetry for dependencies and packaging

1.6.0

Changed
  
  - Change default log level from ERROR to INFO
  - Log retries on exception as INFO

1.5.0

Changed
  
  - Add max_time keyword argument

1.4.3

Changed
  
  - Add license to source distribution

1.4.2

Changed
  
  - Use documented logger name https://github.com/litl/backoff/pull/32
  from pquentin

1.4.1

Added
  - Expose __version__ at package root
  
  Changed
  - Fix checking for running sync version in coroutine in case when event
  loop is not set from rutsky

1.4.0

Added
  - Async support via `asyncio` coroutines (Python 3.4) from rutsky
  
  Changed
  - Refactor `backoff` module into package with identical API

1.3.2

Changed
  - Don't log retried args and kwargs by default
  - README.rst syntax highlighting from dethi

1.3.1

Changed
  - Include README.rst in source distribution (fixes package)

1.3.0

Added
  - Support runtime configuration with optional callable kwargs
  - Add giveup kwarg for exception inspection
  
  Changed
  - Documentation fixes

1.2.1

Changed
  - Documentation fixes

1.2.0

Added
  - 'Full jitter' algorithm from jonascheng
  
  Changed
  - Jitter function now accepts raw value and returns jittered value
  - Change README to reST for the benefit of pypi :(
  - Remove docstring doc generation and make README canonical

1.1.0

Added
  - Event handling for success, backoff, and giveup
  - Change log
  
  Changed
  - Docs and test for multi exception invocations
  - Update dev environment test dependencies

1.0.7

Changed
  - Fix string formatting for python 2.6

1.0.6

Added
  - Coveralls.io integration from singingwolfboy
  
  Changed
  - Fix logging bug for function calls with tuple params

1.0.5

Changed
  - Add a default interval of 1 second for the constant generator
  - Improve on_predicate stop condition avoiding extra sleep

1.0.4

Added
  - Python 2.6 support from Bonko
  - Python 3.0 support from robyoung
  - Run tests in Travis from robyoung

1.0.3

Changed
  - Make logging unicode safe
  - Log on_predicate backoff as INFO rather than ERROR