summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-04-19 22:04:05 -0500
committerJordan Cook <jordan.cook@pioneer.com>2022-04-19 22:06:51 -0500
commitbb6446d6a975f1771cdb06a97e8b576330a63b0d (patch)
tree388898aa871f1eec90bd3b8fcc7bf0caf19dd403 /HISTORY.md
parent7b91dfb9dd8b500ef15d0c48a818b51717303307 (diff)
downloadrequests-cache-bb6446d6a975f1771cdb06a97e8b576330a63b0d.tar.gz
Major bump!
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/HISTORY.md b/HISTORY.md
index ef5e4db..f174881 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,14 +1,18 @@
# History
-## Unreleased
+## 1.0.0 (Unreleased)
[See all unreleased issues and PRs](https://github.com/reclosedev/requests-cache/milestone/5?closed=1)
**Expiration & Headers:**
-* Add support for `Cache-Control: only-if-cached`
* Add support for `Cache-Control: min-fresh`
* Add support for `Cache-Control: max-stale`
+* Add support for `Cache-Control: stale-if-error`
+* Add support for `Cache-Control: only-if-cached`
* Revalidate for `Cache-Control: no-cache` request or response header
* Revalidate for `Cache-Control: max-age=0, must-revalidate` response headers
+
+**Settings:**
+* All settings that affect cache behavior can now be accessed and modified via `CachedSession.settings`
* Add `only_if_cached` option to `CachedSession.request()` and `send()` to return only cached results without sending real requests
* Add `refresh` option to `CachedSession.request()` and `send()` to revalidate with the server before using a cached response
* Add `force_refresh` option to `CachedSession.request()` and `send()` to awlays make and cache a new request regardless of existing cache contents
@@ -44,9 +48,6 @@
* 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
-**Other features:**
-* All settings that affect cache behavior can now be accessed and modified via `CachedSession.settings`
-
**Dependencies:**
* Replace `appdirs` with `platformdirs`