Cashews

Latest version: v7.4.0

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

Scan your dependencies

Page 2 of 4

6.4.0

What's Changed
* Type annotations by unmade in https://github.com/Krukov/cashews/pull/161
* fix grammatical issues by M4hbod in https://github.com/Krukov/cashews/pull/169
* fix: skip redis=5.0.1 version as broken and close connection pool by Krukov in https://github.com/Krukov/cashews/pull/172
* more tests for fastapi contrib by Krukov in https://github.com/Krukov/cashews/pull/173
* Fix handling of Templated tags with None values by nickderobertis in https://github.com/Krukov/cashews/pull/171
* chore(deps): bump actions/setup-python from 4 to 5 by dependabot in https://github.com/Krukov/cashews/pull/175
* add cache to import all by Krukov in https://github.com/Krukov/cashews/pull/178
* chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.3 by dependabot in https://github.com/Krukov/cashews/pull/179
* finish with prometheus and fastapi contrib modules by Krukov in https://github.com/Krukov/cashews/pull/181

New Contributors
* M4hbod made their first contribution in https://github.com/Krukov/cashews/pull/169
* nickderobertis made their first contribution in https://github.com/Krukov/cashews/pull/171

**Full Changelog**: https://github.com/Krukov/cashews/compare/6.3.0...6.4.0

6.3.0

What's Changed
* use a result of call in cache ttl def 149 by Krukov in https://github.com/Krukov/cashews/pull/152
* chore(deps): bump actions/checkout from 3 to 4 by dependabot in https://github.com/Krukov/cashews/pull/157
* export from cashews by A-kirami in https://github.com/Krukov/cashews/pull/159
* add more contrib modules by Krukov in https://github.com/Krukov/cashews/pull/160

New Contributors
* A-kirami made their first contribution in https://github.com/Krukov/cashews/pull/159

**Full Changelog**: https://github.com/Krukov/cashews/compare/6.2.0...6.3.0

6.2.0

What's Changed
* fix: future exception never retrived problem (144) by Rebzzel in https://github.com/Krukov/cashews/pull/145
* allow to cache exceptions (simple, hit, early) 143 by Krukov in https://github.com/Krukov/cashews/pull/146
* get number of all keys by Krukov in https://github.com/Krukov/cashews/pull/147

**Full Changelog**: https://github.com/Krukov/cashews/compare/6.1.0...6.2.0

6.0.0

What's Changed
* cache `StreamResponse` and any other custom types - big refactoring for value serialization
* Improve `lock` and `locked` decorator (new signature)
* protection to handle concurrent request more efficiently (protected parameter for cache decorators)

Breaking changes:
* change the way how bytes are stored. If you store raw bytes in a cache, the values will be invalid.
* drop python 3.7 support
* `safe` parameter renamed to `suppress` ( setup ).
* `hash_key` parameter renamed to `secret`. ( setup )


**Full Changelog**: https://github.com/Krukov/cashews/compare/5.3.2...6.0.0

5.3.0

What's Changed
* added decorator to cache async iterators
* tags for cache invalidation instead of by function invalidation

**Full Changelog**: https://github.com/Krukov/cashews/compare/5.2.0...5.3.0

5.2.0

What's Changed
* add transaction feature by Krukov in https://github.com/Krukov/cashews/pull/117
* fix set if exist for client side cache
* fix get_expired for client cache
* ping should return PONG if message not determined


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

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.