All Versions
50
Latest Version
Avg Release Cycle
59 days
Latest Release
917 days ago

Changelog History
Page 3

  • v3.0.4 Changes

    October 26, 2019
    • ๐Ÿ›  Really fixed stream setup in actions (using force_colors without any stream was broken). See: :obj:~hunter.actions.ColorStreamAction.
    • Fixed __repr__ for the :obj:~hunter.predicates.From predicate to include watermark.
    • โž• Added binary wheels for Python 3.8.
  • v3.0.3 Changes

    October 13, 2019
    • ๐Ÿ›  Fixed safe_repr on pypy so it's safer on method objects. See: :class:~hunter.actions.ColorStreamAction.
  • v3.0.2 Changes

    October 10, 2019
    • ๐Ÿ›  Fixed setting stream from PYTHONHUNTERCONFIG environment variable. See: :class:~hunter.actions.ColorStreamAction.
    • ๐Ÿ›  Fixed a couple minor documentation issues.
  • v3.0.1 Changes

    June 17, 2019
    • ๐Ÿ›  Fixed issue with coloring missing source message (coloring leaked into next line).
  • v3.0.0 Changes

    June 17, 2019
    • ๐Ÿ— The package now uses setuptools-scm for development builds (available at https://test.pypi.org/project/hunter/). As a consequence installing the sdist will download setuptools-scm.
    • โœ… Recompiled cython modules with latest Cython. Hunter can be installed without any Cython, as before.
    • ๐Ÿ”จ Refactored some of the cython modules to have more typing information and not use deprecated property syntax.
    • Replaced unsafe_repr option with repr_func. Now you can use your custom repr function in the builtin actions. BACKWARDS INCOMPATIBLE
    • ๐Ÿ›  Fixed buggy filename handling when using Hunter in ipython/jupyter. Source code should be properly displayed now.
    • Removed globals option from VarsPrinter action. Globals are now always looked up. BACKWARDS INCOMPATIBLE
    • โž• Added support for locals in VarsPrinter action. Now you can do VarsPrinter('len(foobar)').
    • ๐Ÿ–จ Always pass module_globals dict to linecache methods. Source code from PEP-302 loaders is now printed properly. Contributed by Mikhail Borisov in #65 <https://github.com/ionelmc/python-hunter/pull/65>_.
    • ๐Ÿ’… Various code cleanup, style and docstring fixing.
    • โž• Added :func:hunter.From helper to allow passing in filters directly as keyword arguments.
    • โž• Added :meth:hunter.event.Event.detach for storing events without leaks or side-effects (due to prolonged references to Frame objects, local or global variables).
    • ๐Ÿ”จ Refactored the internals of actions for easier subclassing.

    Added the :meth:~hunter.actions.ColorStreamAction.filename_prefix, :meth:~hunter.actions.ColorStreamAction.output, :meth:~hunter.actions.ColorStreamAction.pid_prefix, :meth:~hunter.actions.ColorStreamAction.thread_prefix, :meth:~hunter.actions.ColorStreamAction.try_repr and :meth:~hunter.actions.ColorStreamAction.try_source methods to the :class:hunter.actions.ColorStreamAction baseclass.

    • โž• Added :class:hunter.actions.VarsSnooper - a PySnooper-inspired variant of :class:~hunter.actions.VarsPrinter. It will record and show variable changes, with the risk of leaking or using too much memory of course :)
    • ๐Ÿ›  Fixed tracers to log error and automatically stop if there's an internal failure. Previously error may have been silently dropped in some situations.
  • v2.2.1 Changes

    January 19, 2019
    • ๐Ÿ›  Fixed a link in changelog.
    • ๐Ÿ›  Fixed some issues in the Travis configuration.
  • v2.2.0 Changes

    January 19, 2019
    • โž• Added :class:hunter.predicates.From predicate for tracing from a specific point. It stop after returning back to the same call depth with a configurable offset.
    • ๐Ÿ›  Fixed PYTHONHUNTERCONFIG not working in some situations (config values were resolved at the wrong time).
    • ๐Ÿ‘ท Made tests in CI test the wheel that will eventually be published to PyPI (tox-wheel <https://pypi.org/project/tox-wheel/>_).
    • Made event.stdlib more reliable: pkg_resources is considered part of stdlib and few more paths will be considered as stdlib.
    • Dumbed down the get_peercred check that is done when attaching with hunter-trace CLI (via hunter.remote.install()). It will be slightly insecure but will work on OSX.
    • โž• Added OSX in the Travis test grid.
  • v2.1.0 Changes

    November 17, 2018
    • 0๏ธโƒฃ Made threading_support on by default but output automatic (also, now 1 or 0 allowed).
    • Added pid_alignment and force_pid action options to show a pid prefix.
    • Fixed some bugs around __eq__ in various classes.
    • โฌ‡๏ธ Dropped Python 3.3 support.
    • โฌ‡๏ธ Dropped dependency on fields <https://python-fields.readthedocs.io/en/stable/>_.
    • Actions now repr using a simplified implementation that tries to avoid calling __repr__ on user classes in order to avoid creating side-effects while tracing.
    • โž• Added support for the PYTHONHUNTERCONFIG environment variable (stores defaults and doesn't activate hunter).
  • v2.0.2 Changes

    November 24, 2017
    • ๐Ÿ›  Fixed indentation in :class:hunter.actions.CallPrinter action (shouldn't deindent on exception).
    • ๐Ÿ›  Fixed option filtering in Cython Query implementation (filtering on tracer was allowed by mistake).
    • ๐Ÿ›  Various fixes to docstrings and docs.
  • v2.0.1 Changes

    September 09, 2017
    • Now Py_AddPendingCall is used instead of acquiring the GIL (when using GDB).