0.6.0
New
-
Cached supports stampede locking #249 - Manuel Miranda
-
Memory redlock implementation #241 - Manuel Miranda
-
Memcached redlock implementation #240 - Manuel Miranda
-
Redis redlock implementation #235 - Manuel Miranda
-
Add close function to clean up resources #236 - Quinn Perfetto
Call
await cache.close()
to close a pool and its connections -
caches.create
works without alias #253 - Manuel Miranda
Changes
-
Decorators use JsonSerializer by default now #258 - Manuel Miranda
Also renamed DefaultSerializer to StringSerializer
-
Decorators use single connection #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 - 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)