Cashews

Latest version: v7.4.0

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

Scan your dependencies

Page 3 of 4

5.1.0

What's Changed
* feature: sliding window rate limit (redone circuit_breaker) by Krukov in https://github.com/Krukov/cashews/pull/110
* tech: small perf improvements by Krukov in https://github.com/Krukov/cashews/pull/109
* refactoring: wrapper before adding transaction by Krukov in https://github.com/Krukov/cashews/pull/116
* fix: remove lru cache for backend determination 119 by Krukov in https://github.com/Krukov/cashews/pull/120

**Full Changelog**: https://github.com/Krukov/cashews/compare/5.0.0...5.1.0

5.0.0

Features:

* Backend register
* Callable TTL allow to set ttl depends on *args and **kwargs
* client side cache improvements - cache missed keys
* Typing improvements
* python 3.11 support
* added delete_many

Fixes:

* client side cache invalidation on massive delete and flush
* cache closing

Breaking changes:

* `close` is async
* removed `CacheDetect`
* drop `aioredis` support
* removed `default` parameter from `get_match` method
* removed `disable_all`/`enable_all`
* removed `keys_match` method -> use `scan` method
* middleware signature

What's Changed also
* refactor!: replace `Exception` prefix with `Error` prefix by AIGeneratedUsername in https://github.com/Krukov/cashews/pull/98
* refactor: move exceptions into a single file by AIGeneratedUsername in https://github.com/Krukov/cashews/pull/99
* drop aioredis support by Krukov in https://github.com/Krukov/cashews/pull/100
* Improve typing for decorators with `TypeVar` by mnixry in https://github.com/Krukov/cashews/pull/102
* Callable ttl by Krukov in https://github.com/Krukov/cashews/pull/101
* Improve typing for decorators - fix test by Krukov in https://github.com/Krukov/cashews/pull/103


**Full Changelog**: https://github.com/Krukov/cashews/compare/4.7.1...5.0.0

4.7.1

What's Changed
* add another pickle engines 83 by Krukov in https://github.com/Krukov/cashews/pull/84
* ping for check by Krukov in https://github.com/Krukov/cashews/pull/86
* Add minimalist "pre-commit" config by AIGeneratedUsername in https://github.com/Krukov/cashews/pull/91
* refactor: auto-format files with linters by AIGeneratedUsername in https://github.com/Krukov/cashews/pull/92
* set_many implementation 87 by yashh in https://github.com/Krukov/cashews/pull/88


**Full Changelog**: https://github.com/Krukov/cashews/compare/4.6.0...4.7.1

4.6.0

What's Changed
* Add time_condition parameter in wrapper 81 by Krukov in https://github.com/Krukov/cashews/pull/82


**Full Changelog**: https://github.com/Krukov/cashews/compare/4.5.1...4.6.0

4.5.1

What's Changed
* feat: update/add/fix type hints by AIGeneratedUsername in https://github.com/Krukov/cashews/pull/78


**Full Changelog**: https://github.com/Krukov/cashews/compare/4.5.0...4.5.1

4.5.0

What's Changed
* fix client side cache support by Krukov in https://github.com/Krukov/cashews/pull/77


**Full Changelog**: https://github.com/Krukov/cashews/compare/4.4.0...4.5.0

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.