Colorlog

Latest version: v6.9.0

Safety actively analyzes 688007 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

6.8.2

What's Changed
* Update package links in README by buhtz in https://github.com/borntyping/python-colorlog/pull/131
* Added [docs/CONTRIBUTING.md](https://github.com/borntyping/python-colorlog/blob/main/docs/CONTRIBUTING.md).
* Documented "bright" colours in the README.

New Contributors
* buhtz made their first contribution in https://github.com/borntyping/python-colorlog/pull/131

**Full Changelog**: https://github.com/borntyping/python-colorlog/compare/v6.8.0...v6.8.2

6.8.0

What's Changed
* Remove universal wheel, python 2 is unsupported by gopackgo90 in https://github.com/borntyping/python-colorlog/pull/126
* Fix running tests in environment with NO_COLOR=1 by mgorny in https://github.com/borntyping/python-colorlog/pull/130

New Contributors
* gopackgo90 made their first contribution in https://github.com/borntyping/python-colorlog/pull/126
* mgorny made their first contribution in https://github.com/borntyping/python-colorlog/pull/130

**Full Changelog**: https://github.com/borntyping/python-colorlog/compare/v6.7.0...v6.8.0

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

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](https://github.com/borntyping/python-colorlog/releases/tag/v6.3.0a1).

- Renamed `colorlog.logging` to `colorlog.wrappers`.
- Import log levels from the `logging` module (111).

Changelog

Changes since [v5.0.0](https://github.com/borntyping/python-colorlog/releases/tag/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).

6.3.0a1

- 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.

6.2.0a1

- Drop support for Python 3.5.
- Require Python >= 3.6 in package metadata.
- Cleanup old Python syntax.

Thanks hugovk!

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.