summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2022-10-21 12:50:34 -0500
committerJordan Cook <jordan.cook.git@proton.me>2022-10-26 12:53:46 -0500
commit13a7ca785d547260d833a2aeac2ffb1d151eb1f9 (patch)
treed8f7478db803eca6e85987263058601cd52ceaa7 /HISTORY.md
parent843612d60ffbef81b877c77042415a167d5059b9 (diff)
downloadrequests-cache-13a7ca785d547260d833a2aeac2ffb1d151eb1f9.tar.gz
Add more notes on deprecated methods
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 0841a95..b33d2ac 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -111,20 +111,20 @@
⚠️ **Deprecations:**
The following methods are deprecated, and will be removed in a future release. The recommended
-replacements are listed below:
-* `BaseCache.remove_expired_responses()`: `BaseCache.delete(expired=True)`
+replacements are listed below. If this causes problems for you, please open an issue to discuss.
* `CachedSession.remove_expired_responses()`: `BaseCache.delete(expired=True)`
+* `BaseCache.remove_expired_responses()`: `BaseCache.delete(expired=True)`
* `BaseCache.delete_url()`: `BaseCache.delete(urls=[...])`
* `BaseCache.delete_urls()`: `BaseCache.delete(urls=[...])`
* `BaseCache.has_key()`: `BaseCache.contains()`
* `BaseCache.has_url()`: `BaseCache.contains(url=...)`
-* `BaseCache.keys()`: `BaseCache.filter()`
-* `BaseCache.values()`: `BaseCache.filter()`
-* `BaseCache.response_count()`: `BaseCache.filter()`
+* `BaseCache.keys()`: `BaseCache.responses.keys()` (for all keys), or `BaseCache.filter()` (for filtering options)
+* `BaseCache.values()`: `BaseCache.responses.values()` (for all values), or `BaseCache.filter()` (for filtering options)
+* `BaseCache.response_count()`: `len(BaseCache.responses)` (for all responses), or `BaseCache.filter()` (for filtering options)
⚠️ **Breaking changes:**
-Some relatively minor breaking changes have been made that are not expected to affect most users.
+Some breaking changes have been made that are not expected to affect most users.
If you encounter a problem not listed here after updating to 1.0, please create a bug report!
* The `BaseCache.urls` property has been replaced with a method that returns a list of URLs