Repository navigation
v0.5.0
🎉 0.5.0: Halfway There!
All notable changes to Farben will be documented here.
[0.5.0] - 2026-03-15
Global Farben update due to changes to farben-core.
Added
- Added bugs
Style::prefixfield, optional text prepended before the style's ANSI codes when the style is appliedTagType::Prefix(String)variant, carries prefix text through the token pipeline to the rendererset_prefix(), sets the prefix on an existing registry entry, panics if the style is not foundprefix!()macro, user-facing API for binding a text prefix to a named stylestyle_to_tags()now emitsTagType::Prefixas the first tag when a prefix is presentparser::render()now handlesTagType::Prefixby appending the text directly to outputformatdefault feature, gates logic forstyle!()andprefix!()
Changed
style_to_tags()no longer returns early onresetwhen a prefix is present, prefix is always emitted firststyle!()is now gated to theformatfeature
[0.4.1] - 2026-03-15 - farben-core
Fixed
- Bug where
prefix!()interferes with actual color styling
[0.2.4] - 2026-03-15 - farben-macros
Added
- Minor dependency update to
farben-core
[0.2.3] - 2026-03-15 - farben-macros
Added
- Minor dependency update to
farben-core