summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-08-28 15:52:24 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-08-28 15:52:26 -0500
commitdf5118ecbfb6b2333ab425884fffef40de13d97e (patch)
treec867076d18f5b3bb94945e0af722f1651ab323ef /HISTORY.md
parent60f4bb089c794ebc797cd016bbb9cd5ba5845ba0 (diff)
downloadrequests-cache-df5118ecbfb6b2333ab425884fffef40de13d97e.tar.gz
Allow has_url(), delete_url(), and create_key() to optionally take requests.Request arguments
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 94b13ea..42cb3b6 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -17,11 +17,14 @@
* SQLite: Add `SQLiteCache.db_path` property
**Serialization:**
-* Use `cattrs` for serialization by default, which enables a more forwards-compatible serialization format
- (e.g., less prone to invalidation due to future updates)
+* Use `cattrs` by default for optimized serialization
**Other features:**
* Add `BaseCache.update()` method as a shortcut for exporting to a different cache instance
+* Allow `BaseCache.has_url()` and `delete_url()` to optionally take arguments for `requests.Request`
+ instead of just a URL
+* Allow `create_key()` to optionally take arguments for `requests.Request` instead of a request
+ object
* Add support for custom cache key callbacks with `key_fn` parameter
* Slightly reduce size of serialized responses