| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update general expiration docs | Jordan Cook | 2022-04-15 | 1 | -0/+2 | |
| | | ||||||
| * | Add notes on viewing responses in MongoDB | Jordan Cook | 2022-04-15 | 1 | -2/+19 | |
| | | ||||||
| * | Use BSON preconf stage and store response values under top-level keys, so ↵ | Jordan Cook | 2022-04-15 | 1 | -27/+26 | |
| | | | | | created_at attribute is compatible with TTL index | |||||
| * | Use a set_ttl() method instead of keyword argument, since it should only be ↵ | Jordan Cook | 2022-04-15 | 2 | -36/+106 | |
| | | | | | set once (or overwritten) | |||||
| * | Improvements for MongoDB: | Jordan Cook | 2022-04-15 | 1 | -9/+70 | |
| | | | | | | * Use native document format (BSON) instead of binary blob * Add option to use native TTL feature | |||||
| * | Add some more notes about SQLite and Redis backends | Jordan Cook | 2022-04-11 | 2 | -5/+38 | |
| | | ||||||
| * | Add SQLiteDict.sorted() method with sorting and other query options | Jordan Cook | 2022-04-10 | 1 | -0/+55 | |
| | | ||||||
| * | Use Unix time integer instead of datetime string, and use same time source ↵ | Jordan Cook | 2022-04-10 | 1 | -3/+5 | |
| | | | | | on both write (setitem) and read (clear_expired) | |||||
| * | LEFT JOIN option is slightly faster | Jordan Cook | 2022-04-10 | 1 | -10/+1 | |
| | | ||||||
| * | WIP: Add faster implementation of removing invalid redirects in SQL | Jordan Cook | 2022-04-10 | 2 | -7/+32 | |
| | | ||||||
| * | Add indexed datetime column to SQLite backend for faster eviction | Jordan Cook | 2022-04-10 | 1 | -13/+41 | |
| | | ||||||
| * | Refactor refresh/revalidate behavior | Jordan Cook | 2022-04-09 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | * 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 | -3/+3 | |
| | | ||||||
| * | wal mode | Daniel Holth | 2022-04-06 | 1 | -0/+5 | |
| | | ||||||
| * | Add an intermediate wrapper class, OriginalResponse, to provide type hints ↵ | Jordan Cook | 2022-04-01 | 1 | -3/+5 | |
| | | | | | for extra attributes set on requests.Response objects | |||||
| * | Move settings module to top level package, and leave 'models' subpackage for ↵ | Jordan Cook | 2022-04-01 | 1 | -1/+1 | |
| | | | | | only serialized data models | |||||
| * | Add argument docs back to CachedSession.__init__ instead of generic ↵ | Jordan Cook | 2022-04-01 | 1 | -13/+14 | |
| | | | | | **kwargs; init settings in CachedSession instead of BaseCache | |||||
| * | Remove some redundant, undocumented means of passing ↵ | Jordan Cook | 2022-04-01 | 1 | -7/+7 | |
| | | | | | CachedSession/BaseBackend arguments | |||||
| * | More code cleanup and comments | Jordan Cook | 2022-03-29 | 1 | -29/+9 | |
| | | ||||||
| * | Split datetime-related utility functions into a separate module | Jordan Cook | 2022-03-29 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor session-level settings into separate CacheSettings class | Jordan Cook | 2022-03-29 | 2 | -46/+27 | |
| | | ||||||
| * | Add 'Use Cases' section to each backend's docs | Jordan Cook | 2022-03-17 | 6 | -11/+51 | |
| | | ||||||
| * | Swap out appdirs for platformdirs | Jordan Cook | 2022-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | * 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> | |||||
| * | Reword inaccurate usage of the term 'revalidate' | Jordan Cook | 2022-03-11 | 1 | -6/+6 | |
| | | ||||||
| * | Handle CorruptGridFile error in GridFS backend | Jordan Cook | 2022-02-22 | 1 | -6/+11 | |
| | | ||||||
| * | Add lock around remove_expired_responses() for SQLite, Filesystem, and ↵ | Jordan Cook | 2022-02-22 | 3 | -0/+12 | |
| | | | | | GridFS backends | |||||
| * | Improve filesystem backend thread safety | Jordan Cook | 2022-02-22 | 1 | -3/+7 | |
| | | ||||||
| * | Improve GridFS backend thread safety | Jordan Cook | 2022-02-22 | 1 | -13/+24 | |
| | | ||||||
| * | Fix race condition with dropping and recreating SQLite tables in multiple ↵ | Jordan Cook | 2022-02-22 | 1 | -4/+5 | |
| | | | | | threads | |||||
| * | Fix cache path expansion | Andrew Stone | 2022-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | Fix serialization in filesystem backend with binary content that is also ↵ | Jordan Cook | 2022-02-15 | 1 | -12/+4 | |
| | | | | | valid UTF-8 | |||||
| * | Fix typo in docs | Jordan Cook | 2022-01-01 | 1 | -2/+2 | |
| | | ||||||
| * | Format using a more typical line length of 100 | Jordan Cook | 2022-01-01 | 1 | -2/+6 | |
| | | ||||||
| * | Drop idea of storing each response in a separate hash, and go back to ↵ | Jordan Cook | 2021-12-01 | 1 | -19/+9 | |
| | | | | | | | serialized blobs Can't store nested dicts in a Redis hash | |||||
| * | Add a new RedisDict class that stores responses in separate hashes instead ↵ | Jordan Cook | 2021-12-01 | 2 | -15/+93 | |
| | | | | | of in a single hash | |||||
| * | Improve some RedisDict methods and rename to RedisHashDict | Jordan Cook | 2021-12-01 | 2 | -26/+46 | |
| | | ||||||
| * | Add support for BaseCache keyword arguments passed along with a backend instance | Jordan Cook | 2021-11-13 | 2 | -7/+31 | |
| | | ||||||
| * | Fix a new type checking issue | Jordan Cook | 2021-10-27 | 1 | -1/+1 | |
| | | ||||||
| * | Move misc minor utils to a separate module | Jordan Cook | 2021-10-27 | 6 | -15/+11 | |
| | | ||||||
| * | Add tests for memory (plain dict) backend | Jordan Cook | 2021-10-23 | 1 | -1/+1 | |
| | | ||||||
| * | Move response content reset to DictStorage.__getitem__(), since that's the ↵ | Jordan Cook | 2021-10-23 | 1 | -2/+10 | |
| | | | | | only place it's used | |||||
| * | Fix duplicate cache read (contains + getitem) | Jordan Cook | 2021-10-23 | 1 | -5/+5 | |
| | | ||||||
| * | Add better error message if parent path exists but isn't a directory | Jordan Cook | 2021-10-10 | 1 | -6/+11 | |
| | | ||||||
| * | Reorganize & improve request normalization functions: | Jordan Cook | 2021-09-20 | 1 | -3/+2 | |
| | | | | | | | | | | | | | * Handle all normalization in `cache_keys` module, get rid of `normalize_dict()` function used in `CachedSession` * Reorganize `cache_keys` helper functions into the following: * `normalize_request()` * `normalize_url()` * `normalize_headers()` * `normalize_params()` * `normalize_body()` * `normalize_json_body()` * `redact_response()` | |||||
| * | Redact ingored_parameters from CachedResponse.url | Jordan Cook | 2021-09-15 | 1 | -1/+2 | |
| | | ||||||
| * | Add some alises so fully qualified imports of DbDict, etc. don't break | Jordan Cook | 2021-09-14 | 2 | -1/+7 | |
| | | ||||||
| * | Re-enable mypy pre-commit hook with attrs as an explicit hook dependency for ↵ | Jordan Cook | 2021-09-08 | 1 | -2/+4 | |
| | | | | | correct mypy-attrs behavior | |||||
| * | Add note about 'cache_name' argument usage in init_backend() | Jordan Cook | 2021-09-06 | 1 | -10/+10 | |
| | | ||||||
| * | Fix SQLiteCache.db_path; supposed to be a property, not a method | Jordan Cook | 2021-09-06 | 1 | -0/+1 | |
| | | ||||||
| * | Allow match_headers to optionally accept a list of specific headers to match | Jordan Cook | 2021-09-06 | 1 | -2/+2 | |
| | | ||||||
