Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency loguru to v0.7.2 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 25, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
loguru (changelog) ==0.5.3 -> ==0.7.2 age adoption passing confidence

Release Notes

Delgan/loguru (loguru)

v0.7.2

Compare Source

=====================

  • Add support for formatting of ExceptionGroup errors (#&#8203;805 <https://github.com/Delgan/loguru/issues/805>_).
  • Fix possible RuntimeError when using multiprocessing.set_start_method() after importing the logger (#&#8203;974 <https://github.com/Delgan/loguru/issues/974>_)
  • Fix formatting of possible __notes__ attached to an Exception (#&#8203;980 <https://github.com/Delgan/loguru/issues/980>_).

v0.7.1

Compare Source

=====================

  • Add a new context optional argument to logger.add() specifying multiprocessing context (like "spawn" or "fork") to be used internally instead of the default one (#&#8203;851 <https://github.com/Delgan/loguru/issues/851>_).
  • Add support for true colors on Windows using ANSI/VT console when available (#&#8203;934 <https://github.com/Delgan/loguru/issues/934>, thanks @tunaflsh <https://github.com/tunaflsh>).
  • Fix possible deadlock when calling logger.complete() with concurrent logging of an asynchronous sink (#&#8203;906 <https://github.com/Delgan/loguru/issues/906>_).
  • Fix file possibly rotating too early or too late when re-starting an application around midnight (#&#8203;894 <https://github.com/Delgan/loguru/issues/894>_).
  • Fix inverted "<hide>" and "<strike>" color tags (#&#8203;943 <https://github.com/Delgan/loguru/pull/943>, thanks @tunaflsh <https://github.com/tunaflsh>).
  • Fix possible untraceable errors raised when logging non-unpicklable Exception instances while using enqueue=True (#&#8203;329 <https://github.com/Delgan/loguru/issues/329>_).
  • Fix possible errors raised when logging non-picklable Exception instances while using enqueue=True (#&#8203;342 <https://github.com/Delgan/loguru/issues/342>, thanks @ncoudene <https://github.com/ncoudene>).
  • Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (#&#8203;961 <https://github.com/Delgan/loguru/issues/961>_).
  • Raise ValueError if an attempt to use nanosecond precision for time formatting is detected (#&#8203;855 <https://github.com/Delgan/loguru/issues/855>_).

v0.7.0

Compare Source

=====================

  • Update InterceptHandler recipe to make it compatible with Python 3.11 (#&#8203;654 <https://github.com/Delgan/loguru/issues/654>_).
  • Add a new watch optional argument to file sinks in order to automatically re-create possibly deleted or changed file (#&#8203;471 <https://github.com/Delgan/loguru/issues/471>_).
  • Make patch() calls cumulative instead of overriding the possibly existing patching function (#&#8203;462 <https://github.com/Delgan/loguru/issues/462>_).
  • Make sinks added with enqueue=True and catch=False still process logged messages in case of internal exception (#&#8203;833 <https://github.com/Delgan/loguru/issues/833>_).
  • Avoid possible deadlocks caused by re-using the logger inside a sink, a signal handler or a __del__ method. Since the logger is not re-entrant, such misuse will be detected and will now generate a RuntimeError (#&#8203;712 <https://github.com/Delgan/loguru/issues/712>, thanks @jacksmith15 <https://github.com/jacksmith15>).
  • Fix file sink rotation using an aware datetime.time for which the timezone was ignored (#&#8203;697 <https://github.com/Delgan/loguru/issues/697>_).
  • Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab (#&#8203;494 <https://github.com/Delgan/loguru/issues/494>_).
  • Fix logs colorization not automatically enabled for Github Actions and others CI platforms (#&#8203;604 <https://github.com/Delgan/loguru/issues/604>_).
  • Fix logger.complete() possibly hanging forever when enqueue=True and catch=False if internal thread killed due to Exception raised by sink (#&#8203;647 <https://github.com/Delgan/loguru/issues/647>_).
  • Fix incompatibility with freezegun library used to simulate time (#&#8203;600 <https://github.com/Delgan/loguru/issues/600>_).
  • Raise exception if logger.catch() is used to wrap a class instead of a function to avoid unexpected behavior (#&#8203;623 <https://github.com/Delgan/loguru/issues/623>_).

v0.6.0

Compare Source

=====================

  • Remove internal use of pickle.loads() to fix the (finally rejected) security vulnerability referenced as CVE-2022-0329 <https://nvd.nist.gov/vuln/detail/CVE-2022-0329>_ (#&#8203;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 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() (#&#8203;339 <https://github.com/Delgan/loguru/issues/339>_).
  • Prevent non-ascii characters to be escaped while logging JSON message with serialize=True (#&#8203;575 <https://github.com/Delgan/loguru/pull/575>, thanks @ponponon <https://github.com/ponponon>).
  • Fix flake8 errors and improve code readability (#&#8203;353 <https://github.com/Delgan/loguru/issues/353>, thanks @AndrewYakimets <https://github.com/AndrewYakimets>).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency loguru to v0.6.0 Update dependency loguru to v0.7.0 Apr 17, 2023
@renovate renovate bot changed the title Update dependency loguru to v0.7.0 Update dependency loguru to v0.7.1 Sep 4, 2023
@renovate renovate bot changed the title Update dependency loguru to v0.7.1 Update dependency loguru to v0.7.2 Sep 11, 2023
Copy link

sonarcloud bot commented Mar 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants