Releases: will-ockmore/httpx-retries
Releases · will-ockmore/httpx-retries
0.5.0
Added
total_timeoutparameter onRetryto 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_methodsstores 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_afternow rejects non-ASCII digit characters per RFC 7231. (#62 by @itniuma2026)
0.4.6
Fixed
- Don't recalculate
time_to_sleepunecessarily (#51 by @jdkessinger)
0.4.5
Fixed
- Close all responses, not just server errors (#49 by @will-ockmore )
0.4.4
Fixed
- Always close responses when retrying operations (#46 by @mattiZed & @will-ockmore)
0.4.3
0.4.2
Fixed
- Allow non-standard status codes to be passed to the
status_forcelistparameter forRetry, and handled
inRetry.is_retryable_status_code.
0.4.1
Added
- Included the request object in the retry logs within
RetryTransport._retry_operationandRetryTransport._retry_operation_async.
Fixed
- Relaxed the dependency specifier on
httpxto include any version greater than0.20.0.
0.4.0
Added
- Added FAQs section to the docs.
Fixed
- Loosen the restriction on
transportwhen initializingRetryTransport, so that downstream transports can extend
fromhttpx.BaseTransportandhttpx.AsyncBaseTransport.
0.3.2
Added
- Debug logging is now emitted for core functions
- Documentation updated to include guides to retry behaviour & logging
Fixed
- When
Retry-Afteris in the past, the default backoff is now used