Releases: samedit66/coloredstrings
Releases · samedit66/coloredstrings
Release list
v3.3.0
3.2.0
- 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
- Introduced a new
visiblestyle modifier - show text only when a color mode is active .rgb(...)now handles hex color codes internally (so explicithex(...)support is deprecated) and named colors too--no-colorand--colorCLI arguments are supported now
3.0.0
Highlights
- Added support for
FORCE_COLOR,CLICOLORandCLICOLOR_FORCE. - Exported
strip_ansiutility. - Improved
COLORTERMdetection (truecolor / 24bit / ansi256 / ansi). StyleBuilder: addedresetandvisible.str-patching removed. If you relied on monkey-patchingstr, 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
COLORTERMand other heuristics. - Explicit environment variable support:
FORCE_COLOR,NO_COLOR,CLICOLOR_FORCE,CLICOLOR.
v2.1.0
v2.0.2
v2.0.1
v2.0.0
v1.3.0
Change internal implementation of colorizing
Full Changelog: v1.2.0...v1.3.0