Skip to content

Releases: borntyping/python-colorlog

6.8.2

26 Jan 13:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.8.0...v6.8.2

6.8.0

02 Dec 16:45
Compare
Choose a tag to compare

What's Changed

  • Remove universal wheel, python 2 is unsupported by @gopackgo90 in #126
  • Fix running tests in environment with NO_COLOR=1 by @mgorny in #130

New Contributors

Full Changelog: v6.7.0...v6.8.0

v6.6.0

08 Nov 16:58
Compare
Choose a tag to compare

https://pypi.org/project/colorlog/6.6.0/

Changes

Changes since v6.4.1.

  • Add a force_color option to colorlog.formatter.ColoredFormatter.
  • Support the FORCE_COLOR environment variable.

6.4.1

23 Aug 10:16
Compare
Choose a tag to compare

This is the first proper release in the v6 line!

PyPI: https://pypi.org/project/colorlog/6.4.1/

This breaks backwards compatibility in a few ways, most notably dropping support for Python versions older than 3.5. A warning will be displayed if you try to run it on an older version:

Colorlog requires Python 3.6 or above.
Pin 'colorlog<5' to your dependencies if you require compatibility with older versions of Python.

This lets colorlog drop some code that was getting very messy to maintain, which made adding and testing new features a slog. Other backwards incompatible changes have mostly been to internals, and some long requested features that have been a bit easier to add now.

Changes

Changes since v6.3.0a1.

  • Renamed colorlog.logging to colorlog.wrappers.
  • Import log levels from the logging module (#111).

Changelog

Changes since v5.0.0.

  • Dropped support for Python 2 and Python versions below Python 3.5.
  • Added type hints and added mypy to CI (#83).
  • Support 256 colour ANSI codes (#88).
  • Support "light" ANSI codes (#87).
  • Support the NO_COLOR environment variable, and a no_color option (#70).
  • Updated various examples and documentation (#85).
  • Merged TTYColoredFormatter into ColoredFormatter, and ensure no ANSI codes are printed when colors are disabled.
  • Replaced LevelFormatter with a far simpler implementation.
  • Fixed version_info check for the Formatter validate parameter.
  • Define formatMessage instead of format, so that ColoredRecord is used in fewer places.
  • Use setuptool's "normalised" format for the version number.
  • Add PEP 561 typing marker so mypy can find type annotations.
  • Renamed internal modules.
    • colorlog.colorlog is now colorlog.formatter.
    • colorlog.logging is now colorlog.wrappers.
  • Removed colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.
  • Import log levels from the logging module (#111).

v6.3.0a1

14 Jun 17:34
Compare
Choose a tag to compare
v6.3.0a1 Pre-release
Pre-release
  • Rename internal modules. colorlog.colorlog is now colorlog.formatter.
  • Remove colorlog.escape_codes object so that the colorlog.escape_codes module can be imported and used.

v6.2.0a1

14 Jun 17:32
Compare
Choose a tag to compare
v6.2.0a1 Pre-release
Pre-release
  • Drop support for Python 3.5.
  • Require Python >= 3.6 in package metadata.
  • Cleanup old Python syntax.

Thanks @hugovk!

v6.1.0a1

14 Jun 17:30
Compare
Choose a tag to compare
v6.1.0a1 Pre-release
Pre-release
  • Use setuptool's "normalised" format for the version number.
  • Add PEP 561 typing marker so mypy can find type annotations.

v6.0.0-alpha.2

13 Apr 20:16
Compare
Choose a tag to compare
v6.0.0-alpha.2 Pre-release
Pre-release
  • Dropped support for Python 2 and Python versions below Python 3.5.
  • Added type hints and added mypy to CI (#83).
  • Support 256 colour ANSI codes (#88).
  • Support "light" ANSI codes (#87).
  • Support the NO_COLOR environment variable, and a no_color option (#70).
  • Updates various examples and documenation (#85).
  • Merged TTYColoredFormatter into ColoredFormatter, and ensure no ANSI codes are printed when colors are disabled.
  • Replaced LevelFormatter with a far simpler implementation.
  • Fixed version_info check for the Formatter validate parameter.
  • Define formatMessage instead of format, so that ColoredRecord is used in fewer places.

v5.0.0

13 Apr 13:26
Compare
Choose a tag to compare

This prepares for a v6.0.0 version that breaks backwards compatibility with older Python versions and potentially changes various internals.

v4.8.0

22 Mar 11:25
Compare
Choose a tag to compare
Reformat code with black