Aiocache

Latest version: v0.12.3

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

Scan your dependencies

Page 3 of 4

0.6.1

==================

* Removed connection reusage for decorators [267](https://github.com/argaen/aiocache/issues/267)- Manuel Miranda (thanks dmzkrsk)
_when decorated function is costly connections where being kept while
being iddle. This is a bad scenario and this reverts back to using a
connection from the cache pool for every cache operation_

* Key_builder for cached [265](https://github.com/argaen/aiocache/issues/265) - Manuel Miranda
_Also fixed a bug with multi_cached where key_builder wasn't applied
when saving the keys_

* Updated aioredis (0.3.1) and aiomcache (0.5.2) versions - Manuel Miranda

0.6.0

==================

New
+++

* Cached supports stampede locking [249](https://github.com/argaen/aiocache/issues/249) - Manuel Miranda

* Memory redlock implementation [241](https://github.com/argaen/aiocache/issues/241) - Manuel Miranda

* Memcached redlock implementation [240](https://github.com/argaen/aiocache/issues/240) - Manuel Miranda

* Redis redlock implementation [235](https://github.com/argaen/aiocache/issues/235) - Manuel Miranda

* Add close function to clean up resources [236](https://github.com/argaen/aiocache/issues/236) - Quinn Perfetto

_Call `await cache.close()` to close a pool and its connections_

* `caches.create` works without alias [253](https://github.com/argaen/aiocache/issues/253) - Manuel Miranda


Changes
+++++++

* Decorators use JsonSerializer by default now [258](https://github.com/argaen/aiocache/issues/258) - Manuel Miranda

_Also renamed DefaultSerializer to StringSerializer_

* Decorators use single connection [257](https://github.com/argaen/aiocache/issues/257) - Manuel Miranda

_Decorators (except cached_stampede) now use a single connection for
each function call. This means connection doesn't go back to the pool
after each cache call. Since the cache instance is the same for a
decorated function, this means that the pool size must be high if
there is big expected concurrency for that given function_

* Change close to clear for redis [239](https://github.com/argaen/aiocache/issues/239) - Manuel Miranda

_clear will free connections but will allow the user to still use the
cache if needed (same behavior for aiomcache and ofc memory)_

0.5.2

=====

* Reuse connection context manager [225](https://github.com/argaen/aiocache/issues/225) [argaen]
* Add performance footprint tests [228](https://github.com/argaen/aiocache/issues/228) [argaen]
* Timeout=0 takes precedence over self.timeout [227](https://github.com/argaen/aiocache/issues/227) [argaen]
* Lock when acquiring redis connection [224](https://github.com/argaen/aiocache/issues/224) [argaen]
* Added performance concurrency tests [216](https://github.com/argaen/aiocache/issues/216) [argaen]

0.5.1

=====

* Deprecate settings module [215](https://github.com/argaen/aiocache/issues/215) [argaen]
* Decorators support introspection [213](https://github.com/argaen/aiocache/issues/213) [argaen]

0.5.0

==================

* Removed pool reusage for redis. A new one
is created for each instance [argaen]
* Soft dependencies for redis and memcached [197](https://github.com/argaen/aiocache/issues/197) [argaen]
* Added incr CMD [188](https://github.com/argaen/aiocache/issues/188>) [Manuel
Miranda]
* Create factory accepts cache args [209](https://github.com/argaen/aiocache/issues/209) [argaen]
* Cached and multi_cached can use alias caches (creates new instance per call) [205](https://github.com/argaen/aiocache/issues/205) [argaen]
* Method ``create`` to create new instances from alias [204](https://github.com/argaen/aiocache/issues/204) [argaen]
* Remove unnecessary warning [200](https://github.com/argaen/aiocache/issues/200) [Petr Timofeev]
* Add asyncio trove classifier [199](https://github.com/argaen/aiocache/issues/199) [Thanos Lefteris]
* Pass pool_size to the underlayed aiomcache [189](https://github.com/argaen/aiocache/issues/189) [Aurélien Busi]
* Added marshmallow example [181](https://github.com/argaen/aiocache/issues/181) [argaen]
* Added example for compression serializer [179](https://github.com/argaen/aiocache/issues/179) [argaen]
* Added BasePlugin.add_hook helper [173](https://github.com/argaen/aiocache/issues/173) [argaen]

Breaking
++++++++

* Refactored how settings and defaults work. Now
aliases are the only way. [193](https://github.com/argaen/aiocache/issues/193) [argaen]
* Consistency between backends and serializers. With
SimpleMemoryCache, some data will change on how its stored
when using DefaultSerializer [191](https://github.com/argaen/aiocache/issues/191) [argaen]

0.3.3

==================

* Added CHANGELOG and release process [172](https://github.com/argaen/aiocache/issues/172) [argaen]
* Added pool_min_size pool_max_size to redisbackend [167](https://github.com/argaen/aiocache/issues/167) [argaen]
* Timeout per function. Propagate it correctly with defaults. [166](https://github.com/argaen/aiocache/issues/166) [argaen]
* Added noself arg to cached decorator [137](https://github.com/argaen/aiocache/issues/137) [argaen]
* Cache instance in decorators is built in every call [135](https://github.com/argaen/aiocache/issues/135) [argaen]

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.