Releases: rusty-libraries/rusty-termcolor
Releases · rusty-libraries/rusty-termcolor
0.1.62
Full Changelog: 0.1.6...0.1.62
rusty-termcolor v0.1.62 Release Notes
Feature Addition: Introduced slide_in effect that smoothly animates text appearing from the left side of the terminal.
Implementation Details:
- Utilizes space-based progressive reveal for maximum terminal compatibility
- Integrates with existing EffectSettings for consistent configuration
- Supports optional color formatting using the Color type
0.1.5
New Features
-
Rainbow Text Effect
- Added
rainbow_text()
function in theeffects
module - Displays text with a cycling rainbow color effect
- Added
-
Progress Spinner
- Implemented
progress_spinner()
function in theeffects
module - Provides a customizable spinner for indicating progress
- Supports multiple spinner styles
- Implemented
-
Random Aesthetically Pleasing Color Generator
- Added
random_pleasing_color()
function in thecolors
module - Generates random colors that are visually appealing
- Added
-
Styled Table Creation
- Introduced
create_table()
function in theformatting
module - Creates formatted tables with borders and optional color styling
- Introduced
-
256-Color Support
- Added
to_256_color()
method to theColor
struct - Allows conversion of true color (RGB) to the nearest 256-color code
- Added
Improvements
-
Performance Optimization
- Enhanced performance of color gradient generation in
fade_color()
function
- Enhanced performance of color gradient generation in
-
Error Handling
- Improved error handling and input validation across various functions
-
Documentation
- Expanded documentation with more examples and use cases
- Updated README with new features and usage examples
-
Code Refactoring
- Reduced code duplication and increased modularity
- Improved overall code structure and readability
-
Color Manipulation
- Enhanced color manipulation capabilities in the
colors
module
- Enhanced color manipulation capabilities in the
Bug Fixes
- Fixed potential panic in
center_text()
function when terminal width couldn't be determined - Corrected ANSI escape sequences for certain color combinations
- Resolved issues with cursor visibility state in some terminal emulators
Other Changes
- Updated dependencies to their latest compatible versions
- Improved cross-platform compatibility for Windows terminals
- Added more unit tests to ensure reliability of new features
Breaking Changes
None. This update is fully backwards-compatible with version 0.1.2.
0.1.6
rusty-termcolor v0.1.6 Release Notes
- Code Simplification: Streamlined
format!()
andprint!()
calls by simplifying format specifiers for cleaner and more readable code. - Helper Implementations: Added several helper functions to enhance functionality and ease of use.
- Documentation Enhancements: Improved docstrings by adding hyperlinks to related components, providing better navigation and clarity.
- Performance Optimizations:
- Switched to using string slices instead of heap-allocated
String
instances to reduce memory overhead. - Optimized the use of iterators and type inference in
.collect()
for more efficient data processing.
- Switched to using string slices instead of heap-allocated
- Formatter Configuration: Introduced
rustfmt.toml
to standardize code formatting across the project. - Dependency Management:
- Removed explicit minor versions from dependencies to allow for greater flexibility and easier updates.
- Excluded the
docs
directory from certain processes to streamline the build and deployment workflow.
- Additional Features: Added conversion implementations for the
Color
type, expanding the library's functionality.
0.1.2
Full Changelog: https://github.com/pleaseful/rusty-termcolor/commits/0.1.2
Changelog
The birth date of this library!