Skip to content

Latest commit

 

History

History
220 lines (218 loc) · 10.4 KB

CHANGELOG.rst

File metadata and controls

220 lines (218 loc) · 10.4 KB
0.4.6 Current release
  • #139 Add alternative to 'init()', called 'just_fix_windows_console'. This fixes many longstanding problems with 'init', such as working incorrectly on modern Windows terminals, and wonkiness when init gets called multiple times. The intention is that it just makes all Windows terminals treat ANSI the same way as other terminals do. Many thanks the njsmith for fixing our messes.
  • #352 Support Windows 10's ANSI/VT console. This didn't exist when Colorama was created, and avoiding us causing havok there is long overdue. Thanks to segeviner for the initial approach, and to njsmith for getting it merged.
  • #338 Internal overhaul of package metadata declaration, which abolishes our use of the now heavily discouraged setuptools (and hence setup.py, setup.cfg and MANIFEST.in), in favor of hatchling (and hence pyproject.toml), generously contributed by ofek (author of hatchling). This includes dropping support Python3.5 and 3.6, which are EOL, and were already dropped from setuptools, so this should not affect our users.
  • #353 Attention to detail award to LqdBcnAtWork for a spelling fix in demo06
0.4.5
  • Catch a racy ValueError that could occur on exit.
  • Create README-hacking.md, for Colorama contributors.
  • Tweak some README unicode characters that don't render correctly on PyPI.
  • Fix some tests that were failing on some operating systems.
  • Add support for Python 3.9.
  • Add support for PyPy3.
  • Add support for pickling with the dill module.
0.4.4
  • Re-org of README, to put the most insteresting parts near the top.
  • Added Linux makefile targets and Windows powershell scripts to automate bootstrapping a development environment, and automate the process of testing wheels before they are uploaded to PyPI.
  • Use stdlib unittest.mock where available
  • Travis CI now also builds on arm64
  • Demo06 demonstrates existing cursor positioning feature
  • Fix OSC regex & handling to prevent hang or crash
  • Document enterprise support by Tidelift
0.4.3
  • Fix release 0.4.2 which was uploaded with missing files.
0.4.2 BROKEN DO NOT USE
  • #228: Drop support for EOL Python 3.4, and add 3.7 and 3.8. Thanks to hugovk.
  • Several additions and fixes to documentation and metadata.
  • Added Tidelift subscription information.
0.4.1
  • Fix issue #196: prevent exponential number of calls when calling 'init' multiple times. Reported by bbayles and fixed by Delgan.
