diff --git a/python-requests-cache.changes b/python-requests-cache.changes index b426846..0e6bb71 100644 --- a/python-requests-cache.changes +++ b/python-requests-cache.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Nov 21 06:22:09 UTC 2023 - Matej Cepl + +- Update to 1.1.1: + - Backport fix from 1.2: Add compatibility with cattrs 23.2 +- Update to 1.1.0: + - SESSION SETTINGS: + - Add support for regular expressions with urls_expire_after + - SQLITE BACKEND: + - Add busy_timeout argument (see SQLite docs for details) + - In WAL journaling mode (wal=True), default to 'normal' + synchronous mode instead of 'full' + - Fix potential OperationalError: database is locked in + multithreaded SQLite usage during bulk delete operations + - Fix deadlock in multithreaded SQLite usage if a thread + encounters an error during COMMIT + - BUGFIXES: + - Fix loading cached JSON content with decode_content=True + when the root element is a list + - Fix BaseCache.recreate_keys() to normalize response bodies + with b'None' + - Fix BaseCache.contains() for multipart POST requests + - Fix CachedResponse.history not being fully deserialized on + python<=3.8 + - Fix request matching with Vary and redirects + - Skip normalizing CachedResponse.url so it always matches + the original request URL + - Avoid unnecessary cache writes for revalidation requests if + headers and expiration are unchanged + - Add compatibility with urllib3 2.0 + ------------------------------------------------------------------- Thu May 4 20:20:19 UTC 2023 - Matej Cepl diff --git a/python-requests-cache.spec b/python-requests-cache.spec index 1f380ff..2249c21 100644 --- a/python-requests-cache.spec +++ b/python-requests-cache.spec @@ -17,7 +17,7 @@ Name: python-requests-cache -Version: 1.0.1 +Version: 1.1.1 Release: 0 Summary: Persistent cache for requests library License: BSD-2-Clause @@ -50,6 +50,7 @@ BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module responses} BuildRequires: %{python_module rich} BuildRequires: %{python_module tenacity} +BuildRequires: %{python_module time-machine} BuildRequires: %{python_module timeout-decorator} BuildRequires: %{python_module url-normalize >= 1.4} BuildRequires: redis diff --git a/requests-cache-1.0.1.tar.gz b/requests-cache-1.0.1.tar.gz deleted file mode 100644 index a2324ad..0000000 --- a/requests-cache-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c64a69d5be513cb5c9a21e0ca3d067d0581d8041d6cab2c2f1ba0325606b16f6 -size 2914175 diff --git a/requests-cache-1.1.1.tar.gz b/requests-cache-1.1.1.tar.gz new file mode 100644 index 0000000..bd4a4ae --- /dev/null +++ b/requests-cache-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c36da550f7c2651cbee7b49f9c252421f2b03d561b91462b82028a5b6426541 +size 2927360