Skip to content

Changelog

v1.4.0

  • Added support for aiohttp ([#28])(https://github.com/austind/retryhttp/pull/28)
  • Dropped support for Python 3.8, added support for Python 3.13 (#29)
  • Bugfix: Prevent installing both requests and httpx unless specified (#26)

v1.3.3

  • Bugfix: Pass error types to wait strategy in retry decorator (#25)

v1.3.2

  • Bugfix: Don't pass stop, wait, and retry keyword arguments from retryhttp.retry on to tenacity.retry() (#23)

v1.3.1

  • Fixed all outstanding mypy errors. (#20)

v1.3.0

v1.2.0

v1.1.0

  • Add HTTP-date value parsing for retryhttp.wait_from_header
  • [retryhttp._utils.is_rate_limited][] now determines that a request was rate limited by the presence of a Retry-After header. In prior versions, this was based on the status code 429 Too Many Requests. However, many servers return other status codes when rate limiting.

v1.0.1

  • Fix documentation errors.

v1.0.0

  • API is now stable. Any breaking changes will follow SemVer guidelines.
  • Added requests.exceptions.ChunkedEncodingError to the list of default network errors.

v0.2.0

  • Rename retryhttp.retry_http_errors to retryhttp.retry.
  • Rename retryhttp.wait_http_errors to retryhttp.wait_context_aware.
  • Restructure project so all members are part of the root namespace.
  • Move type delcarations to retryhttp._types.
  • Enable bare decorator syntax for retryhttp.retry (i.e., @retry works as well as @retry())

v0.1.0

Initial release.

Added the following methods and classes: