From 0bb492ab32ff4a8401d6afea5495b5fc6085bb5e Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 18 Feb 2026 14:31:16 -0800 Subject: [PATCH] Bump version to 5.8.0 Co-Authored-By: Claude Opus 4.6 --- HISTORY.rst | 7 ++++++- internetarchive/__version__.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 153fe9bb..988d0c3a 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,7 +3,7 @@ Release History --------------- -5.8.0 (2026-02-06) +5.8.0 (2026-02-18) ++++++++++++++++++ **Features and Improvements** @@ -21,6 +21,11 @@ Release History - Fixed mutable ``default={}`` bug in custom argparse actions (``PostDataAction``, ``QueryStringAction``, ``MetadataAction``, ``FlattenListAction``) that caused state leakage when parsers were reused across multiple invocations. +- Fixed ``RecursionError`` caused by ``socket.connect`` being monkey-patched on every + ``ArchiveSession`` instantiation. Each new session would wrap the already-patched + function, causing infinite mutual recursion after ~980 sessions. The patch is now + applied once at module import time + (`#746 `_). 5.7.2 (2026-01-29) ++++++++++++++++++ diff --git a/internetarchive/__version__.py b/internetarchive/__version__.py index 9ba1aa47..97780aaa 100644 --- a/internetarchive/__version__.py +++ b/internetarchive/__version__.py @@ -1 +1 @@ -__version__ = '5.8.0.dev0' +__version__ = '5.8.0'