Skip to content

Releases: lubosdz/yii2-template-engine

1.1.0

26 Dec 17:47
Compare
Choose a tag to compare
  • 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

29 Dec 09:05
Compare
Choose a tag to compare
  • exclude partially parsed placeholders from expression translator

1.0.8

11 Dec 17:55
Compare
Choose a tag to compare
  • 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

14 Nov 11:22
Compare
Choose a tag to compare

Fix eval error for numeric values starting with zero.

1.0.6

22 Oct 20:32
Compare
Choose a tag to compare
  • support the import command
  • fix converting formatted number to a valid PHP number in directive dir_round

1.0.5

18 Sep 13:44
Compare
Choose a tag to compare
  • configurable argument separator
  • added built-in directives concat, trim
  • resolve deep-tree argument key conflicts
  • added tests, improved documentation, typehints

1.0.4

05 Sep 20:59
Compare
Choose a tag to compare

Support PHP 8.2

1.0.3

04 Aug 10:22
Compare
Choose a tag to compare

Support path aliases for loading HTML markup.

1.0.2

01 Feb 21:55
Compare
Choose a tag to compare

Fix PHP 8.1 compatability.

1.0.1

30 Dec 12:33
Compare
Choose a tag to compare
typo