summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump snok/install-poetry from 1.2 to 1.3dependabot/github_actions/snok/install-poetry-1.3dependabot[bot]2021-11-272-3/+3
| | | | | | | | | | | | | | Bumps [snok/install-poetry](https://github.com/snok/install-poetry) from 1.2 to 1.3. - [Release notes](https://github.com/snok/install-poetry/releases) - [Commits](https://github.com/snok/install-poetry/compare/v1.2...v1.3) --- updated-dependencies: - dependency-name: snok/install-poetry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #460 from JWCook/response-pickleJordan Cook2021-11-243-0/+23
|\ | | | | Add back overrides for requests.Response.__getstate__ and __setstate__ so plain pickle will work as a serializer
| * Add back overrides for requests.Response.__getstate__ and __setstate__ so ↵Jordan Cook2021-11-243-0/+23
|/ | | | plain pickle will work as a serializer
* Add -m / --max-size arg to benchmark scriptJordan Cook2021-11-241-6/+7
|
* Some adjustments for test db generator scriptJordan Cook2021-11-241-8/+16
|
* Squash dependabot updatesdependabot[bot]2021-11-205-58/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump redis from 3.5.3 to 4.0.1 Bumps [redis](https://github.com/redis/redis-py) from 3.5.3 to 4.0.1. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/3.5.3...v4.0.1) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Bump supercharge/mongodb-github-action from 1.6.0 to 1.7.0 Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/supercharge/mongodb-github-action/releases) - [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/supercharge/mongodb-github-action/compare/1.6.0...1.7.0) --- updated-dependencies: - dependency-name: supercharge/mongodb-github-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump nox-poetry from 0.8.6 to 0.9.0 Bumps [nox-poetry](https://github.com/cjolowicz/nox-poetry) from 0.8.6 to 0.9.0. - [Release notes](https://github.com/cjolowicz/nox-poetry/releases) - [Commits](https://github.com/cjolowicz/nox-poetry/compare/v0.8.6...v0.9.0) --- updated-dependencies: - dependency-name: nox-poetry dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump rich from 10.13.0 to 10.14.0 Bumps [rich](https://github.com/willmcgugan/rich) from 10.13.0 to 10.14.0. - [Release notes](https://github.com/willmcgugan/rich/releases) - [Changelog](https://github.com/willmcgugan/rich/blob/master/CHANGELOG.md) - [Commits](https://github.com/willmcgugan/rich/compare/v10.13.0...v10.14.0) --- updated-dependencies: - dependency-name: rich dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump responses from 0.15.0 to 0.16.0 Bumps [responses](https://github.com/getsentry/responses) from 0.15.0 to 0.16.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.15.0...0.16.0) --- updated-dependencies: - dependency-name: responses dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #453 from JWCook/custom-serializersJordan Cook2021-11-194-18/+39
|\ | | | | Fix some typos in docs for custom serializers
| * Fix some typos in docs for custom serializers, and add a test for itJordan Cook2021-11-192-18/+36
| |
| * Add a 'utf8_encoder' for convenience, since that's a common enough stepJordan Cook2021-11-192-0/+3
|/
* Merge pull request #447 from JWCook/backend-instance-kwargsJordan Cook2021-11-165-10/+49
|\ | | | | Add support for BaseCache keyword arguments passed along with a backend instance
| * Add support for BaseCache keyword arguments passed along with a backend instanceJordan Cook2021-11-135-10/+49
|/
* Bump dev dependencies and pre-commit hooksJordan Cook2021-11-133-142/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump sphinx-notfound-page from 0.7.1 to 0.8 Bumps [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page) from 0.7.1 to 0.8. - [Release notes](https://github.com/readthedocs/sphinx-notfound-page/releases) - [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/master/CHANGELOG.rst) - [Commits](https://github.com/readthedocs/sphinx-notfound-page/compare/0.7.1...0.8) --- updated-dependencies: - dependency-name: sphinx-notfound-page dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump rich from 10.12.0 to 10.13.0 Bumps [rich](https://github.com/willmcgugan/rich) from 10.12.0 to 10.13.0. - [Release notes](https://github.com/willmcgugan/rich/releases) - [Changelog](https://github.com/willmcgugan/rich/blob/master/CHANGELOG.md) - [Commits](https://github.com/willmcgugan/rich/compare/v10.12.0...v10.13.0) --- updated-dependencies: - dependency-name: rich dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump furo from 2021.10.9 to 2021.11.12.1 Bumps [furo](https://github.com/pradyunsg/furo) from 2021.10.9 to 2021.11.12.1. - [Release notes](https://github.com/pradyunsg/furo/releases) - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md) - [Commits](https://github.com/pradyunsg/furo/compare/2021.10.09...2021.11.12.1) --- updated-dependencies: - dependency-name: furo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump sphinx from 4.2.0 to 4.3.0 Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge branch 'utils'Jordan Cook2021-10-2714-72/+70
|\
| * Fix a new type checking issueJordan Cook2021-10-271-1/+1
| |
| * Move misc minor utils to a separate moduleJordan Cook2021-10-2714-71/+69
|/
* Merge pull request #440 from JWCook/immutableJordan Cook2021-10-234-5/+12
|\ | | | | Add support for Cache-Control: immutable
| * Add support for Cache-Control: immutableJordan Cook2021-10-234-5/+12
| |
* | Merge pull request #439 from JWCook/memJordan Cook2021-10-238-205/+253
|\ \ | |/ | | Minor adjustments + tests for memory backend
| * Bump unreleased changes into a minor release (0.9) and format changelogJordan Cook2021-10-234-198/+222
| |
| * Add tests for memory (plain dict) backendJordan Cook2021-10-232-1/+21
| |
| * Move response content reset to DictStorage.__getitem__(), since that's the ↵Jordan Cook2021-10-232-6/+10
|/ | | | only place it's used
* Merge pull request #438 from JWCook/fix-duplicate-cache-readJordan Cook2021-10-238-16/+44
|\ | | | | Fix duplicate cache read
| * Update contributorsJordan Cook2021-10-232-6/+17
| |
| * Fix some type checking issues with latest mypy pre-commit hook versionJordan Cook2021-10-232-4/+4
| |
| * Fix duplicate cache read (contains + getitem)Jordan Cook2021-10-234-6/+23
|/
* Merge pull request #436 from JWCook/expire-0Jordan Cook2021-10-133-53/+41
|\ | | | | Fix immediate expiration with Expires: 0
| * Fix immediate expiration with Expires: 0 and reorganize cache header logic a bitJordan Cook2021-10-133-53/+41
|/
* Merge pull request #430 from JWCook/cache-controlJordan Cook2021-10-105-53/+144
|\ | | | | Fix behavior for cache_control=True with expire_after, and support revalidation with max-age=0
| * Support immediate expiration + revalidation for Cache-Control: max-age=0 and ↵Jordan Cook2021-10-104-4/+56
| | | | | | | | Expires: 0
| * Fix behavior for cache_control=True with expire_afterJordan Cook2021-10-103-51/+90
|/
* Update tests to use python 3.10 final releaseJordan Cook2021-10-102-63/+81
|
* Merge pull request #434 from JWCook/fix-init-errorJordan Cook2021-10-103-7/+22
|\ | | | | Add better error message if parent path exists but isn't a directory
| * Add better error message if parent path exists but isn't a directoryJordan Cook2021-10-103-7/+22
|/
* Add explicit 'coverage' dependency for python 3.10Jordan Cook2021-10-042-2/+3
|
* Use correct SPDX license short identifier in package metadataJordan Cook2021-10-042-1/+2
| | | | Fixes #427
* Bump dev dependencies:dependabot[bot]2021-10-042-149/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump pytest-xdist from 2.3.0 to 2.4.0 Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/pytest-dev/pytest-xdist/releases) - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: pytest-xdist dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump ujson from 4.1.0 to 4.2.0 Bumps [ujson](https://github.com/ultrajson/ultrajson) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/ultrajson/ultrajson/releases) - [Commits](https://github.com/ultrajson/ultrajson/compare/4.1.0...4.2.0) --- updated-dependencies: - dependency-name: ujson dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump rich from 10.10.0 to 10.11.0 Bumps [rich](https://github.com/willmcgugan/rich) from 10.10.0 to 10.11.0. - [Release notes](https://github.com/willmcgugan/rich/releases) - [Changelog](https://github.com/willmcgugan/rich/blob/master/CHANGELOG.md) - [Commits](https://github.com/willmcgugan/rich/compare/v10.10.0...v10.11.0) --- updated-dependencies: - dependency-name: rich dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #421 from JWCook/normalize-requestJordan Cook2021-09-2011-191/+255
|\ | | | | Reorganize & improve request normalization functions
| * Update changelog and some docstringsJordan Cook2021-09-202-6/+14
| |
| * Define __all__ for a couple more modules for star importsJordan Cook2021-09-203-9/+8
| |
| * Reorganize & improve request normalization functions:Jordan Cook2021-09-208-176/+233
|/ | | | | | | | | | | | * 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()`
* Fix usage of BaseCache.urls in example scriptsJordan Cook2021-09-192-2/+4
|
* Merge pull request #406 from JWCook/thread-safe-request-expire-afterJordan Cook2021-09-1812-133/+157
|\ | | | | Make per-request expiration thread-safe
| * Update changelogJordan Cook2021-09-181-0/+5
| |
| * Support expire_after param for CachedSession.send()Jordan Cook2021-09-183-2/+22
| |
| * Bump dependenciesJordan Cook2021-09-182-9/+10
| |
| * Update contributorsJordan Cook2021-09-182-8/+28
| |
| * Use only integers for expire_after values in seconds, since this is what ↵Jordan Cook2021-09-183-25/+28
| | | | | | | | Cache-Control: max-age requires
| * Make per-request expiration thread-safe by passing via request headers ↵Jordan Cook2021-09-185-92/+67
|/ | | | instead of session attribute, and use Cache-Control request headers by default
* Merge pull request #419 from JWCook/logoJordan Cook2021-09-1816-6/+372
|\ | | | | Vectorize logo, color it to match light/dark theme colors on rtd, and add modified version to Readme
| * Vectorize logo, color it to match light/dark theme colors on rtd, and add ↵Jordan Cook2021-09-1816-6/+372
|/ | | | modified version to Readme