Loguru v0.7.3 Release Notes

Release Date: 2024-12-06 // over 1 year ago
    • 🛠 Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a ValueError during logging (#88).
    • 🛠 Fix possible RuntimeError when removing all handlers with logger.remove() due to thread-safety issue (#1183, thanks @jeremyk).
    • 🛠 Fix diagnose=True option of exception formatting not working as expected with Python 3.13 (#1235, thanks @etianen).
    • 🛠 Fix non-standard level names not fully compatible with logging.Formatter() (#1231, thanks @yechielb2000).
    • 🛠 Fix inability to display a literal "\" immediately before color markups (#988).
    • Fix possible infinite recursion when an exception is raised from a __repr__ method decorated with logger.catch() (#1044).
    • 👌 Improve performance of datetime formatting while logging messages (#1201, thanks @trim21).
    • ⬇️ Reduce startup time in the presence of installed but unused IPython third-party library (#1001, thanks @zakstucke).

Previous changes from v0.7.2

    • ➕ Add support for formatting of ExceptionGroup errors (#805).
    • Fix possible RuntimeError when using multiprocessing.set_start_method() after importing the logger (#974).
    • Fix formatting of possible __notes__ attached to an Exception (#980).