v1.0.0
-
Implemented fast tracer and query objects in Cython. MAY BE BACKWARDS INCOMPATIBLE
To force using the old pure-python implementation set the
PUREPYTHONHUNTERenvironment variable to non-empty value. -
Added filtering operators:
contains,startswith,endswithandin. Examples:Q(module_startswith='foo'will match events fromfoo,foo.barandfoobar.Q(module_startswith=['foo', 'bar']will match events fromfoo,foo.bar,foobar,bar,bar.fooandbaroo.Q(module_endswith='bar'will match events fromfoo.barandfoobar.Q(module_contains='ip'will match events fromlipsum.Q(module_in=['foo', 'bar']will match events fromfooandbar.Q(module_regex=r"(re|sre.*)\b") will match events fromre,re.foobar,srefoobarbut not fromrepr``.
-
Removed the
mergeoption. Now when you callhunter.trace(...)multiple times only the last one is active. BACKWARDS INCOMPATIBLE -
Remove the
previous_tracerhandling. Now when you callhunter.trace(...)the previous tracer (whatever was insys.gettrace()) is disabled and restored whenhunter.stop()is called. BACKWARDS INCOMPATIBLE -
Fixed
CodePrinterto show module name if it fails to get any sources.