summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2023-02-28 13:09:49 -0600
committerJordan Cook <jordan.cook.git@proton.me>2023-03-01 15:22:07 -0600
commitdc74f212ebaffdb183eb54e55a5d51e1271c671b (patch)
treed1f1c6a24ddf2c541904500fc6d98bf37960d3a2 /HISTORY.md
parent048b772fa751f860ebe73e268a8719c9bc8bc35c (diff)
downloadrequests-cache-dc74f212ebaffdb183eb54e55a5d51e1271c671b.tar.gz
Update docs and screenshots for DynamoDB
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 09b6c1b..6ffdfbe 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -31,6 +31,10 @@
💾 **Backends:**
* **DynamoDB**:
+ * For better read performance and usage of read throughput:
+ * The cache key is now used as the partition key
+ * Redirects are now cached only in-memory and not persisted
+ * Cache size (`len()`) now uses a fast table estimate instead of a full scan
* Store responses in plain (human-readable) document format instead of fully serialized binary
* Create default table in on-demand mode instead of provisioned
* Add optional integration with DynamoDB TTL to improve performance for removing expired responses
@@ -132,7 +136,6 @@ replacements are listed below. If this causes problems for you, please open an i
⚠️ **Breaking changes:**
-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
@@ -141,6 +144,7 @@ If you encounter a problem not listed here after updating to 1.0, please create
* The `CachedSession` `backend` argument must be either an instance or string alias. Previously it would also accept a backend class.
* After initialization, cache settings can only be accesed and modified via
`CachedSession.settings`. Previously, some settings could be modified by setting them on either `CachedSession` or `BaseCache`. In some cases this could silently fail or otherwise have undefined behavior.
+* DynamoDB table structure has changed. If you are using DynamoDB, you will need to create a new table when upgrading to 1.0. See [DynamoDB backend docs](https://requests-cache.readthedocs.io/en/stable/user_guide/backends/dynamodb.html#dynamodb) for more details.
* The following is relevant for **custom backends** that extend built-in storage classes:
* All serializer-specific `BaseStorage` subclasses have been removed, and merged into their respective parent classes. This includes `SQLitePickleDict`, `MongoPickleDict`, and `GridFSPickleDict`.
* All `BaseStorage` subclasses now have a `serializer` attribute, which will be unused if