- Remove internal use of
pickle.loads()
considered as a security vulnerability referenced as CVE-2022-0329 (#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). - Prevent non-ascii characters to be escaped while logging JSON message with
serialize=True
(#575, thanks @ponponon). - Fix
flake8
errors and improve code readability (#353, thanks @AndrewYakimets).