Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Bump requests-cache from 0.5.2 to 0.6.4 in /server #640

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 7, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #640 (c8dc22b) into master (761d101) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #640   +/-   ##
=======================================
  Coverage   93.94%   93.94%           
=======================================
  Files          46       46           
  Lines        1471     1471           
  Branches      186      186           
=======================================
  Hits         1382     1382           
  Misses         89       89           

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 761d101...c8dc22b. Read the comment docs.

@dependabot-preview
Copy link
Contributor Author

Superseded by #658.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/server/requests-cache-0.6.4 branch July 12, 2021 07:18
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant