Releases: SerhiiCho/goodbye-html
Releases · SerhiiCho/goodbye-html
v2.9.5
v2.9.4
v2.9.3
v2.9.2
v2.9.1
v2.9.0
v2.8.0
- Added support for comparison operators like
==
,===
,!==
,!=
,<
,>
,<=
,>=
. Now you can use them like this:{{ if 1 == 1 }}
,{{ if 1 === 1 }}
,{{ if 1 !== 1 }}
,{{ if 1 != 1 }}
,{{ if 1 < 1 }}
,{{ if 1 > 1 }}
,{{ if 1 <= 1 }}
,{{ if 1 >= 1 }}
- Improved error handling for operators
v2.7.0
v2.6.0
- Added
elseif
statements to a BNF grammar - Added
.gitattributes
file to ignore HTML files intests/files
directory - Updated code to level 9 of the PHP Stan static analysis tool
- Fixed a typo in the change log file
- Added variable declaration statement support. Now you can declare variables like this:
{{ $name = 'Anna' }}
. Variable declaration is a statement, and must be surrounded with curly braces - 🐛 Bug fix,
$index
variable was accessible outside of the loop. Now, it will throw an error that variable $index is undefined.
v2.5.0
- Added support for
elseif (<expression>)
andelse if (<expression>)
statements like we have in PHP. You can use them like this:{{ if true }}<h1>True</h1>{{ elseif false }}<h1>False</h1>{{ else }}<h1>Something else</h1>{{ endif }}
- Added PHP Stan static analysis tool
- Added CS Fixer code style fixer
- 🐛 Bug fixes in the
Parser.php
class related to readonly properties being set later in the code - Improved error handling
- Changed tests back to PHPUnit from Pest, because Pest is kinda sucks and doesn't work as I want. It lacks of error descriptive error messages when tests fail. It's hard to debug. So, I decided to go back to PHPUnit
- 🐛 Bug fix of the error that was happening when you condition of the if statement was false
- Installed
CS Fixer
to the project