summaryrefslogtreecommitdiff
path: root/HISTORY.md
Commit message (Collapse)AuthorAgeFilesLines
* Raise an error for invalid expiration string values (except for headers ↵Jordan Cook2023-02-181-0/+2
| | | | containing httpdates)
* Add tests for pypy3.9Jordan Cook2022-12-301-1/+3
|
* Make CachedResponse.cache_key available from all cache access methodsJordan Cook2022-12-301-1/+3
|
* Update to flake8 v6Jordan Cook2022-12-131-2/+2
|
* Add SQLite method to count unexpired responses in SQLJordan Cook2022-10-281-0/+1
|
* Update changelogJordan Cook2022-10-261-18/+19
|
* Add more notes on deprecated methodsJordan Cook2022-10-261-6/+6
|
* Add icons to changelog sections for major/minor releases; misc changlog ↵Jordan Cook2022-10-261-96/+110
| | | | formatting
* Fix backwards-compatibility with deprecated remove_expired_responsesJordan Cook2022-10-261-3/+12
|
* Add support for header values as bytesJordan Cook2022-10-201-4/+8
|
* Explicitly disable pickling CachedSession objectsJordan Cook2022-10-201-3/+19
|
* Update for cattrs 22.2Jordan Cook2022-10-081-7/+9
|
* Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵Jordan Cook2022-09-301-8/+10
| | | | has_url() and delete_url()
* Fix issue on Windows with occasional missing `CachedResponse.created_at` ↵Jordan Cook2022-09-301-0/+1
| | | | timestamp
* Add ttl_offset argument for Redis backendJordan Cook2022-09-301-0/+2
|
* Match whether ignored_parameters are present in a request (without matching ↵Jordan Cook2022-09-291-2/+6
| | | | content)
* Remove upper version constraint for all non-dev dependenciesJordan Cook2022-08-241-0/+5
|
* Add method to recreate cache keysJordan Cook2022-08-231-0/+3
|
* Remove catching/logging ImportErrors in top-level packageJordan Cook2022-06-291-4/+7
|
* Update docsJordan Cook2022-06-161-0/+1
|
* Clean up SQLiteCache convenience methods a bitJordan Cook2022-06-111-1/+1
|
* Update tests and docsJordan Cook2022-06-111-9/+22
|
* Split up remove_expired_reponses() into remove() and reset_expiration() ↵Jordan Cook2022-06-111-0/+10
| | | | methods, with more granular arguments
* Update docs and changelogJordan Cook2022-06-101-0/+4
|
* Add CachedRequest.path_url propertyJordan Cook2022-05-181-0/+1
|
* Update repo links, changelog, and contributorsJordan Cook2022-05-151-19/+18
|
* Implement Cache-Control: stale-while-revalidateJordan Cook2022-05-041-11/+19
|
* Update changelog and contributorsJordan Cook2022-05-031-0/+5
|
* Update docs and changelogJordan Cook2022-04-221-16/+23
|
* Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8Jordan Cook2022-04-211-0/+4
|
* Add support for DynamoDB TTLJordan Cook2022-04-201-1/+5
|
* Major bump!Jordan Cook2022-04-191-5/+6
|
* Create default table in on-demand mode instead of provisionedJordan Cook2022-04-191-1/+3
|
* Add support for Cache-Control: stale-if-errorJordan Cook2022-04-181-1/+2
|
* Add support for Cache-Control: max-stale and min-freshJordan Cook2022-04-181-0/+2
|
* Add positional-or-keyword args to request wrapper methods consistent with ↵Jordan Cook2022-04-181-5/+10
| | | | requests API
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-171-0/+3
|
* Update changelogJordan Cook2022-04-151-3/+8
|
* Add SQLiteDict.sorted() method with sorting and other query optionsJordan Cook2022-04-101-1/+3
|
* Add default list of ignored_parameters for most common authentication ↵Jordan Cook2022-04-101-1/+3
| | | | params/headers
* Also skip cache read for requests excluded by allowable_methodsJordan Cook2022-04-091-0/+1
|
* Refactor refresh/revalidate behaviorJordan Cook2022-04-091-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 contributorsJordan Cook2022-04-061-0/+3
|
* Add an intermediate wrapper class, OriginalResponse, to provide type hints ↵Jordan Cook2022-04-011-0/+8
| | | | for extra attributes set on requests.Response objects
* Update docs, doc dependencies, changelog, and contributorsJordan Cook2022-04-011-0/+13
| | | | | Also: Restrict redis-py to <4.2, which breaks parameter forwarding on python 3.7 and 3.8
* Swap out appdirs for platformdirsJordan Cook2022-03-141-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 Cook2022-03-111-2/+4
| | | | request() and send()
* Update changelog, docs, and bump versionJordan Cook2022-03-111-6/+16
|
* Update dev dependencies and changelogJordan Cook2022-02-221-1/+7
|
* Update changelog and contributorsJordan Cook2022-02-221-0/+1
|