Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix incorrect location of redirects.sqlite when using filesystem backend | Jordan Cook | 2021-08-23 | 1 | -4/+12 |
| | |||||
* | Add appdirs as a dependency, and add 'use_cache_dir' option to SQLite and ↵ | Jordan Cook | 2021-08-21 | 2 | -33/+49 |
| | | | | Filesystem backends | ||||
* | Add CLI arg to benchmark script to select a backend | Jordan Cook | 2021-08-20 | 2 | -1/+5 |
| | |||||
* | Add support for SQLite in-memory databases | Jordan Cook | 2021-08-20 | 2 | -21/+49 |
| | |||||
* | Make DynamoDB and MongoDB naming consistent | Jordan Cook | 2021-08-20 | 4 | -12/+14 |
| | |||||
* | Add FileCache.paths() wrapper method, and return a list instead of generator | Jordan Cook | 2021-08-20 | 2 | -9/+22 |
| | |||||
* | Better backend docs | Jordan Cook | 2021-08-20 | 7 | -46/+280 |
| | |||||
* | Better serializer docs | Jordan Cook | 2021-08-20 | 3 | -29/+44 |
| | |||||
* | Move autosummaries to module docstrings instead of template, to make them ↵ | Jordan Cook | 2021-08-20 | 8 | -10/+64 |
| | | | | easier to customize | ||||
* | Rename DbDict to SQLiteDict for consistency with other backends (with ↵ | Jordan Cook | 2021-08-19 | 3 | -34/+22 |
| | | | | aliases for backwards-compatibility) | ||||
* | Some misc docstring edits | Jordan Cook | 2021-08-19 | 6 | -22/+19 |
| | |||||
* | Exclude cache headers from cache key by default | Jordan Cook | 2021-08-14 | 1 | -1/+3 |
| | |||||
* | Add support for custom cache keys | Jordan Cook | 2021-08-14 | 3 | -26/+47 |
| | |||||
* | Add support for Last-Modified + If-Modified-Since headers | Jordan Cook | 2021-08-14 | 5 | -80/+76 |
| | |||||
* | Add support for ETag + If-None-Match headers | Jordan Cook | 2021-08-14 | 3 | -18/+35 |
| | |||||
* | Convert CacheActions into an attrs class | Jordan Cook | 2021-08-14 | 2 | -18/+39 |
| | |||||
* | Remove deprecated 'core' module and BaseCache.remove_old_entries() | Jordan Cook | 2021-08-14 | 3 | -23/+1 |
| | |||||
* | Drop support for python 3.6 | Jordan Cook | 2021-08-14 | 5 | -34/+10 |
| | |||||
* | Replace some 'type: ignore' statements with better type hinting | Jordan Cook | 2021-08-14 | 4 | -17/+23 |
| | |||||
* | Update changelog, contributors, and bump version | Jordan Cook | 2021-08-12 | 1 | -1/+1 |
| | |||||
* | Parallelize unit tests per module instead of per function | Jordan Cook | 2021-08-12 | 2 | -3/+4 |
| | |||||
* | Ensure httpdate strings from headers get converted to UTC | Jordan Cook | 2021-08-12 | 1 | -5/+4 |
| | |||||
* | Add test coverage for optional serialization dependencies | Jordan Cook | 2021-08-12 | 1 | -9/+8 |
| | |||||
* | SQLite clear(): first attempt DROP TABLE, then delete and re-initialize the ↵ | Jordan Cook | 2021-08-10 | 1 | -6/+10 |
| | | | | cache file if that fails | ||||
* | Apply whitespace/EOF fixes and isort updates | Jordan Cook | 2021-08-08 | 2 | -3/+0 |
| | |||||
* | Add better examples for using requests-cache with requests-mock | Jordan Cook | 2021-08-07 | 1 | -1/+1 |
| | |||||
* | More doc formatting and class/module links | Jordan Cook | 2021-08-07 | 1 | -8/+8 |
| | |||||
* | For filesystem backend, add an appropriate file extension to cache files | Jordan Cook | 2021-08-03 | 2 | -11/+31 |
| | |||||
* | Pretty-print JSON by default | Jordan Cook | 2021-08-03 | 1 | -1/+8 |
| | |||||
* | Add a `BaseCache.delete_urls()` method | Jordan Cook | 2021-08-02 | 1 | -0/+4 |
| | |||||
* | Update `DbDict.bulk_delete()` to support deleting more items than SQLite's ↵ | Jordan Cook | 2021-08-02 | 1 | -8/+16 |
| | | | | variable limit (999) | ||||
* | Update `DbCache.clear()` to succeed even if the database is corrupted | Jordan Cook | 2021-08-02 | 1 | -13/+31 |
| | |||||
* | Add separate Dependabot schedules for requests+urllib3 (daily) vs everything ↵ | Jordan Cook | 2021-07-21 | 1 | -1/+1 |
| | | | | else (weekly) | ||||
* | Add doc section and sample response for YAML serializer | Jordan Cook | 2021-07-21 | 1 | -2/+2 |
| | |||||
* | Add CachedResponse.cache_key attribute and update in CachedSession.send() | Jordan Cook | 2021-07-20 | 4 | -13/+17 |
| | |||||
* | Fix unpickling CachedResponse on python 3.6 | Jordan Cook | 2021-07-16 | 1 | -0/+6 |
| | |||||
* | Update changelog, bump project version, and bump black version | Jordan Cook | 2021-07-16 | 1 | -1/+1 |
| | |||||
* | Add support for Response.next when 302 responses are cached directly | Jordan Cook | 2021-07-16 | 2 | -4/+25 |
| | |||||
* | Make CachedResponse a non-slotted class to allow client code to set ↵ | Jordan Cook | 2021-07-16 | 1 | -12/+5 |
| | | | | arbitrary attributes on it | ||||
* | Bump versionv0.7.1 | Jordan Cook | 2021-07-09 | 1 | -1/+1 |
| | |||||
* | Fix cache_control option to correctly toggle cache header usage (off by default) | Jordan Cook | 2021-07-09 | 1 | -0/+9 |
| | |||||
* | Add mypy to CI jobs, and add py.typed to indicate PEP-561 compliance | Jordan Cook | 2021-07-06 | 1 | -0/+1 |
| | |||||
* | Improve type annotations and fix type checking errors | Jordan Cook | 2021-07-06 | 12 | -94/+144 |
| | |||||
* | Update changelog | Jordan Cook | 2021-07-06 | 1 | -2/+4 |
| | |||||
* | Some serialization fixes & updates: | Jordan Cook | 2021-07-03 | 9 | -152/+194 |
| | | | | | | | | | | | | | | | | | * Fix tests on python 3.6: * Make `cattrs` optional again * Don't run tests for serializers with missing optional dependencies * Show any skipped tests in pytest output * Fix redirect serialization for backends that serialize all values (DynamoDB and Redis) * Otherwise, the redirect value (which is just another key) will get converted into a `CachedResponse` * Make `pickle` serializer use `cattrs` if installed * Make `bson` serializer compatible with both `pymongo` version and standalone `bson` library * Split up `CattrStage` and preconf converters into separate modules * Turn preconf converters into `Stage` objects * Add `DeprecationWarning` for previous method of using `itsdangerous`, now that there's a better way to initialize it via `SerializerPipeline` * Remove `suppress_warnings` kwarg that's now unused * Make `SerializerPipeline`, `Stage`, and `CattrStage` importable from top-level package (`from requests_cache import ...`) * Add some more details to docs and docstrings | ||||
* | Add option to exclude expired responses in keys(), values(), and ↵ | Jordan Cook | 2021-07-03 | 2 | -23/+25 |
| | | | | response_count() | ||||
* | Rephrase BaseCache.__str__() count as 'total rows' to be less ambiguous, ↵ | Jordan Cook | 2021-07-03 | 1 | -1/+4 |
| | | | | since the total may include invalid responses | ||||
* | Add BaseCache.response_count() method to get an accurate count of valid ↵ | Jordan Cook | 2021-07-03 | 1 | -0/+6 |
| | | | | responses | ||||
* | Merge pull request #286 from parkerhancock/serialization_pipelines | Jordan Cook | 2021-06-22 | 11 | -213/+201 |
|\ | | | | | Serialization Pipeline Refactor | ||||
| * | removed initialization serializer check | Parker Hancock | 2021-06-21 | 1 | -10/+0 |
| | |