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.7.3 #36

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps requests-cache from 0.5.2 to 0.7.3.

Release notes

Sourced from requests-cache's releases.

Cache header support, new backend, and new serializers

See Changelog for release details

New options for customizing expiration, improved serialization format, and lots of bugfixes

See Changelog for release details

Changelog

Sourced from requests-cache's changelog.

0.7.3 (2021-08-10)

  • SQLite backend: Update DbCache.clear() to succeed even if the database is corrupted
  • SQLite backend: update DbDict.bulk_delete() to split the operation into multiple statements to support deleting more items than SQLite's variable limit (999)
  • Filesystem backend: When using JSON serializer, pretty-print JSON by default
  • Filesystem backend: Add an appropriate file extension to cache files (.json, .yaml, .pkl, etc.) by default. Can be overridden or disabled with the extension parameter.
  • Add a BaseCache.delete_urls() method to bulk delete multiple responses from the cache based on request URL

0.7.2 (2021-07-21)

  • Add support for Response.next (to get the next request in a redirect chain) when 302 responses are cached directly
  • Add a CachedResponse.cache_key attribute
  • Make CachedResponse a non-slotted class to allow client code to set arbitrary attributes on it

0.7.1 (2021-07-09)

  • Fix a bug in which Cache-Control headers would be used unexpectedly

0.7.0 (2021-07-07)

See all issues and PRs for 0.7

Backends

  • Add a filesystem backend that stores responses as local files
  • SQLite and filesystem: Add use_temp option to store files in a temp directory
  • SQLite: Use persistent thread-local connections, and improve performance for bulk operations
  • DynamoDB: Fix DynamoDbDict.__iter__ to return keys instead of values
  • MongoDB: Remove usage of deprecated pymongo Collection.find_and_modify()
  • Allow passing any backend-specific connection kwargs via CachedSession to the underlying connection function or object:
    • SQLite: sqlite3.connect
    • DynamoDB: boto3.resource
    • Redis: redis.Redis
    • MongoDB and GridFS: pymongo.MongoClient

Expiration

  • Add optional support for the following request headers:
    • Cache-Control: max-age
    • Cache-Control: no-cache
    • Cache-Control: no-store
  • Add optional support for the following response headers:
    • Cache-Control: max-age
    • Cache-Control: no-store
    • Expires
  • Add cache_control option to CachedSession to enable usage of cache headers
  • Add support for HTTP timestamps (RFC 5322) in expire_after parameters
  • Add support for bypassing the cache if expire_after=0
  • Add support for making a cache whitelist using URL patterns

Serialization

  • Add data models for all serialized objects
  • Add a BSON serializer
  • Add a JSON serializer

... (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 3 years ago

Superseded by #38.