summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2022-10-08 14:04:42 -0500
committerJordan Cook <jordan.cook.git@proton.me>2022-10-08 14:35:58 -0500
commit5ed7ec906f5d6012ac54d4d521fb99404e8a9dbf (patch)
tree76dd40e3f5700cb1fc33a86863e4406390dbf7eb /HISTORY.md
parent6c3822517b41584ffad0c7a85c9d2b3bdece1e1f (diff)
downloadrequests-cache-5ed7ec906f5d6012ac54d4d521fb99404e8a9dbf.tar.gz
Update for cattrs 22.2
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 8fd923b..b3ba499 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -30,28 +30,29 @@
* The constant `requests_cache.DO_NOT_CACHE` may be used to completely disable caching for a request
**Backends:**
-* SQLite:
+* **SQLite**:
* Improve performance for removing expired responses with `delete()`
* Add `size()` method to get estimated size of the database (including in-memory databases)
* Add `sorted()` method with sorting and other query options
* Add `wal` parameter to enable write-ahead logging
-* Redis:
+* **Redis**:
* Add `ttl_offset` argument to add a delay between cache expiration and deletion
-* MongoDB:
+* **MongoDB**:
* Store responses in plain (human-readable) document format instead of fully serialized binary
* Add optional integration with MongoDB TTL to improve performance for removing expired responses
* Disabled by default. See 'Backends: MongoDB' docs for details.
-* DynamoDB:
+* *DynamoDB**:
* Store responses in plain (human-readable) document format instead of fully serialized binary
* Create default table in on-demand mode instead of provisioned
* Add optional integration with DynamoDB TTL to improve performance for removing expired responses
* This is enabled by default, but may be disabled
-* Filesystem:
+* **Filesystem**:
* The default file format has been changed from pickle to JSON
-* Filesystem, MongoDB, and DynamoDB:
+* **Filesystem, MongoDB, and DynamoDB**:
* Decode JSON and text response bodies so the saved response can be fully human-readable/editable.
May be disabled with `decode_content=False`.
-* SQLite, Redis, MongoDB, and GridFS: Close open database connections when `CachedSession` is used as a contextmanager, or if `CachedSession.close()` is called
+* **SQLite, Redis, MongoDB, and GridFS**:
+ * Close open database connections when `CachedSession` is used as a contextmanager, or if `CachedSession.close()` is called
**Request matching & filtering:**
* Add serializer name to cache keys to avoid errors due to switching serializers
@@ -92,6 +93,7 @@
* Fix issue on Windows with occasional missing `CachedResponse.created_at` timestamp
* Add `CachedRequest.path_url` property for compatibility with `RequestEncodingMixin`
* Add compatibility with cattrs 22.1+
+* Fix potential `AttributeError` due to undetected imports when requests-cache is bundled in a PyInstaller package
**Dependencies:**
* Replace `appdirs` with `platformdirs`