All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.2.1 - 2025-12-19
- Optimized
Entry.plainTextconcatenation for better performance. (#86)
4.2.0 - 2025-07-26
- High-performance
StyledStringBuilderAPI 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)
- 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 - 2025-01-08
- Support
FORCE_COLORenvironment to enable color in a nested env. (#76)
- Environment value checking requires non-zero and non-empty value to represent "set" status. (#76)
- Modernize the project to follow the Xcode settings in current days. (#76)
4.0.1 - 2021-09-29
- Every segment resets its style to prevent unexpected spreading. (#62)
4.0.0 - 2021-03-09
- ANSI 256-color support. Use
.bit8or.onBit8to apply a 256-color to a string. (#49) - Hex colors approximation support. Use
.hexor.onHexto 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 versa. (#54)
- 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. (#47)
3.2.0 - 2020-10-05
- Support for compiling and using on Windows. (#40)
3.0.0 - 2017-11-26
- Swift 4 support. (#17)
2.1.0 - 2017-08-03
- Expose
Rainbow.extractModesas public. (#16)
2.0.1 - 2016-09-30
- Support for Linux. (#9)
2.0.0 - 2016-09-25
- Swift 3 compatibility. (#5)
1.1.0 - 2016-03-24
- Support for Swift 2.2. (#2)