Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Raise an error for invalid expiration string values (except for headers ↵ | Jordan Cook | 2023-02-18 | 1 | -0/+2 |
| | | | | containing httpdates) | ||||
* | Add tests for pypy3.9 | Jordan Cook | 2022-12-30 | 1 | -1/+3 |
| | |||||
* | Make CachedResponse.cache_key available from all cache access methods | Jordan Cook | 2022-12-30 | 1 | -1/+3 |
| | |||||
* | Update to flake8 v6 | Jordan Cook | 2022-12-13 | 1 | -2/+2 |
| | |||||
* | Add SQLite method to count unexpired responses in SQL | Jordan Cook | 2022-10-28 | 1 | -0/+1 |
| | |||||
* | Update changelog | Jordan Cook | 2022-10-26 | 1 | -18/+19 |
| | |||||
* | Add more notes on deprecated methods | Jordan Cook | 2022-10-26 | 1 | -6/+6 |
| | |||||
* | Add icons to changelog sections for major/minor releases; misc changlog ↵ | Jordan Cook | 2022-10-26 | 1 | -96/+110 |
| | | | | formatting | ||||
* | Fix backwards-compatibility with deprecated remove_expired_responses | Jordan Cook | 2022-10-26 | 1 | -3/+12 |
| | |||||
* | Add support for header values as bytes | Jordan Cook | 2022-10-20 | 1 | -4/+8 |
| | |||||
* | Explicitly disable pickling CachedSession objects | Jordan Cook | 2022-10-20 | 1 | -3/+19 |
| | |||||
* | Update for cattrs 22.2 | Jordan Cook | 2022-10-08 | 1 | -7/+9 |
| | |||||
* | Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵ | Jordan Cook | 2022-09-30 | 1 | -8/+10 |
| | | | | has_url() and delete_url() | ||||
* | Fix issue on Windows with occasional missing `CachedResponse.created_at` ↵ | Jordan Cook | 2022-09-30 | 1 | -0/+1 |
| | | | | timestamp | ||||
* | Add ttl_offset argument for Redis backend | Jordan Cook | 2022-09-30 | 1 | -0/+2 |
| | |||||
* | Match whether ignored_parameters are present in a request (without matching ↵ | Jordan Cook | 2022-09-29 | 1 | -2/+6 |
| | | | | content) | ||||
* | Remove upper version constraint for all non-dev dependencies | Jordan Cook | 2022-08-24 | 1 | -0/+5 |
| | |||||
* | Add method to recreate cache keys | Jordan Cook | 2022-08-23 | 1 | -0/+3 |
| | |||||
* | Remove catching/logging ImportErrors in top-level package | Jordan Cook | 2022-06-29 | 1 | -4/+7 |
| | |||||
* | Update docs | Jordan Cook | 2022-06-16 | 1 | -0/+1 |
| | |||||
* | Clean up SQLiteCache convenience methods a bit | Jordan Cook | 2022-06-11 | 1 | -1/+1 |
| | |||||
* | Update tests and docs | Jordan Cook | 2022-06-11 | 1 | -9/+22 |
| | |||||
* | Split up remove_expired_reponses() into remove() and reset_expiration() ↵ | Jordan Cook | 2022-06-11 | 1 | -0/+10 |
| | | | | methods, with more granular arguments | ||||
* | Update docs and changelog | Jordan Cook | 2022-06-10 | 1 | -0/+4 |
| | |||||
* | Add CachedRequest.path_url property | Jordan Cook | 2022-05-18 | 1 | -0/+1 |
| | |||||
* | Update repo links, changelog, and contributors | Jordan Cook | 2022-05-15 | 1 | -19/+18 |
| | |||||
* | Implement Cache-Control: stale-while-revalidate | Jordan Cook | 2022-05-04 | 1 | -11/+19 |
| | |||||
* | Update changelog and contributors | Jordan Cook | 2022-05-03 | 1 | -0/+5 |
| | |||||
* | Update docs and changelog | Jordan Cook | 2022-04-22 | 1 | -16/+23 |
| | |||||
* | Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8 | Jordan Cook | 2022-04-21 | 1 | -0/+4 |
| | |||||
* | Add support for DynamoDB TTL | Jordan Cook | 2022-04-20 | 1 | -1/+5 |
| | |||||
* | Major bump! | Jordan Cook | 2022-04-19 | 1 | -5/+6 |
| | |||||
* | Create default table in on-demand mode instead of provisioned | Jordan Cook | 2022-04-19 | 1 | -1/+3 |
| | |||||
* | Add support for Cache-Control: stale-if-error | Jordan Cook | 2022-04-18 | 1 | -1/+2 |
| | |||||
* | Add support for Cache-Control: max-stale and min-fresh | Jordan Cook | 2022-04-18 | 1 | -0/+2 |
| | |||||
* | Add positional-or-keyword args to request wrapper methods consistent with ↵ | Jordan Cook | 2022-04-18 | 1 | -5/+10 |
| | | | | requests API | ||||
* | Move all cache policy-related modules to separate 'policy' subpackage | Jordan Cook | 2022-04-17 | 1 | -0/+3 |
| | |||||
* | Update changelog | Jordan Cook | 2022-04-15 | 1 | -3/+8 |
| | |||||
* | Add SQLiteDict.sorted() method with sorting and other query options | Jordan Cook | 2022-04-10 | 1 | -1/+3 |
| | |||||
* | Add default list of ignored_parameters for most common authentication ↵ | Jordan Cook | 2022-04-10 | 1 | -1/+3 |
| | | | | params/headers | ||||
* | Also skip cache read for requests excluded by allowable_methods | Jordan Cook | 2022-04-09 | 1 | -0/+1 |
| | |||||
* | Refactor refresh/revalidate behavior | Jordan Cook | 2022-04-09 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | * Rename two (unreleased) options to be more consistent with browser behavior: * `revalidate()` -> `refresh()` * `refresh()` -> `force_refresh()` * Revert `RequestSettings` changes and use just kwargs instead for per-request settings * Add full type hints back to extra kwargs for `CachedSession.send()` * Fix a bug in which some kwargs specific to requests-cache could get passed to `requests.Session.send()` * Use 'must-revalidate' as a temporary header for a user-requested refresh * Refer to expiration value of 0 more accurately as 'expire immediately' rather than 'do not cache' * It may potentially be saved and used with revalidation, depending on other headers/settings * `DO_NOT_CACHE` now has a different value but same effect * Refer to constants in docs instead of 0, -1, etc. * Log more details about post-read and pre-cache checks | ||||
* | Update tests, changelog, and contributors | Jordan Cook | 2022-04-06 | 1 | -0/+3 |
| | |||||
* | Add an intermediate wrapper class, OriginalResponse, to provide type hints ↵ | Jordan Cook | 2022-04-01 | 1 | -0/+8 |
| | | | | for extra attributes set on requests.Response objects | ||||
* | Update docs, doc dependencies, changelog, and contributors | Jordan Cook | 2022-04-01 | 1 | -0/+13 |
| | | | | | Also: Restrict redis-py to <4.2, which breaks parameter forwarding on python 3.7 and 3.8 | ||||
* | Swap out appdirs for platformdirs | Jordan Cook | 2022-03-14 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | * platformdirs is a more actively maintained fork of appdirs. * Also relax requirements a bit for attrs and urllib (minimum instead of caret constraint) Dependabot update: Bump responses from 0.16.0 to 0.19.0 Bumps [responses](https://github.com/getsentry/responses) from 0.16.0 to 0.19.0. - [Release notes](https://github.com/getsentry/responses/releases) - [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES) - [Commits](https://github.com/getsentry/responses/compare/0.16.0...0.19.0) --- updated-dependencies: - dependency-name: responses dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Add support for Cache-Control: only-if-cached and corresponding options for ↵ | Jordan Cook | 2022-03-11 | 1 | -2/+4 |
| | | | | request() and send() | ||||
* | Update changelog, docs, and bump version | Jordan Cook | 2022-03-11 | 1 | -6/+16 |
| | |||||
* | Update dev dependencies and changelog | Jordan Cook | 2022-02-22 | 1 | -1/+7 |
| | |||||
* | Update changelog and contributors | Jordan Cook | 2022-02-22 | 1 | -0/+1 |
| |