Releases: MaestroError/html-strings-affixer
HSA - Fixes and the "-report" option
Version 1.2.2
We're excited to announce the release of HSA Version 1.2.2, which includes several new features, improvements, and bug fixes.
🎉 New Features
-
--report
Option for Detailed JSON Report incheck
Command:
Run thecheck
command with the--report
option to generate a detailed JSON report of your code. -
Additional Default Ignore Characters:
Added@
and{{--
to the default list of characters to ignore.
Example of reported JSON file:
{
"count": 9,
"run_date": "2023-09-21_00-34",
"warnings": [
" 'Testing not found {} () string' - test.blade.php:19",
" '% Percent %' - test.blade.php:20",
" 'Testing 'single' quotes' - test.blade.php:21",
" 'Testing single 'quotes'' - test.blade.php:22",
" 'Veelgestelde vragen over {{$serviceName}}' - test.blade.php:80",
" '{{$serviceName}}' - test.blade.php:84, 90",
" 'Some text with 'quotes'' - test.blade.php:23",
"Couldn't affix: 'placeholder' in placeholder attribute not allowed - test.blade.php:39",
" 'John with 'single'' - test.blade.php:25"
]
}
🐛 Bug Fixes
- Index Out of Range Error:
Fixed an issue causing an "index out of range [-1]" error in specific situations.
🛠 Improvements
- Automated Build Executables:
Executables are now automatically built through GitHub Actions, streamlining the release process. It includes the latest versions of the most popular platforms: Ubuntu, MacOS and Windows.
⬇️ How to Update
You can download the latest version from here or update using your package manager.
Thank you for using HSA, and we appreciate your continued support and feedback!
Path fix for hsawin
1.2.1 hsawin path fix
MacOS support
Added support for MacOS with new executables for amd64 and arm64 architectures and updated documentation. At the end of the day, we have 4 executables for different platforms. Docs already have updated info about it, but you can check them out here as well:
- Linux:
./vendor/bin/hsa
- Windows:
./vendor/bin/hsawin
- MacOS:
./vendor/bin/hsamac
- MacOS arm64 (m1):
./vendor/bin/hsamacm1
1.1.0
- Some configs has no more default value, so they are required and marked with "*" in docs
- Fixed bug of using HSA outside of git repo, now you can use it anywhere
- Added success message feature to reporter
- Added printing warnings as table feature and made it controllable from config file (warn_as_Table: false/true)
1.0.0
- Updated documentation
- Added example config file (bin/ folder)
- Developed warning characters feature
- Updated regex and added new extraction methods for "text" type
- Added warnings count in check command
Win without adapter
0.0.7 Whsa.exe try without adapter
Linux bin created from ubuntu
0.0.6 Updated adapter, bin from ubuntu and composer.json
Updated windows adapter
0.0.5 Updated adapter
Composer windows support
Added bin/hsa.exe to use with php "exec"
Composer adapter
Created adapter (#!/usr/bin/env php) to execute binary file with php in composer