Skip to content

Commit 3935774

Browse files
committed
Release 14.0: Enable native Windows ANSI support (#71, #72)
1 parent e1e01d5 commit 3935774

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

CHANGELOG.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,34 @@ to `semantic versioning`_.
1111
.. _Keep a Changelog: http://keepachangelog.com/
1212
.. _semantic versioning: http://semver.org/
1313

14+
`Release 14.0`_ (2020-02-16)
15+
----------------------------
16+
17+
Integrate native Windows 10 support for ANSI escape sequences (`#71`_, `#72`_).
18+
19+
Native support for ANSI escape sequences was added to Windows 10 after its
20+
initial release, specifically in release 10.0.14393. I've now updated
21+
:pypi:`coloredlogs` and :pypi:`humanfriendly` to detect and enable this "new"
22+
native support.
23+
24+
Windows 10 seems to comprise the majority of Windows installations worldwide so
25+
in the interest of "looking forward" I've decided to drop the :pypi:`colorama`
26+
requirement, given that it has now become a minority use case.
27+
28+
Hopefully most existing users will not experience any regression because they
29+
previously installed :pypi:`colorama` already, and when available it will still
30+
be used. However new installations on older Windows systems now require users
31+
to install :pypi:`colorama` separately. This has been documented in the readme
32+
in an attempt to minimize resulting confusion.
33+
34+
PS. In case anyone is wondering: I decided that giving a major Windows support
35+
update in :pypi:`coloredlogs` the version 13.0 was asking for trouble, so I
36+
decided not to do that 😇.
37+
38+
.. _Release 14.0: https://github.com/xolox/python-coloredlogs/compare/12.0...14.0
39+
.. _#71: https://github.com/xolox/python-coloredlogs/issues/71
40+
.. _#72: https://github.com/xolox/python-coloredlogs/pull/72
41+
1442
`Release 12.0`_ (2020-02-16)
1543
----------------------------
1644

coloredlogs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
from humanfriendly.text import format, split
208208

209209
# Semi-standard module versioning.
210-
__version__ = '12.0'
210+
__version__ = '14.0'
211211

212212
DEFAULT_LOG_LEVEL = logging.INFO
213213
"""The default log level for :mod:`coloredlogs` (:data:`logging.INFO`)."""

0 commit comments

Comments
 (0)