Releases: borntyping/python-colorlog
Releases · borntyping/python-colorlog
v6.10.1
v6.9.0
What's Changed
- Support python 3.13 in mypy by @passchieri in #135
New Contributors
- @passchieri made their first contribution in #135
Full Changelog: v6.8.2...v6.9.0
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_coloroption tocolorlog.formatter.ColoredFormatter. - Support the
FORCE_COLORenvironment 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.loggingtocolorlog.wrappers. - Import log levels from the
loggingmodule (#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_COLORenvironment variable, and a no_color option (#70). - Updated various examples and documentation (#85).
- Merged
TTYColoredFormatterintoColoredFormatter, and ensure no ANSI codes are printed when colors are disabled. - Replaced
LevelFormatterwith 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.colorlogis nowcolorlog.formatter.colorlog.loggingis nowcolorlog.wrappers.
- Removed
colorlog.escape_codesobject so that thecolorlog.escape_codesmodule can be imported and used. - Import log levels from the
loggingmodule (#111).
v6.3.0a1
- Rename internal modules.
colorlog.colorlogis nowcolorlog.formatter. - Remove
colorlog.escape_codesobject so that thecolorlog.escape_codesmodule 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_COLORenvironment variable, and ano_coloroption (#70). - Updates various examples and documenation (#85).
- Merged
TTYColoredFormatterintoColoredFormatter, and ensure no ANSI codes are printed when colors are disabled. - Replaced
LevelFormatterwith a far simpler implementation. - Fixed
version_infocheck for the Formattervalidateparameter. - Define
formatMessageinstead offormat, so thatColoredRecordis used in fewer places.