0.4.0
  • Fix issue #142: reset LIGHT_EX colors with RESET_ALL. Reported by Delgan
  • Fix issue #147: ignore invalid "erase" ANSI codes. Reported by shin-
  • Fix issues #163 and #164: fix stream wrapping under PyCharm. Contributed by veleek and Delgan.
  • Thanks to jdufresne for various code cleanup and updates to documentation and project metadata. (pull requests #171, #172, #173, #174, #176, #177, #189, #190, #192)
  • #186: added contextlib magic methods to ansitowin32.StreamWrapper. Contributed by hoefling.
  • Fix issue #131: don't cache stdio handles, since they might be closed/changed by fd redirection. This fixes an issue with pytest. Contributed by segevfiner.
  • #146, #157: Drop support for EOL Python 2.5, 2.6, 3.1, 3.2 and 3.3, and add 3.6. Thanks to hugovk.
0.3.9
  • Revert fix for issue #103 which causes problems for dependent applications
0.3.8
  • Fix issue #121: "invalid escape sequence" deprecation fixes on Python 3.6+
  • Fix issue #110: fix "set console title" when working with unicode strings
  • Fix issue #103: enable color when using "input" function on Python 3.5+
  • Fix issue #95: enable color when stderr is a tty but stdout is not
0.3.7
  • Fix issue #84: check if stream has 'closed' attribute before testing it
  • Fix issue #74: objects might become None at exit
0.3.6
  • Fix issue #81: fix ValueError when a closed stream was used
0.3.5
  • Bumping version to re-upload a wheel distribution
0.3.4
  • Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux
  • Fix issue #53 - strip readline markers
  • Fix issue #32 - assign orig_stdout and orig_stderr when initialising
  • Fix issue #57 - Fore.RESET did not reset style of LIGHT_EX colors. Fixed by Andy Neff
  • Fix issue #51 - add context manager syntax. Thanks to Matt Olsen.
  • Fix issue #48 - colorama didn't work on Windows when environment variable 'TERM' was set.
  • Fix issue #54 - fix pylint errors in client code.
  • Changes to readme and other improvements by Marc Abramowitz and Zearin
0.3.3
  • Fix Google Code issue #13 - support changing the console title with OSC escape sequence
  • Fix Google Code issue #16 - Add support for Windows xterm emulators
  • Fix Google Code issue #30 - implement 033[nK (clear line)
  • Fix Google Code issue #49 - no need to adjust for scroll when new position is already relative (CSI n ABCD)
  • Fix Google Code issue #55 - erase_data fails on Python 3.x
  • Fix Google Code issue #46 - win32.COORD definition missing
  • Implement 033[0J and 033[1J (clear screen options)
  • Fix default ANSI parameters
  • Fix position after 033[2J (clear screen)
  • Add command shortcuts: colorama.Cursor, colorama.ansi.set_title, colorama.ansi.clear_line, colorama.ansi.clear_screen
  • Fix issue #22 - Importing fails for python3 on Windows
  • Thanks to John Szakmeister for adding support for light colors
  • Thanks to Charles Merriam for adding documentation to demos
0.3.2
  • Thanks to Marc Schlaich (schlamar) for a setup.py fix for Python2.5
  • Thanks to Jurko for fix on 64-bit Windows CPython2.5 w/o ctypes (Google Code issue #56)
  • Thanks to Remi Rampin for: * better github integration, incl rendered README and Travis config. * fixed forward slashes in README
  • Thanks to Florian Bruhin for fix when stdout or stderr are None
  • Thanks to Simeon Visser for: * closing a file handle using 'with' * updating classifiers to include Python 3.3 and 3.4
  • Thanks to Thomas Weininger for fix ValueError on Windows (Google Code issue #50)
0.3.1
  • Fixed crash on exit with closed stdout, with thanks to Marc Abramowitz.
  • Now uses setuptools if available, and falls back to distutils if not.
  • setup.py no longer imports anything from colorama source.
0.3.0
  • Move repository to Git, https://github.com/tartley/colorama. (My Mercurial repo seemed to be corrupted, I couldn't commit nor view patches of old commits, even on fresh checkouts.)
  • Fix always-crash on non-Windows platforms, reported by Matt McCormick.
  • Fix Google Code issue #47, incompatible with pyreadline.
0.2.7
  • Fix problem under 64-bit windows due to ctypes HANDLE size. Submitted by the rather magnificent Ben Hoyt. This fixes Google Code issue #43
0.2.6
  • Add copyright & licensing info to every file, as requested by a large downstream project which has problems making sure that all 3rd party contributions have appropriate license.
0.2.5
  • Several documentation & demo fixes.
0.2.4
  • Fix to work on Windows 7.
  • Python 3 compatibility in docs and demos.
  • Add handling for 'cursor up' and 'get position' ANSI codes.
0.2.3
  • Split changelog out into separate file.
0.2.2
  • Fix bug which caused init() to raise, introduced in 0.2.1.
  • Remove asserts which cause problems in various circumstances. At least some users saw asserts fail on 'success' returned from win32 functions, even though the win32 functions appear to have worked correctly.
0.2.1
  • Completely broken: I added a bug which caused init() to raise.
  • Added some documentation for cursor positioning and clear screen to README.
  • Add 'reinit' and 'deinit' functions, as suggested by Charles FOL and Romanov DA.
0.2
  • Merge in changes from Daniel Griffith: Add ANSI cursor positioning & partial support for clear screen. Patch submitted by Oscar Lester, don't send RESET_ALL to non-tty.
  • Demos split into separate files and moved into their own directory.
  • Tweak sys.path in demos so they run against local source, not installed version of Colorama.
0.1.18
  • Fix README (no such attr as Fore.DEFAULT, etc), kindly reported by nodakai.
0.1.17
  • Prevent printing of garbage ANSI codes upon installing with pip
0.1.16
  • Re-upload to fix previous error. Make clean now removes old MANIFEST.
0.1.15
  • Completely broken. Distribution was empty due to leftover invalid MANIFEST file from building on a different platform.
  • Fix python3 incompatibility kindly reported by Günter Kolousek
0.1.14
  • Fix hard-coded reset to white-on-black colors. Fore.RESET, Back.RESET and Style.RESET_ALL now revert to the colors as they were when init() was called. Some lessons hopefully learned about testing prior to release.
0.1.13
  • Completely broken: barfed when installed using pip.
0.1.12
  • Completely broken: contained no source code. double oops.
0.1.11
  • Completely broken: fatal import errors on Ubuntu. oops.
0.1.10
  • Stop emulating 'bright' text with bright backgrounds.
  • Display 'normal' text using win32 normal foreground instead of bright.
  • Drop support for 'dim' text.
0.1.9
  • Fix incompatibility with Python 2.5 and earlier.
  • Remove setup.py dependency on setuptools, now uses stdlib distutils.
0.1.8
  • Fix ghastly errors all over the place on Ubuntu.
  • Add init kwargs 'convert' and 'strip', which supersede the old 'wrap'.
0.1.7
  • Python 3 compatible.
  • Fix: Now strips ansi on windows without necessarily converting it to win32 calls (eg. if output is not a tty.)
  • Fix: Flaky interaction of interleaved ansi sent to stdout and stderr.
  • Improved demo.sh (hg checkout only.)
0.1.6
  • Fix ansi sequences with no params now default to parmlist of [0].
  • Fix flaky behaviour of autoreset and reset_all atexit.
  • Fix stacking of repeated atexit calls - now just called once.
  • Fix ghastly import problems while running tests.
  • 'demo.py' (hg checkout only) now demonstrates autoreset and reset atexit.
  • Provide colorama.VERSION, used by setup.py.
  • Tests defanged so they no longer actually change terminal color when run.
0.1.5
  • Now works on Ubuntu.
0.1.4
  • Implemented RESET_ALL on application exit
0.1.3
  • Implemented init(wrap=False)
0.1.2
  • Implemented init(autoreset=True)
0.1.1
  • Minor tidy
0.1
  • Works on Windows for foreground color, background color, bright or dim