Skip to content

Releases: aio-libs/async-lru

2.3.0

19 Mar 01:04
cb9e034

Choose a tag to compare

  • Added cache_contains() for read-only key lookup.
  • Changed cross-loop cache access to auto-reset and rebind to the current event loop.
  • Added AlruCacheLoopResetWarning when an auto-reset happens due to event loop change.
  • Forwarded cache_close(wait=...) for bound methods.

2.2.0

20 Feb 19:11
7ef00b7

Choose a tag to compare

  • Added a jitter parameter to randomise TTL.
  • Raise RuntimeError when cache is used by different loop.

2.1.0

17 Jan 22:52
b4e713b

Choose a tag to compare

  • Fixed cancelling of task when all tasks waiting on it have been cancelled.
  • Fixed DeprecationWarning from asyncio.iscoroutinefunction.

2.0.5

16 Mar 17:25
b19193c

Choose a tag to compare

  • Fixed a memory leak on exceptions and minor performance improvement.

2.0.4

27 Jul 19:12
2051f7b

Choose a tag to compare

  • Fixed an error when there are pending tasks while calling .cache_clear().

2.0.3

07 Jul 19:00
726be37

Choose a tag to compare

  • Fixed a KeyError that could occur when using ttl with maxsize.
  • Dropped typing-extensions dependency in Python 3.11+.

v1.0.3

07 May 03:04
91d3f45

Choose a tag to compare

Bump click to v8.0.2