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 cachecontrol from 0.12.6 to 0.12.11 #164

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 Apr 25, 2022

Bumps cachecontrol from 0.12.6 to 0.12.11.

Changelog

Sourced from cachecontrol's changelog.

0.12.11

  • Added new variant of FileCache, SeparateBodyFileCache, which uses less memory by storing the body in a separate file than metadata, and streaming data in and out directly to/from that file. Implemented by Itamar Turner-Trauring, work sponsored by G-Research.

0.12.7

  • Dropped support for Python 2.7, 3.4, 3.5.
  • Reduced memory usage when caching large files.

0.12.0

Rather than using compressed JSON for caching values, we are now using MessagePack (http://msgpack.org/). MessagePack has the advantage that that serialization and deserialization is faster, especially for caching large binary payloads.

0.11.2

This release introduces the cachecontrol.heuristics.LastModified heuristic. This uses the same behaviour as many browsers to base expiry on the Last-Modified header when no explicit expiry is provided.

0.11.0

The biggest change is the introduction of using compressed JSON rather than pickle for storing cached values. This allows Python 3.4 and Python 2.7 to use the same cache store. Previously, if a cache was created on 3.4, a 2.7 client would fail loading it, causing an invalid cache miss. Using JSON also avoids the exec call used in pickle, making the cache more secure by avoiding a potential code injection point. Finally, the compressed JSON is a smaller payload, saving a bit of space.

In order to support arbitrary binary data in the JSON format, base64 encoding is used to turn the data into strings. It has to do some encoding dances to make sure that the bytes/str types are correct, so please open a new issue if you notice any issues.

This release also introduces the cachecontrol.heuristics.ExpiresAfter heuristic. This allows passing in arguments like a datetime.timedelta in order to configure that all responses are cached for the specific period of time.

... (truncated)

Commits
  • 2e0fbc2 Bump version: 0.12.10 → 0.12.11
  • 4184070 Merge pull request #271 from itamarst/265-memory-use-2-alternative-api
  • 511197d Add documentation.
  • d6a3a84 Update release notes.
  • 767fc5a Split FileCache into two variants.
  • 7815847 Merge pull request #269 from dropseed/redis-expires-int
  • 7b198ee Merge pull request #270 from dropseed/gitignore
  • 625cc5e News file.
  • 16d8e8b Fix existing tests.
  • 8fdf728 Make the test a bit more robust.
  • Additional commits viewable in compare view

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 [cachecontrol](https://github.com/ionrock/cachecontrol) from 0.12.6 to 0.12.11.
- [Release notes](https://github.com/ionrock/cachecontrol/releases)
- [Changelog](https://github.com/ionrock/cachecontrol/blob/master/docs/release_notes.rst)
- [Commits](psf/cachecontrol@v0.12.6...v0.12.11)

---
updated-dependencies:
- dependency-name: cachecontrol
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 25, 2022
@dependabot dependabot bot requested a review from HarshCasper April 25, 2022 03:00
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