Cashews

Latest version: v7.0.2

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

Scan your dependencies

Page 1 of 4

7.0.2

What's Changed
* chore(deps-dev): bump pytest-asyncio from 0.23.3 to 0.23.4 by dependabot in https://github.com/Krukov/cashews/pull/196
* chore(deps): bump pre-commit/action from 3.0.0 to 3.0.1 by dependabot in https://github.com/Krukov/cashews/pull/204
* fix/feat: register metrics only once and add hit-miss by Krukov in https://github.com/Krukov/cashews/pull/206
* fix: close redis in a right way by Krukov in https://github.com/Krukov/cashews/pull/207


**Full Changelog**: https://github.com/Krukov/cashews/compare/7.0.0...7.0.2

7.0.0

What's Changed
* remove deprecated register for decorated functions by Krukov in https://github.com/Krukov/cashews/pull/182 **BREAKING CHANGES**
* Add python 3.12 support by Krukov in https://github.com/Krukov/cashews/pull/183
* fix ttl value in detector by Krukov in https://github.com/Krukov/cashews/pull/186
* fix tempating for tags by Krukov in https://github.com/Krukov/cashews/pull/188
* key context by Krukov in https://github.com/Krukov/cashews/pull/189
* fix etag generation for mem or disk backend 190 by Krukov in https://github.com/Krukov/cashews/pull/191
* fix: invalidate only by key template by Krukov in https://github.com/Krukov/cashews/pull/192. **BREAKING CHANGES** #182
* fix: remove warnings on test run by Krukov in https://github.com/Krukov/cashews/pull/193


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

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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.