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

fix(deps): update dependency loguru to ^0.7.0 #40

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 10, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
loguru (changelog) ^0.4 -> ^0.7.0 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>).

v0.5.3

Compare Source

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

  • Fix child process possibly hanging at exit while combining enqueue=True with third party library like uwsgi (#&#8203;309 <https://github.com/Delgan/loguru/issues/309>, thanks @dstlmrk <https://github.com/dstlmrk>).
  • Fix possible exception during formatting of non-string messages (#&#8203;331 <https://github.com/Delgan/loguru/issues/331>_).

v0.5.2

Compare Source

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

  • Fix AttributeError within handlers using serialize=True when calling logger.exception() outside of the context of an exception (#&#8203;296 <https://github.com/Delgan/loguru/issues/296>_).
  • Fix error while logging an exception containing a non-picklable value to a handler with enqueue=True (#&#8203;298 <https://github.com/Delgan/loguru/issues/298>_).
  • Add support for async callable classes (with __call__ method) used as sinks (#&#8203;294 <https://github.com/Delgan/loguru/pull/294>, thanks @jessekrubin <https://github.com/jessekrubin>).

v0.5.1

Compare Source

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

  • Modify the way the extra dict is used by LogRecord in order to prevent possible KeyError with standard logging handlers (#&#8203;271 <https://github.com/Delgan/loguru/issues/271>_).
  • Add a new default optional argument to logger.catch(), it should be the returned value by the decorated function in case an error occurred (#&#8203;272 <https://github.com/Delgan/loguru/issues/272>_).
  • Fix ValueError when using serialize=True in combination with logger.catch() or logger.opt(record=True) due to circular reference of the record dict (#&#8203;286 <https://github.com/Delgan/loguru/issues/286>_).

v0.5.0

Compare Source

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

  • Remove the possibility to modify the severity no of levels once they have been added in order to prevent surprising behavior (#&#8203;209 <https://github.com/Delgan/loguru/issues/209>_).
  • Add better support for "structured logging" by automatically adding **kwargs to the extra dict besides using these arguments to format the message. This behavior can be disabled by setting the new .opt(capture=False) parameter (#&#8203;2 <https://github.com/Delgan/loguru/issues/2>_).
  • Add a new onerror optional argument to logger.catch(), it should be a function which will be called when an exception occurs in order to customize error handling (#&#8203;224 <https://github.com/Delgan/loguru/issues/224>_).
  • Add a new exclude optional argument to logger.catch(), is should be a type of exception to be purposefully ignored and propagated to the caller without being logged (#&#8203;248 <https://github.com/Delgan/loguru/issues/248>_).
  • Modify complete() to make it callable from non-asynchronous functions, it can thus be used if enqueue=True to make sure all messages have been processed (#&#8203;231 <https://github.com/Delgan/loguru/issues/231>_).
  • Fix possible deadlocks on Linux when multiprocessing.Process() collides with enqueue=True or threading (#&#8203;231 <https://github.com/Delgan/loguru/issues/231>_).
  • Fix compression function not executable concurrently due to file renaming (to resolve conflicts) being performed after and not before it (#&#8203;243 <https://github.com/Delgan/loguru/issues/243>_).
  • Fix the filter function listing files for retention being too restrictive, it now matches files based on the pattern "basename(.*).ext(.*)" (#&#8203;229 <https://github.com/Delgan/loguru/issues/229>_).
  • Fix the impossibility to remove() a handler if an exception is raised while the sink' stop() function is called (#&#8203;237 <https://github.com/Delgan/loguru/issues/237>_).
  • Fix file sink left in an unstable state if an exception occurred during retention or compression process (#&#8203;238 <https://github.com/Delgan/loguru/issues/238>_).
  • Fix situation where changes made to record["message"] were unexpectedly ignored when opt(colors=True), causing "out-of-date" message to be logged due to implementation details (#&#8203;221 <https://github.com/Delgan/loguru/issues/221>_).
  • Fix possible exception if a stream having an isatty() method returning True but not being compatible with colorama is used on Windows (#&#8203;249 <https://github.com/Delgan/loguru/issues/249>_).
  • Fix exceptions occurring in coroutine sinks never retrieved and hence causing warnings (#&#8203;227 <https://github.com/Delgan/loguru/issues/227>_).

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update dependency loguru to ^0.5 fix(deps): update dependency loguru to ^0.5.0 May 9, 2021
@renovate renovate bot changed the title fix(deps): update dependency loguru to ^0.5.0 fix(deps): update dependency loguru to ^0.5 May 15, 2021
@renovate renovate bot force-pushed the renovate/loguru-0.x branch 4 times, most recently from cc069dc to 7fa0fc7 Compare January 29, 2022 15:29
@renovate renovate bot changed the title fix(deps): update dependency loguru to ^0.5 fix(deps): update dependency loguru to ^0.6 Jan 29, 2022
@renovate
Copy link
Author

renovate bot commented Jan 29, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
installing v2 tool python v3.11.3
linking tool python v3.11.3
Python 3.11.3
pip 23.1 from /opt/buildpack/tools/python/3.11.3/lib/python3.11/site-packages/pip (python 3.11)
Installed v2 /usr/local/buildpack/tools/v2/python.sh in 8 seconds
Not a semver like version - aborting: ==1.0.5


@renovate renovate bot changed the title fix(deps): update dependency loguru to ^0.6 fix(deps): update dependency loguru to ^0.6.0 Mar 17, 2023
@renovate renovate bot changed the title fix(deps): update dependency loguru to ^0.6.0 fix(deps): update dependency loguru to ^0.7.0 Apr 17, 2023
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.

None yet

0 participants