Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: samedit66/coloredstrings

v3.3.0

14 Dec 18:08

Choose a tag to compare

  • link() style to support hyperlinks definitions
  • ColoredFormatter for colorful logs

3.2.0

11 Oct 19:49

Choose a tag to compare

  • Treat undefined method names as named or hex colors (so unknown methods now resolve to color)
  • Support importing colors / styles directly from the module
  • Add extend(...) to define custom named styles
  • Add deprecation warning for explicit hex(...) use

3.1.0

08 Oct 22:08

Choose a tag to compare

  • Introduced a new visible style modifier - show text only when a color mode is active
  • .rgb(...) now handles hex color codes internally (so explicit hex(...) support is deprecated) and named colors too
  • --no-color and --color CLI arguments are supported now

3.0.0

07 Oct 23:16

Choose a tag to compare

Highlights

  • Added support for FORCE_COLOR, CLICOLOR and CLICOLOR_FORCE.
  • Exported strip_ansi utility.
  • Improved COLORTERM detection (truecolor / 24bit / ansi256 / ansi).
  • StyleBuilder: added reset and visible.
  • str-patching removed. If you relied on monkey-patching str, switch to the public API (style(...), style.color_mode(...), etc.).
  • Minor tests/tooling and README fixes.

Features

  • strip_ansi — remove ANSI escape sequences from text.
  • Better auto-detection for color depth via COLORTERM and other heuristics.
  • Explicit environment variable support: FORCE_COLOR, NO_COLOR, CLICOLOR_FORCE, CLICOLOR.

v2.1.0

04 Oct 17:49

Choose a tag to compare

Cleaned up docs, added examples and images, and fixed a bug with NO_COLOR environment variable support - it now works correctly regardless of the value; only the presence of the variable matters.

v2.0.2

02 Oct 23:35

Choose a tag to compare

Fix docs issue

v2.0.1

02 Oct 23:22

Choose a tag to compare

Fix issue with ColorMode.NO_COLOR support

v2.0.0

02 Oct 22:33

Choose a tag to compare

Chainable API, some new styles, making forbiddenfruit optional dependency

v1.3.0

16 Sep 20:35

Choose a tag to compare

Change internal implementation of colorizing

Full Changelog: v1.2.0...v1.3.0

v1.2.0

09 Sep 19:40

Choose a tag to compare

Clear docs, add missing rapid blink style