Releases: lubosdz/yii2-template-engine
Releases · lubosdz/yii2-template-engine
1.1.0
- improved build-in directive
replace
- fix the IF condition expression containing double quotes
- added tests, now passing PHP 7.0 - 8.4
1.0.9
- exclude partially parsed placeholders from expression translator
1.0.8
- refactored ELSEFOR behaviour - the condition will apply if no items to loop through
- improved parsing REGEX expressions for more precise match
- translation of placeholder keys now uses REGEX boundary
\b
to avoid naming conflicts
- added build-in directive
replace
e.g. " {{ name | replace(WHAT, REPLACE) }} "
- support for atomic booleans in
IF
condition eg. {{ if cars }} ... {{ endif }}
- added test + improved documentation
1.0.7
Fix eval error for numeric values starting with zero.
1.0.6
- support the
import
command
- fix converting formatted number to a valid PHP number in directive
dir_round
1.0.5
- configurable argument separator
- added built-in directives concat, trim
- resolve deep-tree argument key conflicts
- added tests, improved documentation, typehints
1.0.3
Support path aliases for loading HTML markup.
1.0.2
Fix PHP 8.1 compatability.