Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add compatibility with urllib3 2.0 | Jordan Cook | 2023-05-15 | 1 | -9/+4 |
| | |||||
* | Fix loading cached JSON content when decode_content=True and the root ↵ | Jordan Cook | 2023-05-08 | 1 | -2/+17 |
| | | | | element is a list | ||||
* | Enable bugbear extension and fix warnings | Jordan Cook | 2023-05-08 | 1 | -11/+5 |
| | |||||
* | Share SQLite connection objects among threads and use lock for write ↵ | Jordan Cook | 2023-03-01 | 1 | -8/+22 |
| | | | | operations instead of using thread-local connections | ||||
* | Set default serializers for each backend using param defaults instead of ↵ | Jordan Cook | 2023-01-13 | 1 | -1/+0 |
| | | | | 'default_serializer' class attributes | ||||
* | Add tests for pypy3.9 | Jordan Cook | 2022-12-30 | 1 | -0/+2 |
| | |||||
* | Handle errors due to invalid responses in deserialize(), so it applies to ↵ | Jordan Cook | 2022-10-28 | 1 | -2/+2 |
| | | | | other methods besides just get_responses() | ||||
* | Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵ | Jordan Cook | 2022-09-30 | 1 | -2/+2 |
| | | | | has_url() and delete_url() | ||||
* | Match whether ignored_parameters are present in a request (without matching ↵ | Jordan Cook | 2022-09-29 | 1 | -11/+13 |
| | | | | content) | ||||
* | Update tests and docs | Jordan Cook | 2022-06-11 | 1 | -10/+2 |
| | |||||
* | Split up remove_expired_reponses() into remove() and reset_expiration() ↵ | Jordan Cook | 2022-06-11 | 1 | -2/+10 |
| | | | | methods, with more granular arguments | ||||
* | Run integration tests with all serializers _only_ for Filesystem backend; ↵ | Jordan Cook | 2022-06-10 | 1 | -29/+6 |
| | | | | for all other backends, only test with default serializer | ||||
* | Change this into an option for CattrStage instead of a separate class | Jordan Cook | 2022-06-10 | 1 | -1/+6 |
| | |||||
* | Update repo links, changelog, and contributors | Jordan Cook | 2022-05-15 | 1 | -0/+1 |
| | |||||
* | Add 'older_than' argument to remove_expired_responses() | Jordan Cook | 2022-05-03 | 1 | -2/+0 |
| | |||||
* | Add a BaseStorage.default_serializer attribute, to be more explicit about ↵ | Jordan Cook | 2022-04-22 | 1 | -2/+3 |
| | | | | which backends use something other than pickle by default | ||||
* | Merge *PickleDict storage classes into parent classes | Jordan Cook | 2022-04-22 | 1 | -2/+8 |
| | |||||
* | Store responses in DynamoDB as JSON documents instead of serialized binaries | Jordan Cook | 2022-04-19 | 1 | -6/+0 |
| | |||||
* | Close database connections (if applicable) on CachedSession.__exit__ and close() | Jordan Cook | 2022-04-18 | 1 | -1/+2 |
| | |||||
* | Add TTL tests | Jordan Cook | 2022-04-15 | 1 | -3/+4 |
| | |||||
* | Improvements for MongoDB: | Jordan Cook | 2022-04-15 | 1 | -8/+22 |
| | | | | | * Use native document format (BSON) instead of binary blob * Add option to use native TTL feature | ||||
* | Fix some regression bugs and broken tests | Jordan Cook | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Add more unit test coverage for new revalidation behavior | Jordan Cook | 2022-03-11 | 1 | -11/+13 |
| | |||||
* | Handle CorruptGridFile error in GridFS backend | Jordan Cook | 2022-02-22 | 1 | -0/+1 |
| | |||||
* | Add lock around remove_expired_responses() for SQLite, Filesystem, and ↵ | Jordan Cook | 2022-02-22 | 1 | -26/+26 |
| | | | | GridFS backends | ||||
* | Improve GridFS backend thread safety | Jordan Cook | 2022-02-22 | 1 | -1/+1 |
| | |||||
* | Run additional stress tests with multiple processes | Jordan Cook | 2022-02-22 | 1 | -14/+24 |
| | |||||
* | Improve multithreaded tests: use fewer unique responses and more total ↵ | Jordan Cook | 2022-02-22 | 1 | -18/+24 |
| | | | | requests to increase concurrent cache hits | ||||
* | Format using a more typical line length of 100 | Jordan Cook | 2022-01-01 | 1 | -3/+9 |
| | |||||
* | Add unit test to test revalidation refreshening behavior | Manuel Eggimann | 2021-11-30 | 1 | -0/+33 |
| | |||||
* | Fix duplicate cache read (contains + getitem) | Jordan Cook | 2021-10-23 | 1 | -0/+15 |
| | |||||
* | Fix immediate expiration with Expires: 0 and reorganize cache header logic a bit | Jordan Cook | 2021-10-13 | 1 | -7/+4 |
| | |||||
* | Support immediate expiration + revalidation for Cache-Control: max-age=0 and ↵ | Jordan Cook | 2021-10-10 | 1 | -2/+26 |
| | | | | Expires: 0 | ||||
* | Use only integers for expire_after values in seconds, since this is what ↵ | Jordan Cook | 2021-09-18 | 1 | -12/+14 |
| | | | | Cache-Control: max-age requires | ||||
* | Add a bit of missing test coverage | Jordan Cook | 2021-09-06 | 1 | -2/+2 |
| | |||||
* | Fix incorrect location of redirects.sqlite when using filesystem backend | Jordan Cook | 2021-08-23 | 1 | -0/+4 |
| | |||||
* | Add unit tests for new header support | Jordan Cook | 2021-08-14 | 1 | -10/+37 |
| | |||||
* | Drop testing for requests <=0.21 | Jordan Cook | 2021-08-14 | 1 | -4/+0 |
| | |||||
* | Apply whitespace/EOF fixes and isort updates | Jordan Cook | 2021-08-08 | 1 | -1/+1 |
| | |||||
* | Use BaseCache.clear() BaseStorage.clear() prioer to integration tests | Jordan Cook | 2021-08-02 | 1 | -2/+1 |
| | |||||
* | Add support for Response.next when 302 responses are cached directly | Jordan Cook | 2021-07-16 | 1 | -2/+17 |
| | |||||
* | Fix cache_control option to correctly toggle cache header usage (off by default) | Jordan Cook | 2021-07-09 | 1 | -7/+11 |
| | |||||
* | Improve type annotations and fix type checking errors | Jordan Cook | 2021-07-06 | 1 | -6/+2 |
| | |||||
* | Some serialization fixes & updates: | Jordan Cook | 2021-07-03 | 1 | -6/+17 |
| | | | | | | | | | | | | | | | | | * 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 | ||||
* | initial serialization pipeline refactor | Parker Hancock | 2021-06-14 | 1 | -3/+1 |
| | |||||
* | Workaround for poetry issue on python 3.10 beta | Jordan Cook | 2021-06-11 | 1 | -2/+4 |
| | |||||
* | Add tests and docs | Jordan Cook | 2021-06-11 | 1 | -8/+14 |
| | |||||
* | Compatibility fixes for requests 2.16 and 2.17 | Jordan Cook | 2021-06-03 | 1 | -0/+5 |
| | |||||
* | making Flake8 happy by changing comparisions from == True/False/None to is ↵ | Parker Hancock | 2021-06-03 | 1 | -7/+7 |
| | | | | True/False/None | ||||
* | remove 'ignored parameters' from request prior to caching | Parker Hancock | 2021-06-03 | 1 | -0/+43 |
| |