Gouge

Latest version: v2.2.5

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.5

-------------

* Fix a bug causing all exception message to revert back to red, even if the
colour was customised.

2.2

-----------

* Provide new keyword-argument ``highlighted_path`` to visually distinguish
traceback elements which are path of a subtree. It defaults to
``<current-working-directory>/src`` if it exists.

This helps reading tracebacks when using complex frameworks (like SQLAlchemy,
Flask, Starlette, ...).

* [2.2.1] - fix: If the message or traceback contained Python string-template
variables the output could either break or cause incorrect output. This is
now fixed.

* [2.2.2] - fix: Correctly initialise the "highlighted_path" value

* [2.2.2post1] - fix: Corrected the "preformatters" example from the
documentation

* [2.2.3] - fix: Path highlighting in exception messages should now work with
absolute paths

* [2.2.4] - fix: regression introduced in 2.23

2.1

-----------

* Added support for pre-formatters.
* Provide bundled pre-formatter for ``uvicorn.access`` via
``gouge.preformatters``

2.0

-----------

* Make the ``gouge.colourcli.Simple`` constructor fully compatible with
``logging.Formatter``.

This changes the order of arguments passed into ``Simple()`` which is why
this is a major release.
* Overall modernisation of the code-base, packaging and release procedure.

1.5.0

-------------

* Add ``show_pid`` option to ``gouge.colourcli.Simple`` to include process IDs
in log output.

1.4.0

-------------

* Log messages below the "ERROR" level now show exception tracebacks in cyan
instead of red. This makes them less intrusive and improves visibility of
error logs
* Add link to the documentation from the Readme

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.