Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 7, 2021

Bumps requests-cache from 0.5.2 to 0.6.4.

Changelog

Sourced from requests-cache's changelog.

0.6.4 (2021-06-04)

Fix a bug in which filter_fn() would get called on response.request instead of response

0.6.3 (2021-04-21)

  • Fix false positive warning with include_get_headers
  • Fix handling of decode_content parameter for CachedResponse.raw.read()
  • Replace deprecated pymongo Collection.count() with estimated_document_count()

0.6.2 (2021-04-14)

  • Explicitly include docs, tests, and examples in sdist

0.6.1 (2021-04-13)

  • Handle errors due to invalid responses in BaseCache.urls
  • Add recently renamed BaseCache.remove_old_entries() back, as an alias with a DeprecationWarning
  • Make parent dirs for new SQLite databases
  • Add aws_access_key_id and aws_secret_access_key kwargs to DynamoDbDict
  • Update GridFSPickleDict.__delitem__ to raise a KeyError for missing items
  • Demote most logging.info statements to debug level
  • Exclude test directory from find_packages()
  • Make integration tests easier to run and/or fail more quickly in environments where Docker isn't available

0.6.0 (2021-04-09)

See all issues and PRs for 0.6

Thanks to Code Shelter and contributors for making this release possible!

Serialization

Note: Due to the following changes, responses cached with previous versions of requests-cache will be invalid. These old responses will be treated as expired, and will be refreshed the next time they are requested. They can also be manually converted or removed, if needed (see notes below).

  • Add example script to convert an existing cache from previous serialization format to new one
  • When running remove_expired_responses(), also remove responses that are invalid due to updated serialization format
  • Add CachedResponse class to wrap cached requests.Response objects, which makes additional cache information available to client code
  • Add CachedHTTPResponse class to wrap urllib3.response.HTTPResponse objects, available via CachedResponse.raw
    • Re-construct the raw response on demand to avoid storing extra data in the cache
    • Improve emulation of raw request behavior used for iteration, streaming requests, etc.
  • Add BaseCache.urls property to get all URLs persisted in the cache
  • Add optional support for itsdangerous for more secure serialization

Backends

  • SQLite: Allow passing user paths (~/path-to-cache) to database file with db_path param
  • SQLite: Add timeout parameter
  • Make default table names consistent across backends ('http_cache')

... (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.6.4.
- [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.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 7, 2021
@codecov
Copy link

codecov bot commented Jun 7, 2021

Codecov Report

Merging #259 (104e791) into main (b6d7e88) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  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...104e791. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 7, 2021

Superseded by #262.

@dependabot dependabot bot closed this Jul 7, 2021
@dependabot dependabot bot deleted the dependabot/pip/requests-cache-0.6.4 branch July 7, 2021 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant