---
title: "termcolor 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each termcolor release removed, renamed or changed: 20 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/termcolor
last_updated: 2026-12-04
---

# termcolor breaking changes

termcolor 3.0.0 (March 31, 2025) is its newest release with breaking changes, 16 of them. The first: Removes literal type annotations in favor of strings in termcolor 3.0.0. Every breaking API change we have recorded in termcolor on PyPI: 20 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.3.0`, released December 29, 2025. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 16 breaking changes in 1 version.

## termcolor 3.0.0 breaking changes

termcolor 3.0.0, released March 31, 2025: 16 breaking changes.

- **Removed**  

Literal types were replaced with plain strings in type annotations. Code relying on the Literal types for type checking may see different results. [github.com](https://github.com/termcolor/termcolor/releases/tag/3.0.0)
- **Removed** `termcolor.termcolor.__ALL__`  

The deprecated \_\_ALL\_\_ name is removed. Use \_\_all\_\_ instead. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Removed** `termcolor.termcolor.Attribute`  

termcolor.termcolor.Attribute was removed in termcolor 3.0.0 [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Removed** `termcolor.termcolor.Color`  

termcolor.termcolor.Color was removed in termcolor 3.0.0 [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Removed** `termcolor.termcolor.Highlight`  

termcolor.termcolor.Highlight was removed in termcolor 3.0.0 [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Configuration changed**  

FORCE_COLOR, NO_COLOR and ANSI_COLORS_DISABLED now only take effect when present and not empty. Check that any of these variables set to an empty string still produce the intended color behavior. [github.com](https://github.com/termcolor/termcolor/releases/tag/3.0.0)
- **Signature changed** `termcolor.ATTRIBUTES`  

Was ATTRIBUTES: dict\[Attribute, int\]; now ATTRIBUTES: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.colored`  

Was def colored(text: object, color: Color | None = None, on_color: Highlight | None = None, attrs: Iterable\[Attribute\] | None = None, \*, no_color: bool | None = None, force_color: bool | None = None) -> str; now def colored(text: object... [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.COLORS`  

Was COLORS: dict\[Color, int\]; now COLORS: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.cprint`  

Was def cprint(text: object, color: Color | None = None, on_color: Highlight | None = None, attrs: Iterable\[Attribute\] | None = None, \*, no_color: bool | None = None, force_color: bool | None = None, \*\*kwargs: Any) -> None; now def... [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.HIGHLIGHTS`  

Was HIGHLIGHTS: dict\[Highlight, int\]; now HIGHLIGHTS: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.termcolor.ATTRIBUTES`  

Was ATTRIBUTES: dict\[Attribute, int\]; now ATTRIBUTES: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.termcolor.colored`  

Was def colored(text: object, color: Color | None = None, on_color: Highlight | None = None, attrs: Iterable\[Attribute\] | None = None, \*, no_color: bool | None = None, force_color: bool | None = None) -> str; now def colored(text: object... [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.termcolor.COLORS`  

Was COLORS: dict\[Color, int\]; now COLORS: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.termcolor.cprint`  

Was def cprint(text: object, color: Color | None = None, on_color: Highlight | None = None, attrs: Iterable\[Attribute\] | None = None, \*, no_color: bool | None = None, force_color: bool | None = None, \*\*kwargs: Any) -> None; now def... [pypi.org](https://pypi.org/project/termcolor/3.0.0/)
- **Signature changed** `termcolor.termcolor.HIGHLIGHTS`  

Was HIGHLIGHTS: dict\[Highlight, int\]; now HIGHLIGHTS: dict\[str, int\]. [pypi.org](https://pypi.org/project/termcolor/3.0.0/)

## termcolor 2.0.0 breaking changes

termcolor 2.0.0, released September 11, 2022: 4 breaking changes.

- **Removed**  

Python 3.6 and older are no longer supported. Stay on termcolor 1.x if you still run those Python versions. [github.com](https://github.com/termcolor/termcolor/releases/tag/2.0.0)
- **Removed** `termcolor.__ALL__`  

termcolor.\_\_ALL\_\_ was removed in termcolor 2.0.0 [pypi.org](https://pypi.org/project/termcolor/2.0.0/)
- **Removed** `termcolor.VERSION`  

The VERSION constant is gone. Read the installed version with importlib.metadata instead. [pypi.org](https://pypi.org/project/termcolor/2.0.0/)
- **Configuration changed**  

When NO_COLOR is set, colored output is disabled, so code relying on color output may see plain text. [github.com](https://github.com/termcolor/termcolor/releases/tag/2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
