Skip to content

Update dependency loguru to v0.5.1 #5

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

Merged
merged 1 commit into from
Aug 23, 2020
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2020

This PR contains the following updates:

Package Update Change
loguru (changelog) minor ==0.4.1 -> ==0.5.1

Release Notes

Delgan/loguru

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>_).

Renovate configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

@toddbirchard toddbirchard merged commit 9d84ede into master Aug 23, 2020
@toddbirchard toddbirchard deleted the renovate/loguru-0.x branch August 23, 2020 17:31
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.

2 participants