Aiohttp-client-cache

Latest version: v0.11.0

Safety actively analyzes 621008 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.11.0

Features
--------

* Added support for Python 3.12.

Misc
----

* (Internal/maintance) Renamed or slightly refactored some internal functions (that are not a part of the library public nterface).
* Added more tests.
* Added a Docker Compose file with [DragonflyDB](https://www.dragonflydb.io/) service that can be used as a Redis drop-in replacement.
* Added minor performance improvements for MongoDB backend. (!203)

Deprecations and Removals
-------------------------

* Dropped support for Python 3.7.

0.10.0

* Add support for conditional requests with `ETag` and `Last-Modified`
* If a DynamoDB item exceeds the max size (400KB), skip writing to the cache and log a warning instead of raising an error
* Add `CachedResponse.closed` attribute for compatibility with `aiohttp.ClientResponse`
* Close `aiosqlite` thread if it's still running when session object is deleted
* Move redirects cache for `FileBackend` into same directory as cached response files
* Fix issue in which `CachedSession.disabled()` prevents only cache read but not write

0.9.1

* Remove unintended optional dependencies in both PyPI and conda-forge packages

0.9.0

* Add compatibility with Sentry python SDK
* Add `autoclose` option to `CacheBackend` to close backend connections when the session context exits.
* Enabled by default for SQLite backend, and disabled by default for other backends.
* `python-forge` is no longer required and is now an optional dependency
* Fix reading response content multiple times for memory backend

0.8.2

* Add some missing type annotations to backend classes
* Fix passing connection parameters to MongoDB backend
* Revert closing backend connections on session context exit
* Fix `CachedResponse.close()` method to match `ClientResponse.close()`

0.8.1

* For SQLite backend, close database connection on `ClientSession` context exit

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.