unstale

pypi / termcolor

termcolor

What changed in termcolor 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

4 breaking2 new APIs and options2 behavior and defaults1 tooling8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

termcolor 311 changes

Breaking changes 2

New APIs and options 1

Behavior and default changes 2

  • Exposed can_colorize as a public API.

    3.2.0release notes

  • Literal types are replaced with strings, changing the package's type annotations.

    3.0.0release notes

Fixes and other changes 6

  • Expect fileno() to raise OSError, as documented.

    3.3.0release notes

  • Added support for Python 3.15.

    3.2.0release notes

  • The variable is applied only when present and not an empty string.

    3.0.0release notes

  • The variable is applied only when present and not an empty string.

    3.0.0release notes

  • The variable is applied only when present and not an empty string.

    3.0.0release notes

  • Adds support for Python 3.14.

    3.0.0release notes

termcolor 26 changes

Breaking changes 2

  • Support for EOL Python versions 3.6 and earlier was dropped.

    2.0.0release notes

  • The hardcoded VERSION constant was removed; release notes show how to retrieve the installed package version with importlib.metadata.

    2.0.0release notes

New APIs and options 1

  • The library supports the NO_COLOR environment variable.

    2.0.0release notes

Tooling 1

Fixes and other changes 2