Releases: aiudirog/Aiuti
Releases · aiudirog/Aiuti
Release v0.9.2
Change Log:
- Fixed
ParamSpec
fallback shim causing errors when used withGeneric
Release v0.9.1
Change Log:
- Changed default
retention_timeout
to zero forAsyncBackgroundBatcher
for backwards compatibility withaiuti<0.9
Release v0.9
Change Log:
- Added a retention cache to
AsyncBackgroundBatcher
to simplify handling duplicate requests - Dropped support for Python 3.7
Release v0.8
Change Log:
- Refactored
threadsafe_async_cache()
to internally useasyncio.Event
in a threadsafe manor to avoid additional lock waiting threads
Release v0.7.1
Change Log:
- Fixed potential for deadlocked threads when cancelling tasks using
threadsafe_async_cache()
Release v0.7
Change Log:
- Added a
cache
parameter tothreadsafe_async_cache
to allow providing an alternative cache object - Added
TypeAlias
,ParamSpec
,ParamSpecArgs
,ParamSpecKwargs
, andConcatenate
to the typing module as poly-filled fallbacks - Added generic type var
F
for any callable function - Updated async code to use
get_running_loop()
instead ofget_event_loop()
internally - Fixed potential threadsafety issue in
threadsafe_async_cache()
by not relying on the GIL while making locks
Release v0.6
Change Log:
- Added
batch_timeout
configuration forAsyncBackgroundBatcher
- Added handling for event loop shutdown in
AsyncBackgroundBatcher
to avoid log spam - Improved thread-safety of
ensure_aw()
andloop_in_thread()
Release v0.5
Change Log:
- Added the
AsyncBackgroundBatcher
class andasync_background_batcher()
decorator - Dropped support for Python 3.6
Release v0.4.2.post0
Change Log:
- Fixed copyright notice in LICENSE
Release v0.4.2
Change Log:
- Fixed
FileLock.acquire_ctx()
only releasing on error