Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.5.3
->==0.7.2
Release Notes
Delgan/loguru (loguru)
v0.7.2
Compare Source
=====================
ExceptionGroup
errors (#​805 <https://github.com/Delgan/loguru/issues/805>
_).RuntimeError
when usingmultiprocessing.set_start_method()
after importing thelogger
(#​974 <https://github.com/Delgan/loguru/issues/974>
_)__notes__
attached to anException
(#​980 <https://github.com/Delgan/loguru/issues/980>
_).v0.7.1
Compare Source
=====================
context
optional argument tologger.add()
specifyingmultiprocessing
context (like"spawn"
or"fork"
) to be used internally instead of the default one (#​851 <https://github.com/Delgan/loguru/issues/851>
_).#​934 <https://github.com/Delgan/loguru/issues/934>
, thanks@tunaflsh <https://github.com/tunaflsh>
).logger.complete()
with concurrent logging of an asynchronous sink (#​906 <https://github.com/Delgan/loguru/issues/906>
_).#​894 <https://github.com/Delgan/loguru/issues/894>
_)."<hide>"
and"<strike>"
color tags (#​943 <https://github.com/Delgan/loguru/pull/943>
, thanks@tunaflsh <https://github.com/tunaflsh>
).Exception
instances while usingenqueue=True
(#​329 <https://github.com/Delgan/loguru/issues/329>
_).Exception
instances while usingenqueue=True
(#​342 <https://github.com/Delgan/loguru/issues/342>
, thanks@ncoudene <https://github.com/ncoudene>
).#​961 <https://github.com/Delgan/loguru/issues/961>
_).ValueError
if an attempt to use nanosecond precision for time formatting is detected (#​855 <https://github.com/Delgan/loguru/issues/855>
_).v0.7.0
Compare Source
=====================
InterceptHandler
recipe to make it compatible with Python 3.11 (#​654 <https://github.com/Delgan/loguru/issues/654>
_).watch
optional argument to file sinks in order to automatically re-create possibly deleted or changed file (#​471 <https://github.com/Delgan/loguru/issues/471>
_).patch()
calls cumulative instead of overriding the possibly existing patching function (#​462 <https://github.com/Delgan/loguru/issues/462>
_).enqueue=True
andcatch=False
still process logged messages in case of internal exception (#​833 <https://github.com/Delgan/loguru/issues/833>
_).__del__
method. Since the logger is not re-entrant, such misuse will be detected and will now generate aRuntimeError
(#​712 <https://github.com/Delgan/loguru/issues/712>
, thanks@jacksmith15 <https://github.com/jacksmith15>
).datetime.time
for which the timezone was ignored (#​697 <https://github.com/Delgan/loguru/issues/697>
_).#​494 <https://github.com/Delgan/loguru/issues/494>
_).#​604 <https://github.com/Delgan/loguru/issues/604>
_).logger.complete()
possibly hanging forever whenenqueue=True
andcatch=False
if internal thread killed due toException
raised by sink (#​647 <https://github.com/Delgan/loguru/issues/647>
_).freezegun
library used to simulate time (#​600 <https://github.com/Delgan/loguru/issues/600>
_).logger.catch()
is used to wrap a class instead of a function to avoid unexpected behavior (#​623 <https://github.com/Delgan/loguru/issues/623>
_).v0.6.0
Compare Source
=====================
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>
_).loop=None
and no event loop is running (due to internally usingasyncio.get_running_loop()
in place ofasyncio.get_event_loop()
).enqueue=True
ifloop=None
and no event loop is running.utf8
instead oflocale.getpreferredencoding()
(#​339 <https://github.com/Delgan/loguru/issues/339>
_).serialize=True
(#​575 <https://github.com/Delgan/loguru/pull/575>
, thanks@ponponon <https://github.com/ponponon>
).flake8
errors and improve code readability (#​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.
This PR was generated by Mend Renovate. View the repository job log.