jkwill87 / mnamer

media file renaming and organizing tool
https://pypi.org/project/mnamer
MIT License
806 stars 68 forks source link

Update requests-cache requirement from ~=0.9.7 to ~=1.1.0 #251

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on requests-cache to permit the latest version.

Release notes

Sourced from requests-cache's releases.

Bugfixes and SQLite concurrency improvements

This is a smaller release with mainly bugfixes and some improvements to the SQLite backend.

See Changelog for complete release details.

Thanks to everyone who provided bug reports, suggestions, and other feedback!

Changelog

Sourced from requests-cache's changelog.

1.1.0 (2023-06-30)

⚙️ Session settings:

  • Add support for regular expressions with urls_expire_after

💾 SQLite Backend:

  • Add busy_timeout argument (see SQLite docs for details)
  • In WAL journaling mode (wal=True), default to 'normal' synchronous mode instead of 'full'
  • Fix potential OperationalError: database is locked in multithreaded SQLite usage during bulk delete operations
  • Fix deadlock in multithreaded SQLite usage if a thread encounters an error during COMMIT

🪲 Bugfixes:

  • Fix loading cached JSON content with decode_content=True when the root element is a list
  • Fix BaseCache.recreate_keys() to normalize response bodies with b'None'
  • Fix BaseCache.contains() for multipart POST requests
  • Fix CachedResponse.history not being fully deserialized on python<=3.8
  • Fix request matching with Vary and redirects
  • Skip normalizing CachedResponse.url so it always matches the original request URL
  • Avoid unnecessary cache writes for revalidation requests if headers and expiration are unchanged
  • Add compatibility with urllib3 2.0

1.0.1 (2023-03-24)

  • Ignore Cache-Control: must-revalidate and no-cache response headers with cache_control=False

1.0.0 (2023-03-01)

See all unreleased issues and PRs

🕗 Expiration & headers:

  • Add support for Cache-Control: min-fresh
  • Add support for Cache-Control: max-stale
  • Add support for Cache-Control: only-if-cached
  • Add support for Cache-Control: stale-if-error
  • Add support for Cache-Control: stale-while-error
  • Add support for Vary
  • Revalidate for Cache-Control: no-cache request or response header
  • Revalidate for Cache-Control: max-age=0, must-revalidate response headers
  • Add an attribute CachedResponse.revalidated to indicate if a cached response was revalidated for the current request

⚙️ Session settings:

  • All settings that affect cache behavior can now be accessed and modified via CachedSession.settings
  • Add always_revalidate session setting to always revalidate before using a cached response (if a validator is available).
  • Add only_if_cached session setting to return only cached results without sending real requests
  • Add stale_while_revalidate session setting to return a stale response initially, while a non-blocking request is sent to refresh the response
  • Make behavior for stale_if_error partially consistent with Cache-Control: stale-if-error: Add support for time values (int, timedelta, etc.) in addition to True/False

⚙️ Request settings:

  • Add only_if_cached option to CachedSession.request() and send() to return only cached results without sending real requests
  • Add refresh option to CachedSession.request() and send() to revalidate with the server before using a cached response
  • Add force_refresh option to CachedSession.request() and send() to awlays make and cache a new request regardless of existing cache contents

... (truncated)

Commits
  • 9e9188b Update changelog
  • 2eca6ec Merge pull request #844 from requests-cache/sqlite-retries
  • fa732c7 Allow setting a custom number of write retries if the SQLite db is locked
  • 4bf0b49 Merge pull request #843 from requests-cache/fix-contains-multipart
  • ea7ec85 Merge pull request #842 from requests-cache/test-matrix
  • 9720b66 Fix BaseCache.contains() for multipart POST requests
  • 3cd8913 Disable python 3.12 tests until fixed
  • f9a3eca Add tests for python 3.12
  • 08bbe41 Run pre-deploy tests for all supported requests versions, but only on latest ...
  • 11283fe Merge pull request #839 from requests-cache/fix-deadlocks
  • Additional commits viewable in compare view


You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

jkwill87 commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

Looks like this PR is closed. If you re-open it, I'll rebase it, as long as no-one else has edited it.

dependabot[bot] commented 1 year ago

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[bot] commented 1 year ago

Looks like this PR is closed. If you re-open it, I'll rebase it, as long as no-one else has edited it.