summaryrefslogtreecommitdiff
path: root/HISTORY.md
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Skip normalizing a JSON request body if it's excessively large (>10MB) due ↵Jordan Cook2022-02-221-0/+1
| | | | to performance impact
* Fix request normalization for request body with a list as a JSON rootJordan Cook2022-02-221-0/+1
|
* Fix handling BSON serializer differences between pymongo's bson and ↵Jordan Cook2022-02-151-0/+3
| | | | standalone bson codec.
* Fix serialization in filesystem backend with binary content that is also ↵Jordan Cook2022-02-151-3/+4
| | | | valid UTF-8
* Update changelog and contributorsJordan Cook2022-02-151-3/+4
|
* Update changelog, contributors, and dependenciesJordan Cook2022-02-131-0/+4
|
* Update changelog, bump dev dependencies, and bump versionJordan Cook2022-01-291-1/+1
|
* Update changelog and contributorsv0.9.1Jordan Cook2022-01-151-1/+1
|
* Switch to a different method of resolving ForwardRefs during deserialization ↵Jordan Cook2022-01-151-1/+2
| | | | for python 3.10.2 compatibility
* Update changelog and contributorsJordan Cook2022-01-141-0/+1
|
* Update changelog and bump versionJordan Cook2022-01-101-0/+3
|
* Minor changelog formattingJordan Cook2022-01-011-1/+1
|
* Update changelogJordan Cook2022-01-011-1/+1
|
* Fix black and type checking issues, and update changelogJordan Cook2022-01-011-0/+1
|
* Update changelogJordan Cook2021-12-021-0/+1
|
* Update dev dependencies, actions, changelog, and contributorsJordan Cook2021-12-011-0/+1
|
* Add back overrides for requests.Response.__getstate__ and __setstate__ so ↵Jordan Cook2021-11-241-0/+1
| | | | plain pickle will work as a serializer
* Add support for BaseCache keyword arguments passed along with a backend instanceJordan Cook2021-11-131-0/+1
|
* Add support for Cache-Control: immutableJordan Cook2021-10-231-1/+2
|
* Bump unreleased changes into a minor release (0.9) and format changelogJordan Cook2021-10-231-8/+19
|
* Fix duplicate cache read (contains + getitem)Jordan Cook2021-10-231-0/+2
|
* Support immediate expiration + revalidation for Cache-Control: max-age=0 and ↵Jordan Cook2021-10-101-0/+2
| | | | Expires: 0
* Add better error message if parent path exists but isn't a directoryJordan Cook2021-10-101-0/+1
|
* Use correct SPDX license short identifier in package metadataJordan Cook2021-10-041-0/+1
| | | | Fixes #427
* Update changelog and some docstringsJordan Cook2021-09-201-0/+2
|
* Update changelogJordan Cook2021-09-181-0/+5
|
* Update changelogv0.8.1Jordan Cook2021-09-151-2/+5
|
* Redact ingored_parameters from CachedResponse.urlJordan Cook2021-09-151-0/+5
|
* Add note to Troubleshooting section about deprecated importsJordan Cook2021-09-071-1/+1
|
* Update changelog and Readme linksv0.8.0Jordan Cook2021-09-071-1/+1
|
* Alias/rename old_data_on_error to stale_if_error for consistency with ↵Jordan Cook2021-09-061-11/+17
| | | | Cache-Control: stale-if-error (backwards-compatibile)
* Use blake2 instead of sha256 for hashing request infoJordan Cook2021-09-061-1/+3
| | | | | | | | | With an 8-byte digest for shorter cache keys. This is still plenty long enough to avoid hash collisions: `4e-15` for 100,000 items, `4e-7` chance for 1 billion items, etc. This makes it more convenient for manually inspecting cache items, especially for the filesystem backend, which uses cache keys as filenames.
* Allow match_headers to optionally accept a list of specific headers to matchJordan Cook2021-09-061-10/+7
|
* Alias/rename 'include_get_headers' to 'match_headers' for clarity ↵Jordan Cook2021-09-061-1/+8
| | | | (backwards-compatibile)
* Update and format changelogJordan Cook2021-09-051-52/+44
|
* Expecting to release 0.8 by the end of SeptemberJordan Cook2021-08-301-1/+1
|
* Revert renaming DynamoDB backend classes; a minor inconsistency is probably ↵Jordan Cook2021-08-301-4/+3
| | | | better than an unnecessary API change
* Use pathlib.Path objects for all file paths in Filesystem and SQLite backendsJordan Cook2021-08-291-23/+32
|
* Minor edits for Readme and Related ProjectsJordan Cook2021-08-281-10/+7
|
* Allow has_url(), delete_url(), and create_key() to optionally take ↵Jordan Cook2021-08-281-2/+5
| | | | requests.Request arguments
* Enable conditional requests by defaultJordan Cook2021-08-261-1/+1
|