pypi loguru 0.6.0

latest releases: 0.7.2, 0.7.1, 0.7.0...
2 years ago
  • 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 using asyncio.get_running_loop() in place of asyncio.get_event_loop()).
  • Remove the possibility to add a coroutine sink with enqueue=True if loop=None and no event loop is running.
  • Change default encoding of file sink to be utf8 instead of locale.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).

Don't miss a new loguru release

NewReleases is sending notifications on new releases.