WebEdge
WebEdge copied to clipboard
Bump cachecontrol from 0.12.6 to 0.12.11
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.LastModifiedheuristic. This uses the same behaviour as many browsers to base expiry on theLast-Modifiedheader 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.ExpiresAfterheuristic. This allows passing in arguments like adatetime.timedeltain order to configure that all responses are cached for the specific period of time.
... (truncated)
Commits
2e0fbc2Bump version: 0.12.10 → 0.12.114184070Merge pull request #271 from itamarst/265-memory-use-2-alternative-api511197dAdd documentation.d6a3a84Update release notes.767fc5aSplit FileCache into two variants.7815847Merge pull request #269 from dropseed/redis-expires-int7b198eeMerge pull request #270 from dropseed/gitignore625cc5eNews file.16d8e8bFix existing tests.8fdf728Make the test a bit more robust.- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)