Skip to content

Latest commit

 

History

History
166 lines (104 loc) · 7.65 KB

CHANGELOG.md

File metadata and controls

166 lines (104 loc) · 7.65 KB

Changelog

0.7.2 (2017-07-23)

Other

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

  • Propagate correct message on memcached connector error #309 - Manuel Miranda

0.7.1 (2017-07-15)

  • Remove explicit loop usages #305 - Manuel Miranda

  • Remove bad logging configuration #304 - Manuel Miranda

0.7.0 (2017-07-01)

  • Upgrade to aioredis 0.3.3. - Manuel Miranda

  • Get CMD now returns values that evaluate to False correctly #282 - Manuel Miranda

  • New locks public API exposed #279 - Manuel Miranda Users can now use aiocache.lock.RedLock and aiocache.lock.OptimisticLock

  • Memory now uses new NullSerializer #273 - Manuel Miranda Memory is a special case and doesn't need a serializer because anything can be stored in memory. Created a new NullSerializer that does nothing which is the default that SimpleMemoryCache will use now.

  • Multi_cached can use args for key_from_attr #271 - Manuel Miranda _before only params defined in kwargs where working due to the behavior defined in get_args_dict function. This has now been fixed and it behaves as expected.

  • Removed cached key_from_attr #274 - Manuel Miranda To reproduce the same behavior, use the new key_builder attr

  • Removed settings module. - Manuel Miranda

0.6.1 (2017-06-12)

Other

  • Removed connection reusage for decorators #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 - 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 (2017-06-05)

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)

0.5.2

  • Reuse connection context manager #225 [argaen]
  • Add performance footprint tests #228 [argaen]
  • Timeout=0 takes precedence over self.timeout #227 [argaen]
  • Lock when acquiring redis connection #224 [argaen]
  • Added performance concurrency tests #216 [argaen]

0.5.1

  • Deprecate settings module #215 [argaen]
  • Decorators support introspection #213 [argaen]

0.5.0 (2017-04-29)

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

Breaking

  • Refactored how settings and defaults work. Now aliases are the only way. #193 [argaen]
  • Consistency between backends and serializers. With SimpleMemoryCache, some data will change on how its stored when using DefaultSerializer #191 [argaen]

0.3.3 (2017-04-06)

  • Added CHANGELOG and release process #172 [argaen]
  • Added pool_min_size pool_max_size to redisbackend #167 [argaen]
  • Timeout per function. Propagate it correctly with defaults. #166 [argaen]
  • Added noself arg to cached decorator #137 [argaen]
  • Cache instance in decorators is built in every call #135 [argaen]

0.3.1 (2017-02-13)

  • Changed add redis to use set with not existing flag #119 [argaen]
  • Memcached multi_set with ensure_future #114 [argaen]

0.3.0 (2017-01-12)

  • Fixed asynctest issues for timeout tests #109 [argaen]
  • Created new API class #108 [argaen]
  • Set multicached keys only when non existing #98 [argaen]
  • Added expire command #97 [argaen]
  • Ttl tasks are cancelled for memory backend if key is deleted #92 [argaen]
  • Ignore caching if AIOCACHE_DISABLED is set to 1 #90 [argaen]