chore(deps): update dependency requests-cache to v1.3.0#41
Open
renovate[bot] wants to merge 1 commit intoalphafrom
Open
chore(deps): update dependency requests-cache to v1.3.0#41renovate[bot] wants to merge 1 commit intoalphafrom
renovate[bot] wants to merge 1 commit intoalphafrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #41 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 237 237
Branches 56 56
=========================================
Hits 237 237
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3629094 to
47a8c8b
Compare
47a8c8b to
52bf62a
Compare
52bf62a to
df75778
Compare
df75778 to
0211a03
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.1→1.3.0Release Notes
requests-cache/requests-cache (requests-cache)
v1.3.0Compare Source
💾 Serialization:
serializer='json'will no longer automatically useultrajsonif installed; it must be specified explicitlybsoncodec; please installpymongoto use BSON serialization[bson]package extra to prevent accidentally installing it in the same environment aspymongo.bsonfile extension by defaultorjsonas a JSON serializerjson_serializer,ujson_serializer, andorjson_serializer[json]package extra due to multiple supported JSON librariesdecode_contentto be set to different values across multiple sessions in use at the same time💾 Backends:
requests_cache.backends.filesystem.LRUFileDictclass to optionally limit the size of the filesystem cache. Enabled withmax_cache_bytesargument.SCANandHSCANinstead ofKEYS,HKEYS, andHGETALLcreate_tableofDynamoDBCacheto control if the class attempts to create the table in DynamoDB or not.connectionparameter to allow passing an existingMongoClientobject🕗 Expiration & headers:
Vary: Cookie⚙️ Session settings:
autocloseoption to close backend connections when the session is closedread_onlyoption to read existing cached responses, but not write any new responses to the cacheℹ️ Cache convenience methods:
verifyparameter toBaseCache.contains()anddelete()to handle requests made with SSL verification disabled🧩 Compatibility and packaging:
🪲 Bugfixes:
content_root_keysetting to target a sub-tree innormalize_json_body, so only listed fields under that key are ignored in cache keyssqlite3.InterfaceError: bad parameter or other API misusewith concurrent SQLite usage in python 3.12+requests-cache <= 1.1stale_if_errorduring revalidation requestsinstall_cache()expire_afteris set toDO_NOT_CACHEcache_nameand a backend instance (database names, file paths, etc. cannot be reliably updated after initialization)Content-LengthandTransfer-Encoding1.2.1 (2024-06-18)
🪲 Bugfixes:
normalize_headersnot accepting header values in bytesCachedResponse.expires_unixpropertydecode_content=Truewhen the root element is an empty list or objectresponseslibrary to be compatible withrequests2.32v1.2.1Compare Source
🪲 Bugfixes:
normalize_headersnot accepting header values in bytesCachedResponse.expires_unixpropertydecode_content=Truewhen the root element is an empty list or objectresponseslibrary to be compatible withrequests2.32v1.2.0Compare Source
CachedSessionandBaseCache🕗 Expiration & headers:
X-HTTP-Method-Overrideand other headers that can override request method⚙️ Session methods:
CachedSession.wrap()classmethod to add caching to an existingrequests.Sessionobject💾 SQLite Backend:
vacuumparameter toSQLiteCache.delete()to optionally skip vacuuming after deletion (enabled by default to free up disk space)SQLiteCache.delete()when deleting a single key🧩 Compatibility:
decode_content=True(root element with any type)🪲 Bugfixes:
IncompleteReaderror that could sometimes occur with streaming requests due to mismatch withContent-LengthheaderCachedHTTPResponse._request_urlproperty for compatibility with urllib3verifyparam, cache the response under the same key asverify=Trueapplication/vnd.api+json) during request normalization and serialization1.1.1 (2023-11-18)
v1.1.1Compare Source
v1.1.0Compare Source
⚙️ Session settings:
urls_expire_after💾 SQLite Backend:
busy_timeoutargument (see SQLite docs for details)wal=True), default to 'normal' synchronous mode instead of 'full'OperationalError: database is lockedin multithreaded SQLite usage during bulk delete operations🪲 Bugfixes:
decode_content=Truewhen the root element is a listBaseCache.recreate_keys()to normalize response bodies withb'None'BaseCache.contains()for multipart POST requestsCachedResponse.historynot being fully deserialized on python<=3.8Varyand redirectsCachedResponse.urlso it always matches the original request URL1.0.1 (2023-03-24)
Cache-Control: must-revalidateandno-cacheresponse headers withcache_control=FalseConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.