Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump requests-cache from 0.5.2 to 0.7.5 #280

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 15, 2021

Bumps requests-cache from 0.5.2 to 0.7.5.

Release notes

Sourced from requests-cache's releases.

Cache-Control support, new Filesystem backend, and serializers

See Changelog for release details

URL pattern-based expiration, improved serialization format, and lots of bugfixes

See Changelog for release details

Changelog

Sourced from requests-cache's changelog.

0.7.5 (2021-09-15)

  • Fix incorrect location of redirects.sqlite when using filesystem backend
  • Fix issue in which redirects.sqlite would get included in response paths with filesystem backend
  • Add aliases for forwards-compatibility with 0.8+
  • Backport fixes from 0.8.1

0.7.4 (2021-08-16)

  • Fix an issue with httpdate strings from Expires headers not getting converted to UTC
  • Fix a packaging issue with extra files added to top-level wheel directory
  • Fix some issues with parallelizing tests using pytest-xdist

0.7.3 (2021-08-10)

  • SQLite backend:
    • Update DbCache.clear() to succeed even if the database is corrupted
    • Update DbDict.bulk_delete() to split the operation into multiple statements to support deleting more items than SQLite's variable limit (999)
  • Filesystem backend:
    • When using JSON serializer, pretty-print JSON by default
    • Add an appropriate file extension to cache files (.json, .yaml, .pkl, etc.) by default; can be overridden or disabled with the extension parameter.
  • Add a BaseCache.delete_urls() method to bulk delete multiple responses from the cache based on request URL

0.7.2 (2021-07-21)

  • Add support for Response.next (to get the next request in a redirect chain) when 302 responses are cached directly
  • Add a CachedResponse.cache_key attribute
  • Make CachedResponse a non-slotted class to allow client code to set arbitrary attributes on it

0.7.1 (2021-07-09)

  • Fix a bug in which Cache-Control headers would be used unexpectedly

0.7.0 (2021-07-07)

See all issues and PRs for 0.7

Backends:

  • Add a filesystem backend that stores responses as local files
  • SQLite and Filesystem: Add use_temp option to store files in a temp directory
  • SQLite: Use persistent thread-local connections, and improve performance for bulk operations
  • DynamoDB: Fix DynamoDbDict.__iter__ to return keys instead of values
  • MongoDB: Remove usage of deprecated pymongo Collection.find_and_modify()
  • Allow passing any backend-specific connection kwargs via CachedSession to the underlying connection function or object:
    • SQLite: sqlite3.connect
    • DynamoDB: boto3.resource
    • Redis: redis.Redis
    • MongoDB and GridFS: pymongo.MongoClient

Expiration:

  • Add optional support for the following request headers:
    • Cache-Control: max-age
    • Cache-Control: no-cache
    • Cache-Control: no-store
  • Add optional support for the following response headers:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [requests-cache](https://github.com/reclosedev/requests-cache) from 0.5.2 to 0.7.5.
- [Release notes](https://github.com/reclosedev/requests-cache/releases)
- [Changelog](https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md)
- [Commits](https://github.com/reclosedev/requests-cache/commits/v0.7.5)

---
updated-dependencies:
- dependency-name: requests-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 15, 2021
@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #280 (273caa5) into main (b6d7e88) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files           8        8           
  Lines         357      357           
=======================================
  Hits          339      339           
  Misses         18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6d7e88...273caa5. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants