summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2022-09-29 11:47:49 -0500
committerJordan Cook <jordan.cook.git@proton.me>2022-09-29 12:05:13 -0500
commit5204d487fea1d0b89e9eecdbc4a38621d2d4dbe4 (patch)
tree5a7683e4cb01359a151742223c4d3a4301d75f50 /HISTORY.md
parent8af0552b3f1011b5c004d345da4d94e48a40e4fe (diff)
downloadrequests-cache-5204d487fea1d0b89e9eecdbc4a38621d2d4dbe4.tar.gz
Match whether ignored_parameters are present in a request (without matching content)
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY.md b/HISTORY.md
index c0bae25..919c1fc 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -54,8 +54,12 @@
**Request matching & filtering:**
* Add serializer name to cache keys to avoid errors due to switching serializers
* Always skip both cache read and write for requests excluded by `allowable_methods` (previously only skipped write)
-* Ignore and redact common authentication headers and request parameters by default. This provides some default recommended values for `ignored_parameters`, to avoid accidentally storing common credentials (e.g., OAuth tokens) in the cache. This will have no effect if you are already setting `ignored_parameters`.
-* Support distinct matching for requests that differ by duplicate request params (e.g, `a=1` vs `?a=1&a=2`)
+* Ignore and redact common authentication headers and request parameters by default. This provides
+ some default recommended values for `ignored_parameters`, to avoid accidentally storing common
+ credentials in the cache. This will have no effect if `ignored_parameters` is already set.
+* Support distinct matching for requests that differ only by a parameter in `ignored_parameters`
+ (e.g., for a request sent both with and without authentication)
+* Support distinct matching for requests that differ only by duplicate request params (e.g, `a=1` vs `?a=1&a=2`)
**Cache convenience methods:**
* Add `expired` and `invalid` arguments to `BaseCache.delete()` (to replace `remove_expired_responses()`)