Skip to content

Releases: aio-libs/aiocache

v0.12.2

06 Aug 20:31
Compare
Choose a tag to compare
  • Fixed an error when the pairs argument to .multi_set() doesn't support len().

v0.12.1

23 Apr 16:16
Compare
Choose a tag to compare
  • Added skip_cache_func to dynamically skip caching certain results.
  • Removed typing support due to producing unresolvable errors (until v1.0).
  • Stopped installing tests as part of the package.

v0.12.0

13 Jan 20:54
349cf86
Compare
Choose a tag to compare
  • Added async with support to BaseCache.
  • Added initial typing support.
  • Migrated to redis library (aioredis is no longer supported).
  • SimpleMemoryBackend now has a cache per instance, rather than a global cache.
  • Improved support for build_key(key, namespace) #569 -- Padraic Shafer
  • Removed deprecated loop parameters.
  • Removed deprecated cache parameter from create().
  • Added support for keyword arguments in TimingPlugin methods.
  • Fixed inconsistent enum keys between different Python versions. -- Padraic Shafer
  • Fixed .clear() breaking when no keys are present.
  • Fixed from aiocache import *.
  • Fixed .delete() when values are falsy.

0.11.1

14 Oct 10:18
Compare
Choose a tag to compare
  • Don't hardcode import redis and memcached in factory #461 - Manuel Miranda

0.11.0

14 Oct 10:18
Compare
Choose a tag to compare
  • Support str for timeout and ttl #454 - Manuel Miranda
  • Add aiocache_wait_for_write decorator param #448 - Manuel Miranda
  • Extend and improve usage of Cache class #446 - Manuel Miranda
  • Add caches.add functionality #440 - Manuel Miranda
  • Use raw msgpack attribute for loads #439 - Manuel Miranda
  • Add docs regarding plugin timeouts and multicached #438 - Manuel Miranda
  • Fix typehints in lock.py #434 - Aviv
  • Use pytest_configure instead of pytest_namespace #436 - Manuel Miranda
  • Add Cache class factory #430 - Manuel Miranda

0.10.1

15 Nov 22:35
Compare
Choose a tag to compare
  • Cancel the previous ttl timer if exists when setting a new value in the in-memory cache #424 - Minh Tu Le

  • Add python 3.7 to CI, now its supported! #420 - Manuel Miranda

  • Add function as parameter for key_builder #417 - Manuel Miranda

  • Always use name when getting logger #412 - Mansur Mamkin

  • Format code with black #410 - Manuel Miranda

0.10.0

18 Jun 07:24
Compare
Choose a tag to compare
  • Cache can be disabled in decorated functions using cache_read and cache_write #404 - Josep Cugat

  • Cache constructor can receive now default ttl #405 - Josep Cugat

0.9.1

26 Apr 22:53
Compare
Choose a tag to compare
  • Single deploy step #395 - Manuel Miranda

  • Catch ImportError when importing optional msgpack #398 - Paweł Kowalski

  • Lazy load redis asyncio.Lock #397 - Jordi Soucheiron

0.9.0

24 Apr 20:59
Compare
Choose a tag to compare
  • Bug #389/propagate redlock exceptions #394 - Manuel Miranda
    aexit was returning whether asyncio Event was removed or not. In
    some cases this was avoiding the context manager to propagate
    exceptions happening inside. Now its not returning anything and will
    raise always any exception raised from inside

  • Fix sphinx build #392 - Manuel Miranda
    Also add extra step in build pipeline to avoid future errors.

  • Update alias config when config already exists #383 - Josep Cugat

  • Ensure serializers are instances #379 - Manuel Miranda

  • Add MsgPackSerializer #370 - Adam Hopkins

  • Add create_connection_timeout for redis>=1.0.0 when creating connections #368 - tmarques82

  • Fixed spelling error in serializers.py #371 - Jared Shields

0.8.0

08 Nov 23:06
Compare
Choose a tag to compare
  • Add pypy support in build pipeline #359 - Manuel Miranda

  • Fix multicached bug when using keys as an arg rather than kwarg #356 - Manuel Miranda

  • Reuse cache when using decorators with alias #355 - Manuel Miranda

  • Cache available from function.cache object for decorated functions #354 - Manuel Miranda

  • aioredis and aiomcache are now optional dependencies #337 - Jair Henrique

  • Generate wheel package on release #338 - Jair Henrique

  • Add key_builder param to caches to customize keys #315 - Manuel Miranda