Pastel v0.6.0 Release Notes
Release Date: 2016-01-15 // over 8 years ago-
➕ Added
- ➕ Add helper functions #foreground?, #background?, #style to ANSI module
- ➕ Add ColorParser for parsing color symbols out of text
- ➕ Add Pastel#undecorate for parsing color names out of strings
🔄 Changed
- 🔄 Change to use tty-color for color capabilities detection
- 🔄 Change to move enabled option to Pastel#new
- 👌 Improve performance of Color#lookup
- 🐎 Change Color#decorate performance to be 6x faster!
- 🔄 Change Color DSL styling to be 3x faster!
🛠 Fixed
- 🛠 Fix #strip to only remove color sequences
- 🛠 Fix #decorate to pass through original text when decorating without colors
- 🛠 Fix #decorate to work correctly with nested background colors