diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e8285d1..2c87b29 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.5 +current_version = 3.1.0 commit = True tag = True diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 69b2e1d..dbc54f8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,11 @@ Changelog :class:`~hunter.predicates.From` activates). * Changed :class:`~hunter.predicates.From` to pass a copy of event to the predicate. The copy will have the ``depth`` and ``calls`` attributes adjusted to the point where :class:`~hunter.predicates.From` activated. +* Fixed a bunch of inconsistencies and bugs when using ``&`` and ``|`` operators with predicates. +* Fixed a bunch of broken fields on :meth:`detached events ` + (:attr:`~hunter.event.Event.function_object` and :attr:`~hunter.event.Event.arg`). +* Improved docstrings in various and added a configuration doc section. +* Improved testing (more coverage). 3.0.5 (2019-12-06) ------------------ diff --git a/README.rst b/README.rst index 411eb2b..deed440 100644 --- a/README.rst +++ b/README.rst @@ -49,9 +49,9 @@ Overview :alt: Supported implementations :target: https://pypi.org/project/hunter -.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/python-hunter/v3.0.5.svg +.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/python-hunter/v3.1.0.svg :alt: Commits since latest release - :target: https://github.com/ionelmc/python-hunter/compare/v3.0.5...master + :target: https://github.com/ionelmc/python-hunter/compare/v3.1.0...master diff --git a/docs/conf.py b/docs/conf.py index acac2ea..ffc5727 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -34,7 +34,7 @@ version = release = get_distribution('hunter').version except Exception: traceback.print_exc() - version = release = '3.0.5' + version = release = '3.1.0' pygments_style = 'trac' templates_path = ['.'] diff --git a/setup.py b/setup.py index 51a00e7..28b1c46 100644 --- a/setup.py +++ b/setup.py @@ -113,7 +113,7 @@ def _unavailable(self, e): use_scm_version={ 'local_scheme': 'dirty-tag', 'write_to': 'src/hunter/_version.py', - 'fallback_version': '3.0.5', + 'fallback_version': '3.1.0', }, license='BSD-2-Clause', description='Hunter is a flexible code tracing toolkit.', diff --git a/src/hunter/__init__.py b/src/hunter/__init__.py index df8b34c..12ec1ce 100644 --- a/src/hunter/__init__.py +++ b/src/hunter/__init__.py @@ -42,7 +42,7 @@ try: from ._version import version as __version__ except ImportError: - __version__ = '3.0.5' + __version__ = '3.1.0' __all__ = ( 'And',