Changelog¶
Version numbers follow Semantic Versioning (i.e. <major>.<minor>.<patch>).
1.0.0¶
2019-12-17
Warning
Major update with breaking changes.
- [new] Support for 88/256 colortable indices, and RGB, HSV/HLS and hexadecimal color formats.
- [new] Support for virtual terminal processing on Windows.
- [new] Changed parser to use Python 3’s str.format syntax, e.g.
<fg=red>
becomes{fg=red}
. Removed ColorManager classes since no state needs to be stored, replaced by a ColorFormatter class. - [new] Better detection of terminal color capabilities.
- [new] If an unsupported color format is specified which the terminal does not support it (e.g. an RGB color in a 16 color terminal), colorise will automatically find color on your system that matches the desired color (via linear distance).
- [new] More thorough testing.
- [refactor] Reworked entire library.
- [refactor] Removed formatcolor and formatbyindex functions.
- [docs] Online documentation and updated comments.
- Changed license from MIT to BSD 3-clause.
0.1.4 (pre-release)¶
2014-06-11
- [Fix] Fixed a bug on nix platforms that caused background colors to break.
0.1.3 (pre-release)¶
2014-06-02
- [Fix] Fixed a bug where passing a string without any color formatting would print the empty string.
0.1.2 (pre-release)¶
2014-05-31
- [Fix] Fixed a bug in
nix/ColorManager.py
which causedset_color
to malfunction.