Skip to content

Releases: rusty-libraries/rusty-termcolor

0.1.62

09 Nov 06:10
Compare
Choose a tag to compare

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

13 Sep 06:29
Compare
Choose a tag to compare

New Features

  1. Rainbow Text Effect

    • Added rainbow_text() function in the effects module
    • Displays text with a cycling rainbow color effect
  2. Progress Spinner

    • Implemented progress_spinner() function in the effects module
    • Provides a customizable spinner for indicating progress
    • Supports multiple spinner styles
  3. Random Aesthetically Pleasing Color Generator

    • Added random_pleasing_color() function in the colors module
    • Generates random colors that are visually appealing
  4. Styled Table Creation

    • Introduced create_table() function in the formatting module
    • Creates formatted tables with borders and optional color styling
  5. 256-Color Support

    • Added to_256_color() method to the Color struct
    • Allows conversion of true color (RGB) to the nearest 256-color code

Improvements

  1. Performance Optimization

    • Enhanced performance of color gradient generation in fade_color() function
  2. Error Handling

    • Improved error handling and input validation across various functions
  3. Documentation

    • Expanded documentation with more examples and use cases
    • Updated README with new features and usage examples
  4. Code Refactoring

    • Reduced code duplication and increased modularity
    • Improved overall code structure and readability
  5. Color Manipulation

    • Enhanced color manipulation capabilities in the colors module

Bug Fixes

  1. Fixed potential panic in center_text() function when terminal width couldn't be determined
  2. Corrected ANSI escape sequences for certain color combinations
  3. Resolved issues with cursor visibility state in some terminal emulators

Other Changes

  1. Updated dependencies to their latest compatible versions
  2. Improved cross-platform compatibility for Windows terminals
  3. 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

21 Sep 13:34
Compare
Choose a tag to compare

rusty-termcolor v0.1.6 Release Notes

  • Code Simplification: Streamlined format!() and print!() 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.
  • 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

10 Aug 11:15
Compare
Choose a tag to compare

Full Changelog: https://github.com/pleaseful/rusty-termcolor/commits/0.1.2

Changelog

The birth date of this library!