Skip to content

Releases: onevcat/Rainbow

4.2.0

26 Jul 07:27

Choose a tag to compare

Added

  • High-performance StyledStringBuilder API for efficient string chaining (#78)
  • HSL (Hue, Saturation, Lightness) color support with RGB conversion (#80)
  • Strikethrough style support with ANSI escape sequences (#82)
  • Conditional styling feature allowing styles based on conditions (#81)
  • Batch operations API for better performance when applying multiple styles (#78)
  • Comprehensive performance testing framework (#78)
  • Performance optimization guide documentation (#78)

Fixed

  • Memory efficiency improvements in StringGenerator (#78)
  • Performance optimizations for chained style operations (#78)
  • Improved test coverage with comprehensive edge case tests (#79)

4.1.0

08 Jan 07:12

Choose a tag to compare

Added

  • Support FORCE_COLOR environment to enable color in a nested env. #76

Fixed

  • Now the environment value checking requires non-zero and non-empty value to represent "set" status.
  • Modernize the project to follow the Xcode settings in current days.

4.0.1

29 Sep 13:30

Choose a tag to compare

Fixed

  • Now every segment would reset its style to prevent it spreading unexpected. #62

4.0.0

09 Mar 16:09

Choose a tag to compare

Added

  • ANSI 256-color support. Use .bit8 or .onBit8 to apply a 256-color to a string. #49
  • Hex colors approximation support. Use .hex or .onHex to apply an 8-bit color as the Hex color approximated to a string. #56
  • Add support for colorizing nested strings. #51
  • Add the light version of background named colors. #50
  • Add the strikethrough style. #55
  • Support color conversion between text color and its corresponding background color. Vice verse. #54

Remove

  • The Xcode Color console output target is removed. It does not make sense anymore unless there is a new way to log color strings to the Xcode console.

3.2.0

05 Oct 14:00

Choose a tag to compare

Added

  • Support for compiling and using on Windows. #40

3.0.0

26 Nov 11:56

Choose a tag to compare

Swift 4 support.

2.1.0

03 Aug 03:26

Choose a tag to compare

Expose Rainbow. extractModes as public.

2.0.1

30 Sep 11:05

Choose a tag to compare

Support for Linux.

2.0.0

25 Sep 13:33

Choose a tag to compare

Swift 3 compatibility.

1.1.0

24 Mar 02:11

Choose a tag to compare

Support for Swift 2.2