Skip to content

Releases: MisanthropicBit/colorise

Version 1.0.1 (2020-01-09)

06 May 12:11
v1.0.1
Compare
Choose a tag to compare
  • Check for duplicate color format specifications. E.g.
    >>> colorise.fprint('{fg=red,fg=blue}Hello')
    This is now an error and raises a ValueError.
  • Update the github branch for generating links to source code, that was pointing at an old deleted branch. Update links and code links in changelog.
  • Fix a bug where the colorise.attributes.Attr.Intense attribute (alias for colorise.attributes.Attr.Bold) would not be recognised by colorise.fprint.
  • Updated the code for the colorise.formatter.ColorFormatter class.

Version 1.0.0 (2019-12-17)

06 May 12:10
v1.0.0
Compare
Choose a tag to compare

Major update with breaking changes.

  • Support for 88/256 colortable indices, and RGB, HSV/HLS and hexadecimal color formats.
  • Support for virtual terminal processing on Windows.
  • 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.
  • Better detection of terminal color capabilities.
  • 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).
  • More thorough testing.
  • Reworked entire library.
  • Removed formatcolor and formatbyindex functions.
  • Online documentation and updated comments.
  • Changed license from MIT to BSD 3-clause.

Version 0.1.4 (2014-06-11)

06 May 12:10
v0.1.4
Compare
Choose a tag to compare
Pre-release
  • Fixed a bug on nix platforms that caused background colors to break.

Version 0.1.3 (2014-06-02)

06 May 12:10
v0.1.3
Compare
Choose a tag to compare
Pre-release
  • Fixed a bug where passing a string without any color formatting would print the empty string.

Version 0.1.2 (2014-05-31)

06 May 12:10
v0.1.2
Compare
Choose a tag to compare
Pre-release
  • Fixed a bug in nix/ColorManager.py which caused set_color to malfunction.

Version 0.1.1 (2014-05-24)

06 May 12:09
v0.1.1
Compare
Choose a tag to compare
Pre-release
  • Fixed a bug where putting a : or escaped > or < just before or after some color formatted text would raise a ColorSyntaxError.

Version 0.1.0 (2014-05-14)

06 May 12:00
v0.1.0
Compare
Choose a tag to compare
Pre-release
  • Initial version.