summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-04-10 12:15:46 -0500
committerJordan Cook <jordan.cook@pioneer.com>2022-04-10 14:23:43 -0500
commitd39fbfac0192fc9a2dc825dc17ede29776863f5f (patch)
treef222add93c23c4fabd68be204da86f8eb616ad90 /HISTORY.md
parent4a593b0c16aa96d5912fb6605dec46b0dc4bf66e (diff)
downloadrequests-cache-d39fbfac0192fc9a2dc825dc17ede29776863f5f.tar.gz
Add default list of ignored_parameters for most common authentication params/headers
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY.md b/HISTORY.md
index a9aea84..663062e 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -14,7 +14,7 @@
* The constant `requests_cache.DO_NOT_CACHE` may be used to completely disable caching for a request
**Backends:**
-* Add `wal` parameter for SQLite backend to enable write-ahead logging
+* SQLite: Add a `wal` parameter to enable write-ahead logging
**Other features:**
* All settings that affect cache behavior can now be accessed and modified via `CachedSession.settings`
@@ -27,6 +27,8 @@
* Populate `cache_key` and `expires` for new (non-cached) responses, if it was written to the cache
* Add return type hints for all `CachedSession` request methods (`get()`, `post()`, etc.)
* Always skip both cache read and write for requests excluded by `allowable_methods` (previously only skipped write)
+* Ignore and redact common authentication params and headers (e.g., for OAuth2) by default
+ * This is simply a default value for `ignored_parameters`, to avoid accidentally storing credentials in the cache
**Dependencies:**
* Replace `appdirs` with `platformdirs`