hunter v3.1.0 Release Notes

Release Date: 2019-01-19 // over 5 years ago
    • โž• Added :class:~hunter.actions.ErrorSnooper - an action that detects silenced exceptions.
    • โž• Added :func:~hunter.load_config and fixed issues with configuration being loaded too late from the PYTHONHUNTERCONFIG environment variable.
    • ๐Ÿ”„ Changed :func:~hunter.From helper to automatically move depth and calls filters to the predicate (so they filter after :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 <hunter.event.Event.detach> (: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).