From b8f647fe10c9c5f939de345fe5b98dd1ac39fa7a Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Mon, 27 Nov 2023 16:40:57 -0800 Subject: [PATCH] Prepare v0.4.4 (#143) Clean up release notes and prepare to release v0.4.4. --- docs/source/release-history.rst | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/docs/source/release-history.rst b/docs/source/release-history.rst index fc29858..e0a1db0 100644 --- a/docs/source/release-history.rst +++ b/docs/source/release-history.rst @@ -2,27 +2,18 @@ Release History =============== -In Development --------------- - -Breaking Changes -^^^^^^^^^^^^^^^^ - -- N/A - - -Features -^^^^^^^^ - -- N/A +v0.4.4 (2023-11-27) +------------------- +This release makes some small fixes to rate limits and retries in order to better match with the current behavior of Wayback Machine servers: -Fixes & Maintenance -^^^^^^^^^^^^^^^^^^^ +- Updated the :meth:`wayback.WaybackClient.search` rate limit to 1 call per second (it was previously 1.5 per second). (:issue:`140`) +- Delayed retries for 60 seconds when receiving rate limit errors from the server. (:issue:`142`) +- Added more logging around requests and rate limiting. This should make it easier to debug future rate limit issues. (:issue:`139`) +- Fixed calculation of the ``time`` attribute on :class:`wayback.exceptions.WaybackRetryError`. It turns out it was only accounting for the time spent waiting between retries and skipping the time waiting for the server to respond! (:issue:`142`) +- Fixed some spots where we leaked HTTP connections during retries or during exception handling. (:issue:`142`) -- Adjusted default rate limits to work better with current throttling in use at archive.org. (:issue:`140`) -- Added more logging around requests are rate limiting. (:issue:`139`) -- Fix calculation of the ``time`` attribute on :class:`wayback.exceptions.WaybackRetryError`. It turns out it was only accounting for the time spent waiting between retries and skipping the time waiting for the server to respond. (:issue:`142`) +The next minor release (v0.5) will almost certainly include some bigger changes to how rate limits and retries are handled. v0.4.3 (2023-09-26)