Changelogs » Wasabi

Wasabi

0.4.2

* Support `icon` in divider (added before the text).

0.4.1

* Add `spaced` argument to printers to wrap output in newlines.

0.4.0

* Add `wasabi.msg` shortcut, an instance of `Printer` with the default configuration.

0.3.0

* Add `diff_strings` utility.
* Support multline values im tables via `multiline` option.
* Fix rendering of dividers if `pretty` is disabled.

0.2.2

* Fix handling of `no_print=True` in loading context manager. (2)

0.2.1

* Handle cases where `sys.stdout` doesn't have `encoding` attribute.

0.2.0

* Improve handling of non-UTF-8 terminals and add fallback icons.
* Improve test suite and CI to catch unicode issues.

0.1.3

* Supports single widths argument on row.
* Replace Travis and Appveyor with Azure Pipelines.

0.1.2

* Move tests to `wasabi.tests` to bundle them with package.
* Set `zip_safe=True`.

0.1.1

* Add `MANIFEST.in`.

0.1.0

* Fix handling of `no_print`.

0.0.15

* Add default encoding in `util.can_render` in case `sys.stdout.encoding` is `None`.

0.0.14

* Fix list values passed as `aligns` and make align check more elegant.

0.0.13

* Change default `LOG_FRIENDLY` environment variable to `WASABI_LOG_FRIENDLY`.
* Support custom environment variables via `env_prefix` argument.

0.0.12

* Support single align value in table as `aligns` argument, e.g. `aligns="r"`.
* Tidy up loading without animation.

0.0.11

* Expose `table` and `row` in top-level module.
* Add `hide_animation` argument to `Printer`.
* Support `LOG_FRIENDLY` environment variable to disable animations and color.
* Update API docs.

0.0.10

* Fix display of traceback printer with only title.

0.0.9

* Add `format_repr` method as a wrapper aroud `repr()`.
* Add `TracebackPrinter` for custom formatted tracebacks.

0.0.8

* Add `Printer.row` method for single table rows.

0.0.7

* Fix exception handling within `Printer.loading` context manager.

0.0.6

* Remove unused code.
* Add Appveyor testing for Windows.
* Improve support on non-ANSI terminals.
* Fix encoding issue in `setup.py`.

0.0.5

* Add `exits` argument to perform system exit.
* Allow `title` amd optional `text` argument on main text printers.
* Make sure wrapping doesn't strip out added newlines.

0.0.4

* Fix setup on Python 2.7.
* Add `table` and `Printer.table` utilities.

0.0.3

* Add `Printer.loading` contextmanager for loading animations.
* Tidy up and auto-format with [Black](https://github.com/ambv/black).

0.0.2