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

chore(deps-dev): bump requests-cache from 0.7.1 to 0.9.4 #235

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 25, 2022

Bumps requests-cache from 0.7.1 to 0.9.4.

Release notes

Sourced from requests-cache's releases.

Improved performance, thread safety, Cache-Control support, and general QoL

See Changelog for release details

Conditional requests, custom request matching, and comprehensive user guide

See Changelog for release details

Changelog

Sourced from requests-cache's changelog.

0.9.4 (2022-04-22)

  • Fix forwarding connection parameters passed to RedisCache for redis-py 4.2 and python <=3.8
  • Fix forwarding connection parameters passed to MongoCache for pymongo 4.1 and python <=3.8

0.9.3 (2022-02-22)

  • Fix handling BSON serializer differences between pymongo's bson and standalone bson codec.
  • Handle CorruptGridFile error in GridFS backend
  • Fix cache path expansion for user directories (~/...) for SQLite and filesystem backends
  • Fix request normalization for request body with a list as a JSON root
  • Skip normalizing a JSON request body if it's excessively large (>10MB) due to performance impact
  • Fix some thread safety issues:
    • Fix race condition in SQLite backend with dropping and recreating tables in multiple threads
    • Fix race condition in filesystem backend when one thread deletes a file after it's opened but before it is read by a different thread
    • Fix multiple race conditions in GridFS backend

0.9.2 (2022-02-15)

  • Fix serialization in filesystem backend with binary content that is also valid UTF-8
  • Fix some regression bugs introduced in 0.9.0:
    • Add support for params as a positional argument to CachedSession.request()
    • Add support for disabling expiration for a single request with CachedSession.request(..., expire_after=-1)

0.9.1 (2022-01-15)

  • Add support for python 3.10.2 and 3.9.10 (regarding resolving ForwardRef types during deserialization)
  • Add support for key-only request parameters (regarding hashing request data for cache key creation)
  • Reduce verbosity of log messages when encountering an invalid JSON request body

0.9.0 (2022-01-01)

See all issues and PRs for 0.9

Expiration & Headers:

  • Use Cache-Control request headers by default
  • Add support for Cache-Control: immutable
  • Add support for immediate expiration + revalidation with Cache-Control: max-age=0 and Expires: 0
  • Reset expiration for cached response when a 304 Not Modified response is received

Backends:

  • Filesystem and SQLite backends: Add better error message if parent path exists but isn't a directory
  • Redis: Add optional integration with Redis TTL to improve performance for removing expired responses
    • This is enabled by default, but may be disabled

Other features:

  • Support expire_after param for CachedSession.send()

Performance:

  • Fix duplicate read operation for checking whether to read from redirects cache
  • Skip unnecessary contains check if a key is in the main responses cache
  • Make per-request expiration thread-safe for both CachedSession.request() and CachedSession.send()
  • Some micro-optimizations for request matching

... (truncated)

Commits
  • 39fb312 Merge pull request #614 from JWCook/parameter-forwarding
  • 259f803 Fix forwarding connection parameters for redis-py 4.2 and pymongo 4.1 on pyth...
  • e85e3c0 Forgot to bump version in init file
  • 1e84136 Change wording a bit on cache header behavior
  • cc5305f Merge pull request #537 from JWCook/concurrency-tests
  • 3c77e2c Update dev dependencies and changelog
  • 3453ae6 Handle CorruptGridFile error in GridFS backend
  • fe82501 Increase stress test multiplier to 10 for pre-deployment tests
  • 0bd1446 Add lock around remove_expired_responses() for SQLite, Filesystem, and GridFS...
  • 9576fcf Improve filesystem backend thread safety
  • 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 [requests-cache](https://github.com/reclosedev/requests-cache) from 0.7.1 to 0.9.4.
- [Release notes](https://github.com/reclosedev/requests-cache/releases)
- [Changelog](https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md)
- [Commits](requests-cache/requests-cache@v0.7.1...v0.9.4)

---
updated-dependencies:
- dependency-name: requests-cache
  dependency-type: direct:development
  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 Apr 25, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 2, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

5 similar comments
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 14, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 13, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 20, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 20, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 21, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 21, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/requests-cache-0.9.4 branch July 21, 2022 21:46
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.

None yet

1 participant