Aiohttp-client-cache

Latest version: v0.12.4

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

Scan your dependencies

Page 2 of 5

0.11.0

- Add support for Python 3.12.
- Add a Docker Compose file with [DragonflyDB](https://www.dragonflydb.io/) service that can be used as a Redis drop-in replacement.
- Add minor performance improvements for MongoDB backend. (!203)

Deprecations and Removals

- Drop 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 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.