Releases: borntyping/python-colorlog
6.8.2
What's Changed
- Update package links in README by @buhtz in #131
- Added docs/CONTRIBUTING.md.
- Documented "bright" colours in the README.
New Contributors
Full Changelog: v6.8.0...v6.8.2
6.8.0
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
- @gopackgo90 made their first contribution in #126
- @mgorny made their first contribution in #130
Full Changelog: v6.7.0...v6.8.0
v6.6.0
https://pypi.org/project/colorlog/6.6.0/
Changes
Changes since v6.4.1.
- Add a
force_color
option tocolorlog.formatter.ColoredFormatter
. - Support the
FORCE_COLOR
environment variable.
6.4.1
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
tocolorlog.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
intoColoredFormatter
, 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 nowcolorlog.formatter
.colorlog.logging
is nowcolorlog.wrappers
.
- Removed
colorlog.escape_codes
object so that thecolorlog.escape_codes
module can be imported and used. - Import log levels from the
logging
module (#111).
v6.3.0a1
- Rename internal modules.
colorlog.colorlog
is nowcolorlog.formatter
. - Remove
colorlog.escape_codes
object so that thecolorlog.escape_codes
module can be imported and used.
v6.2.0a1
v6.1.0a1
- 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
- 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 ano_color
option (#70). - Updates various examples and documenation (#85).
- Merged
TTYColoredFormatter
intoColoredFormatter
, and ensure no ANSI codes are printed when colors are disabled. - Replaced
LevelFormatter
with a far simpler implementation. - Fixed
version_info
check for the Formattervalidate
parameter. - Define
formatMessage
instead offormat
, so thatColoredRecord
is used in fewer places.
v5.0.0
This prepares for a v6.0.0 version that breaks backwards compatibility with older Python versions and potentially changes various internals.
v4.8.0
Reformat code with black