Skip to content

Releases: will-ockmore/httpx-retries

0.5.0

20 Apr 01:21
ebc83ec

Choose a tag to compare

Added

  • total_timeout parameter on Retry to cap the cumulative time spent sleeping across retry attempts on a single request. (#64 by @will-ockmore)
  • FAQ section explaining retry behaviour for read errors. (#68 by @will-ockmore)
  • Security note in the logging docs warning that DEBUG logs include full request URLs, including query strings. (#63 by @P-r-e-m-i-u-m)

Changed

  • Dropped support for Python 3.9; added classifiers for Python 3.13 and 3.14. (#69 by @will-ockmore)
  • Non-standard HTTP methods are now accepted without raising; Retry.allowed_methods stores uppercase strings rather than http.HTTPMethod members. (#64 by @will-ockmore)

Fixed

  • Log a warning when a Retry-After HTTP-date value is parsed without timezone info, instead of silently using the local offset. (#70 by @taji42)
  • parse_retry_after now rejects non-ASCII digit characters per RFC 7231. (#62 by @itniuma2026)

0.4.6

17 Feb 16:15
895e9c1

Choose a tag to compare

Fixed

0.4.5

17 Oct 15:54
cee931d

Choose a tag to compare

Fixed

0.4.4

17 Oct 14:27
472858b

Choose a tag to compare

Fixed

0.4.3

08 Oct 13:56
26f96d4

Choose a tag to compare

Added

  • Allow arbitrary exceptions to be provided to Retry.retry_on_exceptions (#37 by @provinzkraut)

Fixed

0.4.2

02 Sep 20:41
ae19d8a

Choose a tag to compare

Fixed

  • Allow non-standard status codes to be passed to the status_forcelist parameter for Retry, and handled
    in Retry.is_retryable_status_code.

0.4.1

23 Aug 12:20
f65def3

Choose a tag to compare

Added

  • Included the request object in the retry logs within RetryTransport._retry_operation and RetryTransport._retry_operation_async.

Fixed

  • Relaxed the dependency specifier on httpx to include any version greater than 0.20.0.

0.4.0

18 May 21:05
51e9eeb

Choose a tag to compare

Added

  • Added FAQs section to the docs.

Fixed

  • Loosen the restriction on transport when initializing RetryTransport, so that downstream transports can extend
    from httpx.BaseTransport and httpx.AsyncBaseTransport.

0.3.2

20 Apr 22:30
4b59212

Choose a tag to compare

Added

  • Debug logging is now emitted for core functions
  • Documentation updated to include guides to retry behaviour & logging

Fixed

  • When Retry-After is in the past, the default backoff is now used

0.3.1

30 Mar 20:06
b28dbff

Choose a tag to compare

Fixed

  • Included missing HTTP verbs PATCH and CONNECT in the backwards-compatible HTTPMethod enum (#9)