Releases: rayanlevert/command-line-interface
Releases · rayanlevert/command-line-interface
v3.0.1
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
- Used
- Added code to escape percentage signs in the title before using it in
v2.2.1
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
- Used
- Added code to escape percentage signs in the title before using it in
v3.0.0
Adding php8.4 as required and all brand new features
- Pull request related : #24
- Milestone related : https://github.com/rayanlevert/command-line-interface/milestone/2
For php8.1, 8.2 and 8.3 users, version 2.x is still maintained, please keep using this version.
v2.3.0
Modified
- Extension
mbstring
is not needed anymore - Functions
substr
andstrpos
are called if the extension is not installed, else theirmb_
versions are used
v2.2.0
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
v2.0.0
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