Skip to content

Releases: rayanlevert/command-line-interface

v3.0.1

04 Apr 05:05
Compare
Choose a tag to compare

I've added functionality to properly handle percentage signs in the ProgressBar class's property title.

This enhancement ensures that when a title contains percentage signs, they are correctly escaped to prevent issues with the sprintf function.

Modified

  • #26 : Modified the advance() method in ProgressBar.php:
    • Added code to escape percentage signs in the title before using it in sprintf
      • Used str_replace('%', '%%', $this->title) to double all percentage signs

v2.2.1

04 Apr 05:18
78dd2ab
Compare
Choose a tag to compare

I've added functionality to properly handle percentage signs in the ProgressBar class's property title.

This enhancement ensures that when a title contains percentage signs, they are correctly escaped to prevent issues with the sprintf function.

Modified

  • #26 : Modified the advance() method in ProgressBar.php:
    • Added code to escape percentage signs in the title before using it in sprintf
      • Used str_replace('%', '%%', $this->title) to double all percentage signs

v3.0.0

01 Jan 19:57
Compare
Choose a tag to compare

Adding php8.4 as required and all brand new features

For php8.1, 8.2 and 8.3 users, version 2.x is still maintained, please keep using this version.

v2.3.0

27 Sep 04:39
Compare
Choose a tag to compare

Modified

  • Extension mbstring is not needed anymore
  • Functions substr and strpos are called if the extension is not installed, else their mb_ versions are used

v2.2.0

17 Aug 05:59
Compare
Choose a tag to compare

Added

  • Arguments\Option : Enumeration to describe all defined options for an argument
  • Support for PHP8.4

Modified

  • Missing some use function;
  • Docker : only PHP8.3 version in the repository

v2.1.0

19 Apr 15:05
Compare
Choose a tag to compare

Modified

  • #11 Progress bar now formats different time of the progression (ms, seconds, minutes and hours)
  • #12 Progress bar now rounds percentage to 2 digits after decimal
  • #13 and #15 : better coding

v2.0.0

05 Dec 08:57
Compare
Choose a tag to compare

Migrating the project from private organization repository !

Added

  • GitHub actions validation static analysis, coding guidelines and unit testing

Modified

  • Translating all code from French to English