Skip to content

Commit aee1068

Browse files
committed
Bump version to 0.5.0
1 parent f375e3e commit aee1068

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
`Unreleased`_
2-
=============
1+
`0.5.0`_ (2020-05-17)
2+
=====================
33

44
- Remove the possibility to modify the severity ``no`` of levels once they have been added in order to prevent surprising behavior (`#209 <https://github.com/Delgan/loguru/issues/209>`_).
5-
- 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 using the new ``opt(capture=False)`` parameter (`#2 <https://github.com/Delgan/loguru/issues/2>`_).
5+
- 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 (`#2 <https://github.com/Delgan/loguru/issues/2>`_).
66
- 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 (`#224 <https://github.com/Delgan/loguru/issues/224>`_).
77
- 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 (`#248 <https://github.com/Delgan/loguru/issues/248>`_).
88
- 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 (`#231 <https://github.com/Delgan/loguru/issues/231>`_).
@@ -149,7 +149,8 @@
149149
Initial release.
150150

151151

152-
.. _Unreleased: https://github.com/delgan/loguru/compare/0.4.1...master
152+
.. _Unreleased: https://github.com/delgan/loguru/compare/0.5.0...master
153+
.. _0.5.0: https://github.com/delgan/loguru/releases/tag/0.5.0
153154
.. _0.4.1: https://github.com/delgan/loguru/releases/tag/0.4.1
154155
.. _0.4.0: https://github.com/delgan/loguru/releases/tag/0.4.0
155156
.. _0.3.2: https://github.com/delgan/loguru/releases/tag/0.3.2

loguru/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from ._logger import Core as _Core
1111
from ._logger import Logger as _Logger
1212

13-
__version__ = "0.4.1"
13+
__version__ = "0.5.0"
1414

1515
__all__ = ["logger"]
1616

0 commit comments

Comments
 (0)