summaryrefslogtreecommitdiff
path: root/requests_cache
Commit message (Collapse)AuthorAgeFilesLines
* Add compatibility with urllib3 2.0Jordan Cook2023-05-151-11/+20
|
* Fix loading cached JSON content when decode_content=True and the root ↵Jordan Cook2023-05-082-4/+9
| | | | element is a list
* Enable bugbear extension and fix warningsJordan Cook2023-05-086-4/+13
|
* Don't normalize CachedResponse.url when redacting ignored paramsJordan Cook2023-04-021-14/+18
|
* Ignore Cache-Control: must-revalidate and no-cache when cache_control=FalseJordan Cook2023-03-241-6/+7
|
* Update dependencies, pre-commit hooks, and contributorsJordan Cook2023-03-241-1/+1
|
* Allow regexes for URL expiration patternsSimon Leiner2023-03-243-9/+22
| | | | | This allows for more fine-grained control over URL patterns than globbing in the rare cases where that is needed.
* Update dependenciesJordan Cook2023-03-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump rrainn/dynamodb-action from 2.0.1 to 3.0.0 Bumps [rrainn/dynamodb-action](https://github.com/rrainn/dynamodb-action) from 2.0.1 to 3.0.0. - [Release notes](https://github.com/rrainn/dynamodb-action/releases) - [Commits](https://github.com/rrainn/dynamodb-action/compare/v2.0.1...v3.0.0) --- updated-dependencies: - dependency-name: rrainn/dynamodb-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Bump pytest from 7.1.3 to 7.2.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 to 7.2.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.1.3...7.2.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump pytest-xdist from 2.5.0 to 3.0.2 Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 2.5.0 to 3.0.2. - [Release notes](https://github.com/pytest-dev/pytest-xdist/releases) - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.5.0...v3.0.2) --- updated-dependencies: - dependency-name: pytest-xdist dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Bump sphinx-autodoc-typehints from 1.19.5 to 1.20.1 Bumps [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) from 1.19.5 to 1.20.1. - [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases) - [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md) - [Commits](https://github.com/tox-dev/sphinx-autodoc-typehints/compare/1.19.5...1.20.1) --- updated-dependencies: - dependency-name: sphinx-autodoc-typehints dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump ujson from 5.6.0 to 5.7.0 Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.6.0 to 5.7.0. - [Release notes](https://github.com/ultrajson/ultrajson/releases) - [Commits](https://github.com/ultrajson/ultrajson/compare/5.6.0...5.7.0) --- updated-dependencies: - dependency-name: ujson dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump coverage from 6.5.0 to 7.0.5 Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.5.0 to 7.0.5. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/6.5.0...7.0.5) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Fix typosJordan Cook2023-03-011-1/+1
|
* Share SQLite connection objects among threads and use lock for write ↵Jordan Cook2023-03-011-20/+26
| | | | operations instead of using thread-local connections
* Don't use bulk_delete() if only deleting a single keyJordan Cook2023-03-011-1/+8
|
* Change DynamoDB table to use cache key as partition keyJordan Cook2023-03-012-49/+36
|
* Don't raise_for_status if status_code of response is in allowable_codesDavid Dv Schmidt2023-02-181-1/+4
|
* Raise an error for invalid expiration string values (except for headers ↵Jordan Cook2023-02-181-3/+7
| | | | containing httpdates)
* Set default serializers for each backend using param defaults instead of ↵Jordan Cook2023-01-138-70/+95
| | | | 'default_serializer' class attributes
* Make CachedResponse.cache_key available from all cache access methodsJordan Cook2022-12-307-19/+25
|
* Fix ambiguous log message for BaseCache.delete()Jordan Cook2022-12-301-1/+1
|
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-1316-58/+89
|
* Check if raw._fp is None before trying is_fp_closed()Jordan Cook2022-12-041-1/+1
|
* Make use of index with SQLiteCache.filter(expired=False)Jordan Cook2022-10-282-14/+22
|
* Add SQLite method to count unexpired responses in SQLJordan Cook2022-10-281-6/+28
|
* Omit invalid responses and set response.cache_key in SQLiteCache.sorted()Jordan Cook2022-10-281-2/+10
|
* Set uri=True when using an in-memory SQLite dbJordan Cook2022-10-281-1/+3
|
* Handle errors due to invalid responses in deserialize(), so it applies to ↵Jordan Cook2022-10-281-8/+16
| | | | other methods besides just get_responses()
* Handle using a converter that doesn't support the omit_if_default keyword ↵Jordan Cook2022-10-281-1/+5
| | | | argument
* Add more notes on deprecated methodsJordan Cook2022-10-261-1/+13
|
* Add some missing type hintsJordan Cook2022-10-261-2/+2
|
* Add BaseCache.has_key() back; this was intended to be deprecated, not yet ↵Jordan Cook2022-10-261-0/+7
| | | | removed
* Fix backwards-compatibility with deprecated remove_expired_responsesJordan Cook2022-10-262-5/+5
|
* Fix remove_expired_responses deprecation suggestionDave Gaeddert2022-10-261-1/+1
|
* Add support for header values as bytesJordan Cook2022-10-201-2/+2
|
* Explicitly disable pickling CachedSession objectsJordan Cook2022-10-201-0/+6
|
* Update for cattrs 22.2Jordan Cook2022-10-081-8/+8
|
* Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵Jordan Cook2022-09-301-3/+11
| | | | has_url() and delete_url()
* Fix issue on Windows with occasional missing `CachedResponse.created_at` ↵Jordan Cook2022-09-301-2/+4
| | | | timestamp
* Silence DeprecationWarnings during tests for deprecated methodsJordan Cook2022-09-301-7/+10
|
* Add ttl_offset argument for Redis backendJordan Cook2022-09-301-7/+17
|
* Add delete() function for patcherJordan Cook2022-09-291-3/+15
|
* Match whether ignored_parameters are present in a request (without matching ↵Jordan Cook2022-09-291-8/+13
| | | | content)
* Add method to recreate cache keysJordan Cook2022-08-232-0/+17
|
* Add support for duplicate request paramsJordan Cook2022-08-151-13/+23
|
* Update only_if_cached to take precedence over refresh or other revalidation ↵Jordan Cook2022-07-301-1/+1
| | | | conditions
* Remove catching/logging ImportErrors in top-level packageJordan Cook2022-06-291-12/+7
|
* Update docsJordan Cook2022-06-162-12/+3
|
* Save a couple microsecondsJordan Cook2022-06-161-0/+4
|
* Some additional logging and testsJordan Cook2022-06-163-5/+31
|
* Add support for VaryJordan Cook2022-06-163-7/+49
|
* Normalize ordering and whitespace for multi-value request headersJordan Cook2022-06-161-3/+17
|
* Use json.JSONDecodeError and requests.RequestException instead of ↵Jordan Cook2022-06-111-2/+3
| | | | requests.JSONDecodeError for compatibility with requests<2.27
* Remove HTTPResponse attributes from the cache, and re-construct ↵Jordan Cook2022-06-113-32/+35
| | | | CachedResponse.raw after deserialization