- Fixed some examples #116 (from @edgarrmondragon)
-
Apply the Ruff
RETrules #92 (from @edgarrmondragon) -
Apply the Ruff
Irules #99 (from @edgarrmondragon) -
Apply the Ruff
Brules #100 (from @edgarrmondragon) -
Apply the Ruff
FArules #104 (from @edgarrmondragon)
- Changed the type of the
targetkey in theDetailsdictionary to represent an actual function #72 (from @edgarrmondragon) - Synced
__version__value in__init__.pywith package version #76 (from @edgarrmondragon)
- Switch to Zensical for building the documentation #62 (from @edgarrmondragon)
- Include changelog in the documentation #65 (from @edgarrmondragon)
- Link to canonical
requestsdocumentation hosted on "Read the Docs" #67 (from @edgarrmondragon)
- Use Ruff to give the codebase a consistent format #66 (from @edgarrmondragon)
- Enable the
UP(pyupgrade) Ruff rules and use Python 3.8+ code, including in docs #73 (from @edgarrmondragon)
- Use
time.monotonicinstead ofdatetime.datetime.now#23 (from @luccabb) - Drop support for Python 3.7 #49 (from @edgarrmondragon)
- Improve performance of expo by multiplying previous result #50 (from @whonore)
- Use
inspect.iscoroutinefunctioninstead ofasyncio.iscoroutinefunctionto avoid Python 3.14 deprecation warning #3 (from @edgarrmondragon) - Adapt test cases to pytest-asyncio 1.0 compatibility #1 (from @pastalian)
- Include tests in source distribution #13 (from @edgarrmondragon)
- Added
logging.LoggerAdapterto_MaybeLoggerunion #34 (from @jcbertin) - Add
exceptionto the typing-onlyDetailsdictionary for cases whenon_exceptionis used #35 (from @edgarrmondragon) - Add GitHub Actions for CI, documentation, and publishing #39 (from @tysoncung)
- Use uv for dependencies and packaging #7 (from @edgarrmondragon)
- Remove duplicate classifier #37 (from @edgarrmondragon)
- Rename project to
backofffrompython-backoff#42 (from @edgarrmondragon)
- Fix type hint for wait generators litl/backoff#177
- Improve type annotation for wait generators from @hauntsaninja
- Include exception in details dict of call handlers from @petamas
- Improve type hints for call handlers from @cdce8p
- Don't use importlib.metadata for version litl/backoff#166
- Fix bug with max_tries/max_time callables litl/backoff#164
- Get max_tries/max_time values for every call fixes #160 (from @jvrsantacruz)
- Allow None for jitter keyword arg (typing)
- Add raise_on_giveup keyword arg for decorators
- Add backoff.runtime wait generator for dynamically setting wait times based on target function return value or exception details
- Improve type hints for on_success, on_backoff, on_giveup handlers
- Use decorator-specific detail and handler type hints
- Optionally use typing_extensions for python 3.7 type hinting
- Drop python 3.6 support
- Add python 3.10 support
- Update version in backoff module
- Configurable logging levels for backoff and giveup events
- Minor documentation fixes
- Allow sync decorator call from async function
- NOTE: THIS WILL BE THE FINAL PYTHON 2.7 COMPATIBLE RELEASE.
- Don't include tests and changelog in distribution
- Include tests and changelog in distribution
- Support python 3.8
- Use arguments in log messages rather than fully formatting log litl/backoff#82 from @lbernick
- Custom loggers
- Iterable intervals for constant wait_gen for predefined wait sequences
- Give up on StopIteration raised in wait generators
- Nullary jitter signature deprecation warning
- 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
- Change default log level from ERROR to INFO
- Log retries on exception as INFO
- Add max_time keyword argument
- Add license to source distribution
- Use documented logger name litl/backoff#32 from @pquentin
- Expose version at package root
- Fix checking for running sync version in coroutine in case when event loop is not set from @rutsky
- Async support via
asynciocoroutines (Python 3.4) from @rutsky
- Refactor
backoffmodule into package with identical API
- Don't log retried args and kwargs by default
- README.rst syntax highlighting from @dethi
- Include README.rst in source distribution (fixes package)
- Support runtime configuration with optional callable kwargs
- Add giveup kwarg for exception inspection
- Documentation fixes
- Documentation fixes
- 'Full jitter' algorithm from @jonascheng
- 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
- Event handling for success, backoff, and giveup
- Change log
- Docs and test for multi exception invocations
- Update dev environment test dependencies
- Fix string formatting for python 2.6
- Coveralls.io integration from @singingwolfboy
- Fix logging bug for function calls with tuple params
- Add a default interval of 1 second for the constant generator
- Improve on_predicate stop condition avoiding extra sleep
- Make logging unicode safe
- Log on_predicate backoff as INFO rather than ERROR