Update InterceptHandler recipe to make it compatible with Python 3.11 (#654).
Add a new watch optional argument to file sinks in order to automatically re-create possibly deleted or changed file (#471).
Make patch() calls cumulative instead of overriding the possibly existing patching function (#462).
Make sinks added with enqueue=True and catch=False still process logged messages in case of internal exception (#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 (#712, thanks @jacksmith15).
Fix file sink rotation using an aware datetime.time for which the timezone was ignored (#697).
Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab (#494).
Fix logs colorization not automatically enabled for Github Actions and others CI platforms (#604).
Fix logger.complete() possibly hanging forever when enqueue=True and catch=False if internal thread killed due to Exception raised by sink (#647).
Fix incompatibility with freezegun library used to simulate time (#600).
Raise exception if logger.catch() is used to wrap a class instead of a function to avoid unexpected behavior (#623).
Update InterceptHandler recipe to make it compatible with Python 3.11 ([#654](https://github.com/Delgan/loguru/issues/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 ([#471](https://github.com/Delgan/loguru/issues/471) <https://github.com/Delgan/loguru/issues/471>_).
Make patch() calls cumulative instead of overriding the possibly existing patching function ([#462](https://github.com/Delgan/loguru/issues/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 ([#833](https://github.com/Delgan/loguru/issues/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 ([#712](https://github.com/Delgan/loguru/issues/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 ([#697](https://github.com/Delgan/loguru/issues/697) <https://github.com/Delgan/loguru/issues/697>_).
Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab ([#494](https://github.com/Delgan/loguru/issues/494) <https://github.com/Delgan/loguru/issues/494>_).
Fix logs colorization not automatically enabled for Github Actions and others CI platforms ([#604](https://github.com/Delgan/loguru/issues/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 ([#647](https://github.com/Delgan/loguru/issues/647) <https://github.com/Delgan/loguru/issues/647>_).
Fix incompatibility with freezegun library used to simulate time ([#600](https://github.com/Delgan/loguru/issues/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 ([#623](https://github.com/Delgan/loguru/issues/623) <https://github.com/Delgan/loguru/issues/623>_).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps loguru from 0.6.0 to 0.7.0.
Release notes
Sourced from loguru's releases.
Changelog
Sourced from loguru's changelog.
Commits
9fc929a
Bump version to 0.7.0a4a6264
Bump pre-commit from 3.1.1 to 3.2.1 (#838)5ad4f96
Avoid repetition in error message of invalid color tagd51903c
Rephrase error message for invalid color tage0ca15b
Don't break sinks with "enqueue=True" and "catch=False" on error (#833)b9acbad
Fix possible hang when "complete()" called twice and crashed threadc926fd0
Fix Yaml linter in Dependabot fileff36bdf
Fix missing dependencies in dependabot.yml ignore listb3cfcfd
Reduce Dependabot noise by ignoring patch updates7c20aa6
Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 (#809)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)