Skip to content

Commit

Permalink
Bump version to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Jun 12, 2020
1 parent 4c0e715 commit b576d97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`Unreleased`_
=============
`0.5.1`_ (2020-06-12)
=====================

- Modify the way the ``extra`` dict is used by ``LogRecord`` in order to prevent possible ``KeyError`` with standard ``logging`` handlers (`#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 (`#272 <https://github.com/Delgan/loguru/issues/272>`_).
Expand Down Expand Up @@ -157,7 +157,8 @@
Initial release.


.. _Unreleased: https://github.com/delgan/loguru/compare/0.5.0...master
.. _Unreleased: https://github.com/delgan/loguru/compare/0.5.1...master
.. _0.5.1: https://github.com/delgan/loguru/releases/tag/0.5.1
.. _0.5.0: https://github.com/delgan/loguru/releases/tag/0.5.0
.. _0.4.1: https://github.com/delgan/loguru/releases/tag/0.4.1
.. _0.4.0: https://github.com/delgan/loguru/releases/tag/0.4.0
Expand Down
2 changes: 1 addition & 1 deletion loguru/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ._logger import Core as _Core
from ._logger import Logger as _Logger

__version__ = "0.5.0"
__version__ = "0.5.1"

__all__ = ["logger"]

Expand Down

0 comments on commit b576d97

Please sign in to comment.