mv / fundamentus-api

Python/Pandas code to perform fundamental analysis on companies listed on BOVESPA from the website Fundamentus (www.fundamentus.com.br)
MIT License
90 stars 35 forks source link

Bump requests-cache from 0.5.2 to 0.9.0 #60

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps requests-cache from 0.5.2 to 0.9.0.

Release notes

Sourced from requests-cache's releases.

Performance, QoL, and Cache-Control improvements

See Changelog for release details

Conditional requests, custom request matching, and comprehensive user guide

See Changelog for release details

Cache-Control support, new Filesystem backend, and serializers

See Changelog for release details

URL pattern-based expiration, improved serialization format, and lots of bugfixes

See Changelog for release details

Changelog

Sourced from requests-cache's changelog.

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: Improve performance by using native Redis TTL for cache expiration

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

Bugfixes:

  • Fix regression bug causing headers used for cache key to not guarantee sort order
  • Handle some additional corner cases when normalizing request data
  • Add support for BaseCache keyword arguments passed along with a backend instance
  • Fix issue with cache headers not being used correctly if cache_control=True is used with an expire_after value
  • Fix license metadata as shown on PyPI
  • Fix CachedResponse serialization behavior when using stdlib pickle in a custom serializer

0.8.1 (2021-09-15)

  • Redact ingored_parameters from CachedResponse.url (if used for credentials or other sensitive info)
  • Fix an incorrect debug log message about skipping cache write
  • Add some additional aliases for DbDict, etc. so fully qualified imports don't break

0.8.0 (2021-09-07)

See all issues and PRs for 0.8

Expiration & Headers:

  • Add support for conditional requests and cache validation using:
    • ETag + If-None-Match headers
    • Last-Modified + If-Modified-Since headers
    • 304 Not Modified responses
  • If a cached response is expired but contains a validator, a conditional request will by sent, and a new response will be cached and returned only if the remote content has not changed

Backends:

  • Filesystem:
    • Add FileCache.cache_dir wrapper property
    • Add FileCache.paths() method
    • Add use_cache_dir option to use platform-specific user cache directory

... (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[bot] commented 2 years ago

Superseded by #63.