Skip to content

1.3.2

Choose a tag to compare

@ClericPy ClericPy released this 31 Aug 15:22
· 36 commits to master since this release

1.3.2 (2025-08-02)

  1. fix typing-hint for morebuiltins.funcs.threads decorator, now it returns Callable[..., Future].
  2. add force kill methods to morebuiltins.shared_memory.PLock:
    1. add force_signum to morebuiltins.shared_memory.PLock, to specify the signal number to force kill the process if it exists.
    2. add is_free to morebuiltins.shared_memory.PLock, to check if the lock is free.
    3. add kill_with_name to morebuiltins.shared_memory.PLock, to kill the process with the given name and signal number.
  3. add morebuiltins.logs.LogHelper to quickly bind a logging handler to a logger, with a StreamHandler or SizedTimedRotatingFileHandler.
  4. Compatibility Warnings:
    1. move async_logger, AsyncQueueListener, LogHelper, RotatingFileWriter, and SizedTimedRotatingFileHandler from morebuiltins.funcs to morebuiltins.logs.
  5. add ContextFilter for logging, to add context variables to log records.
  6. add queue arg to morebuiltins.logs.LogHelper.bind_handler, to enable async logging with AsyncQueueListener. (like loguru's queue=True)