Loguru v0.6.0 Release Notes
Release Date: 2022-01-29 // over 1 year ago-
- Remove internal use of
pickle.loads()
to fix the (finally rejected) security vulnerability referenced asCVE-2022-0329 <https://nvd.nist.gov/vuln/detail/CVE-2022-0329>
_ (#563 <https://github.com/Delgan/loguru/issues/563>
_). - โ Modify coroutine sink to make it discard log messages when
loop=None
and no event loop is running (due to internally usingasyncio.get_running_loop()
in place ofasyncio.get_event_loop()
). - โ Remove the possibility to add a coroutine sink with
enqueue=True
ifloop=None
and no event loop is running. - ๐ Change default encoding of file sink to be
utf8
instead oflocale.getpreferredencoding()
(#339 <https://github.com/Delgan/loguru/issues/339>
_). - Prevent non-ascii characters to be escaped while logging JSON message with
serialize=True
(#575 <https://github.com/Delgan/loguru/pull/575>
, thanks@ponponon <https://github.com/ponponon>
). - Fix
flake8
errors and improve code readability (#353 <https://github.com/Delgan/loguru/issues/353>
, thanks@AndrewYakimets <https://github.com/AndrewYakimets>
).
- Remove internal use of
Previous changes from v0.5.3
-
- Fix child process possibly hanging at exit while combining
enqueue=True
with third party library likeuwsgi
(#309 <https://github.com/Delgan/loguru/issues/309>
, thanks@dstlmrk <https://github.com/dstlmrk>
). - ๐ Fix possible exception during formatting of non-string messages (
#331 <https://github.com/Delgan/loguru/issues/331>
_).
- Fix child process possibly hanging at exit while combining