Skip to content

v0.5.0

Choose a tag to compare

@razkar-studio razkar-studio released this 15 Mar 05:11
· 142 commits to main since this release

🎉 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::prefix field, optional text prepended before the style's ANSI codes when the style is applied
  • TagType::Prefix(String) variant, carries prefix text through the token pipeline to the renderer
  • set_prefix(), sets the prefix on an existing registry entry, panics if the style is not found
  • prefix!() macro, user-facing API for binding a text prefix to a named style
  • style_to_tags() now emits TagType::Prefix as the first tag when a prefix is present
  • parser::render() now handles TagType::Prefix by appending the text directly to output
  • format default feature, gates logic for style!() and prefix!()

Changed

  • style_to_tags() no longer returns early on reset when a prefix is present, prefix is always emitted first
  • style!() is now gated to the format feature

[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